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

Disassembly:
sub esp, 0x1cc
mov eax, dword [0x541514]
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, 0x521570
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.0046d150
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x14c]
add esp, 8
cmp ecx, 0xa0
mov ebp, eax
ja 0x46da89
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 0x46da67
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.0046b4d0
add esp, 0xc
or ebp, eax
jmp 0x46dab0
mov esi, dword [esp + 0x14]
jmp 0x46dab0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x110]
push ecx
push esi
call fcn.00471da0
lea edx, [esp + 0x1c4]
push edx
or ebp, eax
push 0x20
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.0046dcd0
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x1d8]
push edx
push 0x20
or ebp, eax
call fcn.0046b4d0
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.0046dc90
lea edx, [esp + 0x44]
push edx
or ebp, eax
lea eax, [esp + 0x194]
push ebx
push eax
call fcn.0046dc30
or ebp, eax
mov eax, dword [esp + 0x58]
add esp, 0x40
inc eax
cmp eax, 3
mov dword [esp + 0x18], eax
jg 0x46dc1f
cmp dword [esp + 0x10], 1
je 0x46daa7
lea esi, [ebx + 0x28]
push esi
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0xec]
push edx
push ebx
call fcn.0046dd70
or ebp, eax
push esi
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0xac]
push esi
push ecx
call fcn.00471d50
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.0046ddc0
or ebp, eax
mov eax, dword [esp + 0x40]
add esp, 0x30
test eax, eax
je 0x46dc1f
push esi
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x13c]
push esi
push ecx
call fcn.0046dd70
lea edx, [esp + 0x20]
push edx
or ebp, eax
lea eax, [esp + 0x170]
push esi
push eax
call fcn.0046dc30
or ebp, eax
mov eax, dword [esp + 0x38]
add esp, 0x1c
inc eax
cmp eax, 3
mov dword [esp + 0x1c], eax
jg 0x46dc1f
cmp dword [esp + 0x10], 1
je 0x46daa7
mov eax, ebp
mov ecx, dword [esp + 0x1d8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047294a
add esp, 0x1cc
ret
mov eax, 1
jmp 0x46dc06