Function at 0x46fcc0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xbc
xor ecx, ecx
push ebx
or eax, 0xffffffff
push ebp
push esi
push edi
mov edi, dword [esp + 0xd0]
xor edx, edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xa4], 0x1fffffff
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov esi, 4
add edi, 0x10
mov ebx, dword [edi]
xor eax, eax
test si, si
setg al
lea eax, [eax + eax + 0x1e]
test ax, ax
jle 0x46fdbc
movzx eax, ax
mov dword [esp + 0x10], eax
lea esp, [esp]
test bl, 1
je 0x46fdae
movsx eax, dx
movsx ecx, word [eax*2 + 0x517b80]
mov ebp, dword [eax*4 + 0x517408]
or dword [esp + ecx*4 + 0x2c], ebp
lea ecx, [esp + ecx*4 + 0x2c]
movsx ecx, word [eax*2 + 0x517cbc]
mov ebp, dword [esp + ecx*4 + 0x2c]
mov eax, dword [eax*4 + 0x517680]
lea ecx, [esp + ecx*4 + 0x2c]
or ebp, eax
mov dword [ecx], ebp
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
inc edx
shr ebx, 1
dec eax
mov dword [esp + 0x10], eax
jne 0x46fd70
dec esi
sub edi, 4
test si, si
jge 0x46fd52
xor eax, eax
xor edx, edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov edi, 9
mov dword [esp + 0x78], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edx
jmp 0x46fe60
mov ecx, dword [esp + 0x50]
jmp 0x46fe60
and ecx, 0xff
movzx ax, byte [ecx + 0x517e00]
mov ecx, dword [esp + 0x24]
movsx esi, ax
mov ebx, 0x20
mov dword [esp + 0x10], 0xa
add ecx, eax
mov dword [esp + 0x24], ecx
xor ecx, ecx
sub ebx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x2c]
jmp 0x46fea0
mov ebx, dword [esp + 0x20]
mov edi, edi
mov edx, dword [eax]
movsx ebp, cx
mov ecx, ebx
shl ebp, cl
mov ebx, edx
mov ecx, esi
shr ebx, cl
mov ecx, edx
mov edx, dword [esp + 0x10]
add eax, 4
or ebp, ebx
mov dword [eax - 4], ebp
dec edx
mov dword [esp + 0x10], edx
jne 0x46fe9a
cmp word [esp + 0x18], 8
jne 0x46fed7
test byte [esp + 0x50], 1
je 0x46fe4f
xor eax, eax
lea esp, [esp]
movsx ecx, ax
mov edx, dword [esp + ecx*4 + 0x2c]
test edx, edx
jne 0x46fef4
inc eax
cmp ax, 9
jb 0x46fee0
jmp 0x46fefa
cmp ax, 9
jb 0x46ff05
cmp dword [esp + 0x50], 1
je 0x470356
mov ecx, dword [esp + 0x14]
movsx eax, cx
shl eax, 2
mov edx, dword [esp + eax + 0x2c]
test edx, edx
jne 0x46ff3e
jmp 0x46ff20
mov edx, dword [esp + eax + 0xa4]
test edx, edx
jne 0x46ff3a
inc ecx
movsx eax, cx
shl eax, 2
mov edx, dword [esp + eax + 0x2c]
test edx, edx
je 0x46ff20
mov dword [esp + 0x14], ecx
movsx edx, cx
shl edx, 2
mov eax, dword [esp + edx + 0x2c]
cmp eax, dword [esp + edx + 0xa4]
mov dword [esp + 0x28], edx
jb 0x47014a
mov ecx, dword [esp + 0x14]
cmp cx, 9
ja 0x46ff87
mov esi, 0xa
sub esi, ecx
mov eax, edx
movzx ecx, si
nop
mov ebp, dword [esp + eax + 0x2c]
mov esi, dword [esp + eax + 0xa4]
xor ebp, esi
mov dword [esp + eax + 0x2c], ebp
add eax, 4
dec ecx
jne 0x46ff70
cmp di, 9
ja 0x46ffc0
movsx eax, di
mov ecx, 0xa
shl eax, 2
sub ecx, edi
movzx ecx, cx
lea ecx, [ecx]
mov ebp, dword [esp + eax + 0x54]
mov esi, dword [esp + eax + 0x7c]
xor ebp, esi
mov dword [esp + eax + 0x54], ebp
add eax, 4
dec ecx
jne 0x46ffa0
jmp 0x46ffc0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
and eax, 0xff
movzx bp, byte [eax + 0x517e00]
xor ebx, ebx
add ecx, ebp
cmp di, 9
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ecx
jg 0x470051
movsx eax, bp
mov ecx, 0x20
sub ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, 0xa
sub ecx, edi
movzx eax, cx
mov esi, 9
lea edx, [esp + 0xa0]
mov dword [esp + 0x10], eax
sub esi, eax
mov eax, dword [edx]
mov ecx, eax
mov dword [esp + 0x1c], ecx
movsx ecx, bp
mov ebp, eax
shl ebp, cl
movsx ecx, bx
or ebp, ecx
mov ecx, dword [esp + 0x20]
shr eax, cl
mov dword [edx], ebp
mov ebp, dword [esp + 0x18]
sub edx, 4
mov ebx, eax
dec dword [esp + 0x10]
jne 0x470011
test bx, bx
je 0x47004d
movsx edx, bx
movsx eax, si
mov edi, esi
mov dword [esp + eax*4 + 0x7c], edx
mov edx, dword [esp + 0x28]
xor ebx, ebx
cmp word [esp + 0x14], 9
ja 0x4700ac
mov esi, dword [esp + 0x14]
movsx eax, bp
mov ecx, 0x20
sub ecx, eax
lea eax, [esp + edx + 0x2c]
mov edx, 0xa
sub edx, esi
movzx edx, dx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
jmp 0x470085
mov ecx, dword [esp + 0x20]
mov esi, dword [eax]
movsx edx, bx
shl edx, cl
movsx ecx, bp
mov ebx, esi
shr ebx, cl
mov ecx, dword [esp + 0x10]
add eax, 4
or edx, ebx
mov dword [eax - 4], edx
dec ecx
mov ebx, esi
mov dword [esp + 0x10], ecx
jne 0x470081
mov edx, dword [esp + 0x28]
cmp bp, 8
jne 0x4700bd
test byte [esp + 0x50], 1
je 0x46ffc0
mov eax, dword [esp + 0x14]
cmp ax, 9
mov dword [esp + 0x1c], edi
jae 0x4700ee
jmp 0x4700d0
movsx ecx, ax
mov esi, dword [esp + ecx*4 + 0x2c]
test esi, esi
jne 0x4700e4
inc eax
cmp ax, 9
jb 0x4700d0
jmp 0x4700ee
cmp ax, 9
jb 0x46ff05
cmp dword [esp + 0x50], 1
jne 0x46ff05
test ax, ax
jg 0x470356
mov eax, dword [esp + edx + 0xa4]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x47012f
mov ecx, dword [esp + edx + 0x2c]
test ecx, ecx
jne 0x47012b
inc eax
movsx edx, ax
shl edx, 2
mov ecx, dword [esp + edx + 0xa4]
test ecx, ecx
je 0x470111
mov dword [esp + 0x14], eax
movsx edx, ax
shl edx, 2
mov eax, dword [esp + edx + 0xa4]
cmp eax, dword [esp + edx + 0x2c]
mov dword [esp + 0x28], edx
jb 0x46ff59
mov ecx, dword [esp + 0x14]
cmp cx, 9
ja 0x47017a
mov esi, 0xa
sub esi, ecx
mov eax, edx
movzx ecx, si
mov ebp, dword [esp + eax + 0xa4]
mov esi, dword [esp + eax + 0x2c]
xor ebp, esi
mov dword [esp + eax + 0xa4], ebp
add eax, 4
dec ecx
jne 0x470160
cmp di, 9
ja 0x4701a4
movsx eax, di
mov ecx, 0xa
shl eax, 2
sub ecx, edi
movzx ecx, cx
mov ebp, dword [esp + eax + 0x7c]
mov esi, dword [esp + eax + 0x54]
xor ebp, esi
mov dword [esp + eax + 0x7c], ebp
add eax, 4
dec ecx
jne 0x470190
mov ecx, dword [esp + 0xc8]
jmp 0x4701b0
mov esi, dword [esp + 0x24]
and ecx, 0xff
movzx ax, byte [ecx + 0x517e00]
add esi, eax
mov dword [esp + 0x24], esi
xor esi, esi
cmp di, 9
mov dword [esp + 0x18], eax
jg 0x470244
movsx ebp, ax
mov eax, 0x20
sub eax, ebp
mov dword [esp + 0x20], eax
mov eax, 0xa
sub eax, edi
movzx edi, ax
mov eax, 9
sub eax, edi
lea edx, [esp + 0x78]
mov dword [esp + 0x10], eax
jmp 0x470200
mov eax, dword [edx]
mov ebx, eax
mov ecx, ebp
shl ebx, cl
movsx ecx, si
or ebx, ecx
mov ecx, dword [esp + 0x20]
shr eax, cl
mov dword [edx], ebx
sub edx, 4
dec edi
mov esi, eax
jne 0x470200
test si, si
je 0x470238
mov eax, dword [esp + 0x10]
mov edi, eax
movsx edx, si
movsx eax, ax
mov dword [esp + 0x1c], edi
mov dword [esp + eax*4 + 0x54], edx
jmp 0x47023c
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp word [esp + 0x14], 9
ja 0x4702a1
mov ebx, dword [esp + 0x14]
movsx esi, ax
lea eax, [esp + edx + 0xa4]
mov edi, 0x20
mov edx, 0xa
sub edi, esi
sub edx, ebx
movzx edx, dx
mov dword [esp + 0x10], edx
mov edx, dword [eax]
movsx ebx, cx
mov ecx, edi
shl ebx, cl
mov ebp, edx
mov ecx, esi
shr ebp, cl
mov ecx, edx
mov edx, dword [esp + 0x10]
add eax, 4
or ebx, ebp
mov dword [eax - 4], ebx
dec edx
mov dword [esp + 0x10], edx
jne 0x470271
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
cmp ax, 8
mov ecx, dword [esp + 0xc8]
jne 0x4702b7
test cl, 1
je 0x4701b0
mov eax, dword [esp + 0x14]
cmp ax, 9
jae 0x4702e2
movsx esi, ax
mov ebx, dword [esp + esi*4 + 0xa4]
test ebx, ebx
jne 0x4702d8
inc eax
cmp ax, 9
jb 0x4702c1
jmp 0x4702e2
cmp ax, 9
jb 0x470102
cmp ecx, 1
jne 0x470102
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
movsx eax, word [esp + 0x24]
lea ecx, [esp + 0x54]
push ecx
cdq
mov ecx, 0x13d
idiv ecx
mov eax, ecx
lea ecx, [esp + 0x58]
sub eax, edx
push eax
push ecx
call fcn.0046fb00
mov al, byte [esp + 0x84]
mov ebp, dword [esp + 0xe0]
add esp, 0xc
test al, 1
je 0x470397
push ebp
call fcn.00473120
add esp, 4
jmp 0x4703a9
xor edx, edx
mov eax, ebp
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [esp + 0x10], 0
mov ecx, 4
add ebp, 0x10
lea esp, [esp]
xor edx, edx
xor esi, esi
test cx, cx
setle dl
mov eax, 1
dec edx
and edx, 0xc0000000
add edx, 0x3fffffff
mov edi, edx
mov edi, edi
movsx edx, word [esp + 0x10]
movsx ebx, word [edx*2 + 0x517b80]
mov ebx, dword [esp + ebx*4 + 0x54]
test dword [edx*4 + 0x517408], ebx
je 0x4703fc
xor esi, eax
mov edx, dword [esp + 0x10]
inc edx
shl eax, 1
test eax, edi
mov dword [esp + 0x10], edx
jne 0x4703e0
xor dword [ebp], esi
dec ecx
sub ebp, 4
test cx, cx
jge 0x4703c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret