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

Disassembly:
sub esp, 0x6ec
mov eax, dword [0x4905d8]
xor eax, esp
mov dword [esp + 0x6e8], eax
push ebx
push ebp
mov ebx, ecx
mov eax, dword [ebx + 4]
push esi
push edi
mov edi, dword [eax + 0x18]
mov eax, dword [edi + 0xb0]
add edi, 0xa8
test eax, eax
jne 0x42c6d4
xor esi, esi
jmp 0x42c6ea
mov ecx, dword [edi + 0xc]
sub ecx, eax
mov eax, 0x57d990d1
imul ecx
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, 0xffffffff
push esi
mov ecx, edi
call fcn.00401ca0
mov ecx, eax
mov eax, dword [ebx + 8]
mov ebp, dword [ecx + 8]
cdq
cmp ebp, eax
jne 0x42caee
mov ecx, dword [ecx + 0xc]
cmp ecx, edx
jne 0x42caee
mov ebp, dword [0x475368]
lea eax, [esi + 1]
push eax
lea edx, [esp + 0x1e0]
push 0x475728
push edx
call ebp
add esp, 0xc
push esi
mov ecx, edi
call fcn.00401ca0
mov ecx, dword [eax + 0x15b]
or ecx, dword [eax + 0x15f]
push esi
mov ecx, edi
je 0x42c904
call fcn.00401ca0
movzx edx, word [eax + 0x167]
push edx
lea eax, [esp + 0x3f0]
push 0x476938
push eax
call ebp
add esp, 0xc
push 0x4410
push 0x160
lea ecx, [esp + 0x84]
push ecx
push 0
push esi
mov ecx, edi
call fcn.00401ca0
add eax, 0x25
push eax
call dword [0x4753b4]
push esi
mov ecx, edi
call fcn.00401ca0
mov edx, eax
mov eax, dword [edx + 0x15b]
mov edx, dword [edx + 0x15f]
mov cl, 0xa
call fcn.004651f0
mov cl, 0xa
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call fcn.004651f0
push esi
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.00401ca0
add eax, 0x15b
push esi
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.00401ca0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
cmp edx, dword [eax + 0x157]
jl 0x42c86c
jg 0x42c7f7
mov ecx, dword [ecx]
cmp ecx, dword [eax + 0x153]
jbe 0x42c86c
push esi
mov ecx, edi
call fcn.00401ca0
mov edx, dword [eax + 0x153]
and edx, dword [eax + 0x157]
cmp edx, 0xffffffff
je 0x42c86c
push esi
mov ecx, edi
call fcn.00401ca0
mov ecx, eax
mov eax, dword [ecx + 0x153]
mov edx, dword [ecx + 0x157]
mov cl, 0xa
call fcn.004651f0
mov cl, 0xa
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004651f0
test eax, eax
lea edx, [esp + 0x1e4]
jle 0x42c855
push eax
push str.__dMB_
push edx
call ebp
add esp, 0xc
jmp 0x42c894
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push str.__I64dKB_
push edx
call ebp
add esp, 0x10
jmp 0x42c894
mov eax, dword [0x47691c]
mov cx, word [0x476920]
mov dl, byte [0x476922]
mov dword [esp + 0x1e4], eax
mov word [esp + 0x1e8], cx
mov byte [esp + 0x1ea], dl
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x42c8b9
lea ecx, [esp + 0x1e4]
push ecx
push eax
lea edx, [esp + 0x2f0]
push str._dMB_s
push edx
call ebp
add esp, 0x10
jmp 0x42c8dd
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x1e4]
push eax
push ecx
push edx
lea eax, [esp + 0x2f4]
push str._I64dKB_s
push eax
call ebp
add esp, 0x14
push esi
mov ecx, edi
call fcn.00401ca0
movzx ecx, word [eax + 0x173]
push ecx
lea edx, [esp + 0x5f8]
push 0x475728
push edx
call ebp
add esp, 0xc
jmp 0x42c99b
call fcn.00401ca0
mov edx, dword [eax + 0x167]
mov ecx, dword [eax + 0x163]
add eax, 0x163
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
movzx edx, dx
push edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
mov edx, eax
shr edx, 0x10
push edx
movzx eax, ax
push eax
mov edx, ecx
movsx eax, cx
shr edx, 0x10
push edx
push eax
lea ecx, [esp + 0x400]
push str._04d__02d__02d__02d:_02d
push ecx
call ebp
add esp, 0x1c
push 0x104
lea edx, [esp + 0x4f4]
push edx
call dword [0x475120]
push 0x4000
push 0x160
lea eax, [esp + 0x84]
push eax
push 0
lea ecx, [esp + 0x500]
push ecx
call dword [0x4753b4]
mov byte [esp + 0x2e8], 0
mov byte [esp + 0x5f4], 0
mov edx, dword [esp + 0x80]
mov ebp, dword [0x4754d8]
lea ecx, [esp + 0x54]
push ecx
push 0
lea eax, [esi + 1]
mov dword [esp + 0x78], edx
mov edx, dword [ebx]
mov dword [esp + 0x60], eax
push 0x1007
lea eax, [esp + 0x1e8]
push edx
mov dword [esp + 0x64], 7
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], esi
call ebp
push esi
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.00401ca0
mov ecx, dword [ebx]
add eax, 0x25
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x102e
push ecx
call ebp
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push esi
push 0x102e
lea edx, [esp + 0x2f4]
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], edx
call ebp
push esi
mov ecx, edi
call fcn.00401ca0
movzx eax, byte [eax + 0x151]
add eax, 0xffffff9e
cmp eax, 0x12
ja case.0x42ca52.100
movzx edx, byte [eax + 0x42cb20]
jmp dword [edx*4 + 0x42cb08]
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push esi
push 0x102e
mov dword [esp + 0x38], 0x4768e4
push ecx
jmp 0x42cac1
mov dword [esp + 0x2c], 0x4768dc
jmp 0x42cab3
mov edx, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
push esi
push 0x102e
mov dword [esp + 0x38], 0x4768d0
push edx
jmp 0x42cac1
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push esi
push 0x102e
mov dword [esp + 0x38], 0x4768c4
push ecx
jmp 0x42cac1
mov dword [esp + 0x2c], 0x4768c4
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push esi
push 0x102e
push eax
mov dword [esp + 0x30], 2
call ebp
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push esi
push 0x102e
lea ecx, [esp + 0x3f8]
push eax
mov dword [esp + 0x30], 3
mov dword [esp + 0x3c], ecx
call ebp
mov ecx, dword [esp + 0x6f8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00464f80
add esp, 0x6ec
ret