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

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