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

Disassembly:
sub esp, 0x1b4
mov eax, dword [0x5fd0b0]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x1c0]
push esi
mov esi, dword [esp + 0x1cc]
push edi
mov edi, dword [esp + 0x1d4]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x1d0]
push esi
push ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], edi
call fcn.0046e8d0
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x50e6a4
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x198]
push edx
lea eax, [ebp + 0x150]
push eax
push ecx
call fcn.0046e6b0
or ebx, eax
mov eax, dword [esi + 0x40]
add esp, 0xc
test eax, eax
jne 0x50e6b0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x19c]
push eax
call fcn.00512f20
or ebx, eax
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x50e6a4
mov ecx, 8
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x88]
push ecx
push ebp
call fcn.0046eb00
lea edx, [esp + 0xb0]
push edx
mov ecx, 0x10
lea esi, [esp + 0x74]
lea edi, [esp + 0xb4]
push ebp
or ebx, eax
rep movsd dword es:[edi], dword [esi]
call fcn.00512e30
or ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0x10
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jle 0x50e4fa
lea ecx, [esp + 0x20]
dec eax
push ecx
push eax
lea edx, [esp + 0x1a0]
push edx
mov dword [esp + 0x20], eax
call fcn.00512ed0
or ebx, eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
lea ecx, [esp + 0xa8]
je 0x50e4cf
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x68]
push eax
push ecx
push edx
push ebp
call fcn.00512d70
or ebx, eax
lea eax, [esp + 0xb8]
push eax
jmp 0x50e4e7
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x6c]
push edx
push eax
push ebp
call fcn.00512d70
lea ecx, [esp + 0x78]
or ebx, eax
push ecx
push ebp
call fcn.00512e30
or ebx, eax
mov eax, dword [esp + 0x2c]
add esp, 0x18
test eax, eax
jg 0x50e486
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xac]
push eax
push ebp
call fcn.0046e8d0
or ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
jne 0x50e544
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov edi, edx
mov esi, eax
mov ecx, 8
add edx, 0x20
push edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x20]
push ecx
push eax
push ebp
call fcn.0046e840
add esp, 0x10
jmp 0x50e6e4
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xcc]
push eax
push esi
push ebp
call fcn.0046e810
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x5c]
or ebx, eax
push edx
lea eax, [esp + 0xa0]
push eax
push ebp
call fcn.0046e810
lea ecx, [esp + 0x48]
push ecx
mov edx, ecx
push edx
push ebp
or ebx, eax
call fcn.00471350
or ebx, eax
lea eax, [esp + 0x74]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x5c]
push edx
push ebp
call fcn.0046e810
or ebx, eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x88]
push ecx
mov edx, eax
push edx
push ebp
call fcn.0046e810
add esp, 0x4c
or ebx, eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x6c]
push ecx
push esi
push ebp
call fcn.0046e840
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x78]
push edx
or ebx, eax
mov ecx, 8
lea esi, [esp + 0x7c]
lea eax, [esp + 0x9c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x40]
push ecx
push ebp
call fcn.0046e810
lea edx, [esp + 0x48]
push edx
or ebx, eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xd0]
push ecx
push ebp
call fcn.0046e810
mov esi, dword [esp + 0x40]
lea edx, [esp + 0xf8]
or ebx, eax
push edx
add esi, 0x20
push esi
mov eax, edx
push eax
push ebp
call fcn.0046e810
add esp, 0x40
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xcc]
or ebx, eax
push edx
mov eax, ecx
push eax
push ebp
call fcn.0046e840
lea ecx, [esp + 0x38]
push ecx
mov edx, ecx
or ebx, eax
push edx
lea eax, [esp + 0x80]
push eax
push ebp
call fcn.0046e810
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x48]
push ecx
push edi
mov edx, ecx
push edx
push ebp
or ebx, eax
call fcn.0046e840
or ebx, eax
lea eax, [esp + 0x58]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x80]
push edx
push ebp
call fcn.0046e810
add esp, 0x40
add edi, 0x20
push edi
or ebx, eax
push esi
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.0046e840
add esp, 0x10
jmp 0x50e6e4
push edi
push ebp
call fcn.00510460
add esp, 8
jmp 0x50e6e4
mov eax, dword [ebp + 0x312c]
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x19c]
push edx
push eax
call fcn.00512910
mov ecx, dword [esi + 0x40]
or ebx, eax
push edi
lea eax, [esp + 0xf8]
push eax
push ecx
push ebp
call fcn.00512bb0
add esp, 0x1c
mov ecx, dword [esp + 0x1c0]
pop edi
or ebx, eax
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0047209e
add esp, 0x1b4
ret