Function at 0x46cd80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1cc
mov eax, dword [0x5fd0b0]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
xor ecx, ecx
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x1e8]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0xb0], ecx
mov ebx, dword [esp + 0x1ec]
mov dword [esp + 0x7c], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x80], eax
mov esi, dword [esp + 0x1e4]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x12
mov esi, 0x5d3218
lea edi, [esp + 0x15c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1a4]
push ecx
push edx
mov dword [esp + 0x98], eax
call fcn.0046b970
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x14c]
add esp, 8
cmp ecx, 0xa0
mov ebp, eax
ja 0x46cee9
mov eax, 0xa1
sub eax, ecx
mov ecx, eax
shr ecx, 3
xor edx, edx
test ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jbe 0x46cec7
mov edx, ecx
shr ecx, 2
xor eax, eax
lea edi, [esp + 0x1a4]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x24]
and eax, 7
mov ecx, 8
sub ecx, eax
mov al, 1
shl al, cl
mov cl, byte [esp + edx + 0x1a4]
lea edi, [esp + edx + 0x1a4]
dec al
and cl, al
mov byte [edi], cl
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x1a8]
push edx
push 0x14
call fcn.0046d090
add esp, 0xc
or ebp, eax
jmp 0x46cf10
mov esi, dword [esp + 0x14]
jmp 0x46cf10
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x110]
push ecx
push esi
call fcn.00470de0
lea edx, [esp + 0x1c4]
push edx
or ebp, eax
push 0x20
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00470d60
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x1d8]
push edx
push 0x20
or ebp, eax
call fcn.0046d090
or ebp, eax
mov ecx, 0xa
add esi, 0x150
lea edi, [esp + 0xe4]
push ebx
lea eax, [esp + 0xe8]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.0046e6b0
lea edx, [esp + 0x44]
push edx
or ebp, eax
lea eax, [esp + 0x194]
push ebx
push eax
call fcn.0046e910
or ebp, eax
mov eax, dword [esp + 0x58]
add esp, 0x40
inc eax
cmp eax, 3
mov dword [esp + 0x18], eax
jg 0x46d07f
cmp dword [esp + 0x10], 1
je 0x46cf07
lea esi, [ebx + 0x28]
push esi
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0xec]
push edx
push ebx
call fcn.00470d10
or ebp, eax
push esi
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0xac]
push esi
push ecx
call fcn.00470cc0
lea edx, [esp + 0x30]
push edx
or ebp, eax
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0x138]
push edx
call fcn.0046f5c0
or ebp, eax
mov eax, dword [esp + 0x40]
add esp, 0x30
test eax, eax
je 0x46d07f
push esi
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x13c]
push esi
push ecx
call fcn.00470d10
lea edx, [esp + 0x20]
push edx
or ebp, eax
lea eax, [esp + 0x170]
push esi
push eax
call fcn.0046e910
or ebp, eax
mov eax, dword [esp + 0x38]
add esp, 0x1c
inc eax
cmp eax, 3
mov dword [esp + 0x1c], eax
jg 0x46d07f
cmp dword [esp + 0x10], 1
je 0x46cf07
mov eax, ebp
mov ecx, dword [esp + 0x1d8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047209e
add esp, 0x1cc
ret
mov eax, 1
jmp 0x46d066