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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebp, ebp
push edi
mov ebx, dword [esi + 0xc]
cmp dword [ebx + 0x18], ebp
jne 0x42f002
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x10], ebp
mov dword [esi + 0x204], ebp
mov dword [esi + 0x208], ebp
lea edi, [ebx + 0x44]
mov ecx, 0xa
or eax, 0xffffffff
mov dword [ebx + 0x3c], ebp
mov dword [ebx + 0x40], 0xfffffff1
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x10]
cmp eax, 0x28
jl 0x42f026
mov eax, dword [ebx + 0x28]
push eax
call fcn.0042dce0
push esi
call fcn.004012c0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp eax, 0x1e
jl 0x42f030
mov dword [ebx + 0x3c], ebp
jmp 0x42f063
fld dword [esi + 0x204]
fadd dword [esi + 0x1fc]
fstp dword [esi + 0x1fc]
fld dword [esi + 0x208]
fadd dword [esi + 0x200]
fstp dword [esi + 0x200]
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x3c]
add ecx, eax
inc eax
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x10]
inc ecx
mov dword [ebx + 0x10], ecx
mov eax, dword [esi + 0x200]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x1fc]
push edx
push eax
push ecx
call fcn.0044e700
fld dword [esp + 0x20]
fadd qword [0x514938]
call fcn.00505248
fld dword [esp + 0x24]
fadd qword [0x514938]
mov dword [esi + 0x30], eax
call fcn.00505248
push ebp
push ebp
push 0x64
push esi
mov dword [esi + 0x34], eax
call fcn.004e3180
mov al, byte [esi + 0x24]
add esp, 0x20
test al, 2
jne 0x42f0fa
mov eax, dword [esi + 0x20]
lea edx, [esi + 0x274]
push edx
push ebp
push eax
push 0xb
push ebp
push esi
call fcn.004e3ba0
mov ecx, dword [ebx + 0x3c]
mov edi, dword [esi + 0x34]
add eax, ecx
add esp, 8
add eax, edi
push eax
push ebp
push esi
call fcn.004e3ba0
mov edx, dword [esi + 0x30]
add esp, 8
add eax, edx
push eax
call fcn.004ec3c0
add esp, 0x18
cmp dword [0x5d4548], 1
jne 0x42f14f
lea edi, [ebx + 0x44]
mov dword [esp + 0x1c], 0xa
mov eax, dword [edi]
cmp eax, ebp
jl 0x42f141
push ebp
push ebp
push eax
push 0xb
push ebp
push esi
call fcn.004e3ba0
mov edx, dword [edi + 0x50]
add esp, 8
add eax, edx
push eax
push ebp
push esi
call fcn.004e3ba0
mov edx, dword [edi + 0x28]
add esp, 8
add eax, edx
push eax
call fcn.004ec3c0
add esp, 0x18
mov eax, dword [esp + 0x1c]
add edi, 4
dec eax
mov dword [esp + 0x1c], eax
jne 0x42f10e
lea eax, [ebx + 0x68]
mov ecx, 9
mov edx, dword [eax - 4]
mov dword [eax], edx
mov edx, dword [eax + 0x24]
mov dword [eax + 0x28], edx
mov edx, dword [eax + 0x4c]
mov dword [eax + 0x50], edx
mov edx, dword [eax + 0x74]
mov dword [eax + 0x78], edx
mov edx, dword [eax + 0x9c]
mov dword [eax + 0xa0], edx
add eax, 0xfffffffc
dec ecx
jne 0x42f157
cmp dword [ebx + 0x10], 0x1e
jg 0x42f1c2
mov eax, dword [esi + 0x20]
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x44], eax
mov ecx, dword [esi + 0x30]
mov dword [ebx + 0x6c], ecx
mov eax, dword [esi + 0x34]
add edx, eax
pop edi
mov dword [ebx + 0x94], edx
mov eax, dword [esi + 0x1fc]
mov dword [ebx + 0xbc], eax
mov ecx, dword [esi + 0x200]
pop esi
mov dword [ebx + 0xe4], ecx
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
pop edi
pop esi
mov dword [ebx + 0x44], 0xffffffff
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret