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

Disassembly:
sub esp, 0x78
mov eax, dword [0x44800c]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x24], eax
push edi
mov ebp, edx
mov dword [esp + 0x1c], esi
xor edi, edi
call fcn.004024f0
mov edx, dword [eax]
cmp edx, 0x43fb64
jne 0x402f7c
lea ecx, [eax + 0xc]
mov eax, dword [ecx]
lea edx, [ecx + 8]
mov dword [esp + 0x68], eax
movzx eax, word [ecx + 4]
mov word [esp + 0x6c], ax
movzx eax, word [ecx + 6]
mov word [esp + 0x6e], ax
xor eax, eax
mov cl, byte [edx + eax]
mov byte [esp + eax + 0x70], cl
inc eax
cmp eax, 8
jne 0x402dc7
call fcn.004026c0
mov ecx, dword [eax + 0xc]
movq xmm0, qword [eax + 0x14]
mov dword [esp + 0x20], ecx
mov cx, word [eax + 0x10]
mov word [esp + 0x14], cx
mov cx, word [eax + 0x12]
mov eax, dword [esi]
mov word [esp + 0x16], cx
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
movq qword [esp + 0x4c], xmm0
call dword [eax + 0x40]
xor ebx, ebx
mov dword [esp + 0x24], eax
test eax, eax
je 0x402f48
lea eax, [esp + 0x68]
mov dword [esp + 0x54], eax
nop
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x60]
push edx
lea edx, [esp + 0x7c]
mov dword [esp + 0x5c], ebx
movq xmm0, qword [esp + 0x58]
xor esi, esi
mov eax, dword [ecx]
push edx
mov dword [esp + 0x20], esi
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x88], esi
call dword [eax + 0x68]
mov edi, eax
test edi, edi
jne 0x402f3d
mov esi, dword [esp + 0x60]
mov dword [esp + 0x18], esi
test edi, edi
jne 0x402f3d
mov eax, dword [esi]
mov ecx, esi
push 0x43fd94
call dword [eax + 4]
movq xmm0, qword [esp + 0x48]
lea edx, [esp + 0x64]
mov ecx, eax
movq qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x38], eax
mov ax, word [esp + 0x14]
mov word [esp + 0x3c], ax
mov ax, word [esp + 0x16]
mov word [esp + 0x3e], ax
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x30]
mov dword [esp + 0x34], 0xffffffff
push edx
mov dword [esp + 0x3c], esi
call dword [eax + 0x68]
mov edi, eax
test edi, edi
jne 0x402f3d
mov esi, dword [esp + 0x64]
test edi, edi
jne 0x402f3d
mov eax, dword [esi]
mov ecx, esi
push 0x4401b0
call dword [eax + 4]
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
cmp eax, 0x4065b0
jne 0x402f88
mov eax, dword [esi + 0x64]
test al, 2
jne 0x402f05
cmp byte [esi + 0x78], 0
jne 0x402f1b
test al, 1
je 0x402f1b
mov ecx, dword [esi + 0x60]
lea eax, [esi + 0x68]
push 0x10
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
test eax, eax
jne 0x402f1b
mov byte [esi + 0x78], 1
add esi, 0x68
mov eax, dword [ebp]
cmp eax, dword [esi]
jne 0x402f3d
mov eax, dword [ebp + 4]
cmp eax, dword [esi + 4]
jne 0x402f3d
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 8]
jne 0x402f3d
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0xc]
je 0x402f5d
inc ebx
cmp ebx, dword [esp + 0x24]
jb 0x402e20
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00420d88
add esp, 0x78
ret
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [esp + 0x7c]
pop ebp
pop ebx
xor ecx, esp
call fcn.00420d88
add esp, 0x78
ret
mov ecx, eax
call dword [edx + 8]
mov ecx, eax
jmp 0x402daa
mov ecx, esi
call eax
mov esi, eax
jmp 0x402f1e