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

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 3]
push edi
shl eax, 8
push 1
add eax, edx
push 0
shl eax, 8
add eax, ecx
push 0
push eax
call fcn.0042e4a0
movzx ecx, byte [esi + 4]
movzx edi, byte [esi + 5]
shl ecx, 8
add ecx, edi
movzx edi, byte [esi + 6]
shl ecx, 8
add ecx, edi
movzx edi, byte [esi + 7]
shl ecx, 8
add ecx, edi
xor edi, edi
add eax, ecx
adc edx, edi
mov edi, dword [esp + 0x14]
mov dword [edi + 4], edx
mov dword [edi], eax
movzx edx, byte [esi + 8]
movzx eax, byte [esi + 9]
movzx ecx, byte [esi + 0xa]
add esi, 8
shl edx, 8
add edx, eax
movzx eax, byte [esi + 3]
shl edx, 8
push 1
add edx, ecx
push 0
shl edx, 8
add edx, eax
push 0
push edx
call fcn.0042e4a0
movzx ecx, byte [esi + 4]
movzx ebp, byte [esi + 5]
shl ecx, 8
add ecx, ebp
movzx ebp, byte [esi + 6]
shl ecx, 8
add ecx, ebp
movzx ebp, byte [esi + 7]
shl ecx, 8
add ecx, ebp
xor ebp, ebp
add eax, ecx
adc edx, ebp
mov dword [edi + 0xc], edx
add esi, 8
mov dword [edi + 8], eax
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, eax
movzx eax, byte [esi + 3]
shl edx, 8
push 1
add edx, ecx
push ebp
shl edx, 8
add edx, eax
push ebp
push edx
call fcn.0042e4a0
movzx ecx, byte [esi + 4]
movzx ebp, byte [esi + 5]
shl ecx, 8
add ecx, ebp
movzx ebp, byte [esi + 6]
shl ecx, 8
add ecx, ebp
movzx ebp, byte [esi + 7]
shl ecx, 8
add ecx, ebp
xor ebp, ebp
add eax, ecx
adc edx, ebp
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], eax
movzx edx, byte [esi + 8]
movzx eax, byte [esi + 9]
movzx ecx, byte [esi + 0xa]
shl edx, 8
add edx, eax
movzx eax, byte [esi + 0xb]
add esi, 8
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
movzx edx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl edx, 8
add edx, eax
movzx eax, byte [esi + 6]
xor ecx, ecx
shl edx, 8
add edx, eax
shl edx, 8
mov ecx, edx
movzx edx, byte [esi + 7]
add ecx, edx
mov dword [edi + 0x20], ecx
movzx eax, byte [esi + 8]
movzx ecx, byte [esi + 9]
movzx edx, byte [esi + 0xa]
add esi, 8
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
movzx eax, byte [esi + 4]
movzx ecx, byte [esi + 5]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 6]
shl eax, 8
add eax, ecx
shl eax, 8
xor edx, edx
mov edx, eax
movzx eax, byte [esi + 7]
add edx, eax
add esi, 8
mov dword [edi + 0x24], edx
movzx ecx, byte [esi]
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 2]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 3]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
add esi, 4
mov dword [edi + 0x28], ecx
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
shl eax, 8
add eax, ecx
movzx edx, byte [esi + 2]
movzx ecx, byte [esi + 3]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [edi + 0x2c], eax
movzx edx, byte [esi + 4]
movzx eax, byte [esi + 5]
movzx ecx, byte [esi + 6]
shl edx, 8
add edx, eax
movzx eax, byte [esi + 7]
add esi, 4
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
mov dword [edi + 0x30], edx
movzx ecx, byte [esi + 4]
movzx edx, byte [esi + 5]
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 7]
add esi, 4
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
mov dword [edi + 0x34], ecx
movzx eax, byte [esi + 4]
movzx ecx, byte [esi + 5]
movzx edx, byte [esi + 6]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 7]
add esi, 4
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [edi + 0x38], eax
movzx edx, byte [esi + 4]
movzx eax, byte [esi + 5]
movzx ecx, byte [esi + 6]
add esi, 4
shl edx, 8
add edx, eax
movzx eax, byte [esi + 3]
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
mov dword [edi + 0x3c], edx
movzx ecx, byte [esi + 4]
movzx edx, byte [esi + 5]
movzx eax, byte [esi + 6]
add esi, 4
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 3]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
add esi, 4
mov dword [edi + 0x40], ecx
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
add esi, 4
mov dword [edi + 0x44], eax
movsx edx, byte [esi]
mov dword [edi + 0x48], edx
movsx eax, byte [esi + 1]
mov dword [edi + 0x4c], eax
inc esi
movsx ecx, byte [esi + 1]
mov dword [edi + 0x50], ecx
inc esi
movsx edx, byte [esi + 1]
mov dword [edi + 0x54], edx
inc esi
movzx cx, byte [esi + 2]
movzx ax, byte [esi + 1]
inc esi
xor edx, edx
add esi, 2
add esi, 2
add esi, 2
add esi, 2
shl eax, 8
add eax, ecx
mov dx, ax
add esi, 2
mov dword [edi + 0x5c], edx
movzx cx, byte [esi - 7]
movzx ax, byte [esi - 8]
xor edx, edx
shl eax, 8
add eax, ecx
mov dx, ax
mov dword [edi + 0x58], edx
movzx cx, byte [esi - 5]
movzx ax, byte [esi - 6]
xor edx, edx
shl eax, 8
add eax, ecx
mov dx, ax
mov dword [edi + 0x60], edx
movzx cx, byte [esi - 3]
movzx ax, byte [esi - 4]
xor edx, edx
shl eax, 8
add eax, ecx
mov dx, ax
mov dword [edi + 0x64], edx
movzx ax, byte [esi - 2]
movzx cx, byte [esi - 1]
xor edx, edx
shl eax, 8
add eax, ecx
mov dx, ax
inc esi
inc esi
add esi, 2
add esi, 4
mov dword [edi + 0x68], edx
movsx eax, byte [esi - 8]
mov dword [edi + 0x6c], eax
movsx ecx, byte [esi - 7]
mov dword [edi + 0x70], ecx
movzx dx, byte [esi - 6]
movzx ax, byte [esi - 5]
xor ecx, ecx
shl edx, 8
add edx, eax
mov cx, dx
mov dword [edi + 0x74], ecx
movzx edx, byte [esi - 4]
movzx eax, byte [esi - 3]
movzx ecx, byte [esi - 2]
shl edx, 8
add edx, eax
movzx eax, byte [esi - 1]
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
mov eax, dword [edi + 0x70]
test eax, eax
mov dword [edi + 0x78], edx
lea eax, [esi + 6]
jne 0x40e846
mov dword [edi + 0x74], ebp
mov dword [edi + 0x78], ebp
pop edi
pop esi
pop ebp
ret