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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4517b5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
mov dword [edi], ecx
test ecx, ecx
je 0x4074ac
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x4074c3
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
test ecx, ecx
je 0x4074d7
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0xc]
mov dword [edi + 0xc], ecx
test ecx, ecx
je 0x4074eb
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov byte [ebp - 4], 3
xor ecx, ecx
movzx eax, byte [ebx + 0x10]
mov edx, 2
mov byte [edi + 0x10], al
movzx eax, byte [ebx + 0x11]
mov byte [edi + 0x11], al
movzx eax, byte [ebx + 0x12]
mov byte [edi + 0x12], al
movzx eax, byte [ebx + 0x13]
mov byte [edi + 0x13], al
movzx eax, byte [ebx + 0x14]
mov byte [edi + 0x14], al
movzx eax, byte [ebx + 0x15]
mov byte [edi + 0x15], al
movzx eax, byte [ebx + 0x16]
mov byte [edi + 0x16], al
movzx eax, byte [ebx + 0x17]
mov byte [edi + 0x17], al
mov esi, dword [ebx + 0x1c]
mov dword [edi + 0x18], 0
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004213b4
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov ecx, dword [ebx + 0x1c]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebx + 0x18]
push eax
call fcn.0042e540
mov byte [ebp - 4], 4
xor ecx, ecx
mov esi, dword [ebx + 0x28]
mov edx, 2
mov dword [edi + 0x24], 0
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004213b4
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov ecx, dword [ebx + 0x28]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebx + 0x24]
push eax
call fcn.0042e540
mov byte [ebp - 4], 5
xor ecx, ecx
mov esi, dword [ebx + 0x34]
mov edx, 2
mov dword [edi + 0x30], 0
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004213b4
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], esi
mov ecx, dword [ebx + 0x34]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebx + 0x30]
push eax
call fcn.0042e540
add esp, 0x30
mov byte [ebp - 4], 6
lea ecx, [edi + 0x78]
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x40], eax
movq xmm0, qword [ebx + 0x44]
movq qword [edi + 0x44], xmm0
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [ebx + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [ebx + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [ebx + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [edi + 0x5c], eax
movzx eax, byte [ebx + 0x60]
mov byte [edi + 0x60], al
mov eax, dword [ebx + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [ebx + 0x6c]
mov dword [edi + 0x6c], eax
mov eax, dword [ebx + 0x70]
mov dword [edi + 0x70], eax
mov eax, dword [ebx + 0x74]
mov dword [edi + 0x74], eax
lea eax, [ebx + 0x78]
push eax
call fcn.004076a0
lea eax, [ebx + 0xa8]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0xa8]
call fcn.004076a0
mov eax, dword [ebx + 0xd8]
mov dword [edi + 0xd8], eax
mov eax, dword [ebx + 0xdc]
mov dword [edi + 0xdc], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4