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

Disassembly:
sub esp, 0x60
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov ebx, eax
mov eax, dword [esp + 0x74]
mov dword [eax], ebp
sub esp, 0x18
mov eax, esp
mov dword [ecx], ebp
mov dword [eax], ebp
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [edx], ebp
xor edx, edx
xor esi, esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov ecx, ebp
xor edi, edi
mov dword [eax + 0x10], ecx
push ebx
lea esi, [esp + 0x5c]
mov dword [esp + 0x3c], ebp
mov dword [eax + 0x14], edi
call fcn.0042ac60
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebp, dword [eax + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
test esi, esi
jl 0x42d4de
mov eax, dword [ebx + 0xc]
cmp esi, eax
jge 0x42d4de
lea ecx, [esi + 1]
cmp ecx, eax
jne 0x42d2dc
cmp esi, eax
jge 0x42d4d9
mov eax, dword [ebx + 8]
mov edx, esi
imul edx, edx, 0x2c
cmp ebp, dword [eax + edx + 0x24]
jge 0x42d4de
cmp esi, dword [ebx + 0xc]
jge 0x42d4d9
mov edx, esi
imul edx, edx, 0x2c
add edx, dword [ebx + 8]
mov ecx, ebp
call fcn.00421a90
cmp eax, 1
je 0x42d3b8
cmp eax, 2
je 0x42d3b8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub esp, 0x18
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebp
push ebx
lea edi, [esp + 0x74]
mov dword [eax + 0x14], ecx
call fcn.0042ab40
mov edx, dword [eax + 8]
mov esi, dword [eax]
cmp esi, dword [ebx + 0xc]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 4]
mov ebp, dword [eax + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
jge 0x42d376
test esi, esi
jl 0x42d4d9
cmp esi, dword [ebx + 0xc]
jge 0x42d4d9
mov edx, esi
imul edx, edx, 0x2c
add edx, dword [ebx + 8]
mov ecx, ebp
call fcn.00421a90
jmp 0x42d37b
mov eax, 1
test esi, esi
jl 0x42d4de
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
jge 0x42d4de
lea edx, [esi + 1]
cmp edx, ecx
jne 0x42d3af
cmp esi, ecx
jge 0x42d4d9
mov edx, dword [ebx + 8]
mov ecx, esi
imul ecx, ecx, 0x2c
cmp ebp, dword [edx + ecx + 0x24]
jge 0x42d4de
cmp eax, 1
jne 0x42d2fd
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub esp, 0x18
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ecx
call fcn.0042a8f0
cmp dword [eax], 2
jne 0x42d449
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub esp, 0x18
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebp
push ebx
lea edi, [esp + 0x44]
mov dword [eax + 0x14], edx
call fcn.0042ab40
mov eax, dword [esp + 0x28]
cmp esi, eax
mov ecx, dword [esp + 0x38]
jne 0x42d424
cmp ebp, ecx
je 0x42d4de
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], edx
mov ebp, ecx
mov dword [esp + 0x24], eax
jmp 0x42d2a8
movzx eax, word [eax + 0xe]
cmp ax, 0x7f
ja 0x42d46b
cmp ax, 0x20
je 0x42d465
cmp ax, 9
je 0x42d465
mov eax, dword [esp + 0x7c]
jmp 0x42d475
cmp ax, 0x7f
jbe 0x42d478
cmp ax, 0x3000
je 0x42d478
mov eax, dword [esp + 0x78]
add dword [eax], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub esp, 0x18
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebp
push ebx
lea edi, [esp + 0x44]
mov dword [eax + 0x14], ecx
call fcn.0042ab40
mov eax, dword [esp + 0x28]
cmp esi, eax
mov ecx, dword [esp + 0x38]
jne 0x42d4b4
cmp ebp, ecx
je 0x42d4de
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x34]
mov ebp, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jmp 0x42d2a8
call fcn.0043cb4a
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
mov ecx, dword [esp + 0x78]
add eax, dword [ecx]
mov edx, dword [esp + 0x7c]
add eax, dword [edx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc