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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ec062
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x51e584]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x51e584]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x1c], ebx
test byte [esi + 0x6c], 1
mov dword [esp + 0x14], edi
je 0x42f72b
mov eax, dword [esi + 0xc]
push edi
push eax
push 1
call fcn.004b98a0
add esp, 0xc
mov eax, dword [esi + 0x6c]
shr eax, 1
test al, 1
je 0x42f743
mov eax, dword [esi + 8]
push edi
push eax
push 2
call fcn.004b9ea0
add esp, 0xc
mov ecx, dword [esi + 0x6c]
shr ecx, 2
test cl, 1
je 0x42f75d
mov eax, dword [esi + 0x10]
push edi
push eax
push 3
call fcn.004b98a0
add esp, 0xc
mov edx, dword [esi + 0x6c]
shr edx, 3
test dl, 1
je 0x42f78e
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x42f776
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004ba2f0
mov eax, dword [esi + 0x14]
push edi
push eax
push 4
call fcn.004b9dc0
add esp, 0x18
mov eax, dword [esi + 0x6c]
shr eax, 4
test al, 1
je 0x42f7be
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x42f7a6
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004ba2f0
mov eax, dword [esi + 0x18]
push edi
push eax
push 5
call fcn.004b9dc0
add esp, 0x18
mov eax, dword [esi + 0x20]
xor edi, edi
test eax, eax
jle 0x42f841
cmp edi, eax
jl 0x42f809
push 0x265
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f], 0
call fcn.0049a910
mov dword [esp + 0x80], edi
or ebx, 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x20], ebx
call fcn.0049acd0
push eax
lea ecx, [esp + 0x17]
call fcn.0049af20
mov dword [esp + 0x80], 0xffffffff
test bl, 1
je 0x42f825
lea ecx, [esp + 0x20]
and ebx, 0xfffffffe
call fcn.0049a940
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edi*4]
push edx
push eax
push 6
call fcn.004b98a0
inc edi
add esp, 0xc
cmp edi, dword [esi + 0x20]
jl 0x42f809
mov eax, dword [esi + 0x6c]
shr eax, 6
test al, 1
je 0x42f86b
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x42f85b
mov ecx, dword [0x526230]
mov eax, dword [ecx + 0x28]
mov edx, dword [esp + 0x14]
push edx
push eax
push 7
call fcn.004b9d30
add esp, 0xc
mov eax, dword [esi + 0x30]
xor edi, edi
test eax, eax
jle 0x42f8f2
cmp edi, eax
jl 0x42f8ba
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f], 0
call fcn.0049a910
mov dword [esp + 0x80], 1
or ebx, 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x20], ebx
call fcn.0049acd0
push eax
lea ecx, [esp + 0x17]
call fcn.0049af20
mov dword [esp + 0x80], 0xffffffff
test bl, 2
je 0x42f8d6
lea ecx, [esp + 0x20]
and ebx, 0xfffffffd
call fcn.0049a940
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + edi*4]
push ecx
push eax
push 8
call fcn.004b9d30
inc edi
add esp, 0xc
cmp edi, dword [esi + 0x30]
jl 0x42f8ba
xor edi, edi
cmp edi, dword [esi + 0x40]
jge 0x42f931
mov dword [esp + 0x80], 0xffffffff
test bl, 4
je 0x42f915
lea ecx, [esp + 0x20]
and ebx, 0xfffffffb
call fcn.0049a940
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + edi*4]
push ecx
push eax
push 9
call fcn.004b9d30
inc edi
add esp, 0xc
cmp edi, dword [esi + 0x40]
jl 0x42f8f9
xor edi, edi
cmp edi, dword [esi + 0x50]
jge 0x42f970
mov dword [esp + 0x80], 0xffffffff
test bl, 8
je 0x42f954
lea ecx, [esp + 0x48]
and ebx, 0xfffffff7
call fcn.0049a940
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + edi*4]
push edx
push ecx
push 0xa
call fcn.004b9d30
inc edi
add esp, 0xc
cmp edi, dword [esi + 0x50]
jl 0x42f938
mov edx, dword [esi + 0x6c]
shr edx, 0xa
test dl, 1
je 0x42f9a7
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x42f989
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004ba2f0
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 0x5c]
push edi
push eax
push 0xb
call fcn.004b9dc0
add esp, 0x18
jmp 0x42f9ab
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
shr ecx, 0xb
test cl, 1
je 0x42f9dc
mov eax, dword [esi + 0x60]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x42f9c4
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004ba2f0
mov edx, dword [esi + 0x60]
push edi
push edx
push 0xc
call fcn.004b9dc0
add esp, 0x18
mov eax, dword [esi + 0x6c]
shr eax, 0xc
test al, 1
je 0x42f9f6
movzx ecx, byte [esi + 0x64]
push edi
push ecx
push 0xd
call fcn.004b9a90
add esp, 0xc
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x42fa11
mov edx, dword [eax]
cmp edx, dword [eax + 4]
je 0x42fa11
push edi
push esi
call fcn.004bac10
add esp, 8
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004815c9
mov esp, ebp
pop ebp
ret 4