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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x328
call fcn.006499b0
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
test ecx, ecx
je 0x5198c2
lea eax, [ebp - 0x70]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [ecx + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov eax, dword [eax + 0x1c]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 8], edx
mov eax, dword [ecx + 0x24]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov edx, dword [edx + 0x2c]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov ecx, dword [ecx + 0x34]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov eax, dword [eax + 0x3c]
mov dword [edx + 0x3c], eax
mov dword [ebp - 0x18], 0
jmp 0x5191b4
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 8
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x18], 0x10
jge 0x51947c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax*8]
cdq
mov cl, 0x38
call fcn.00651740
mov esi, eax
mov edi, edx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + edx*8 + 1]
cdq
mov cl, 0x30
call fcn.00651740
or esi, eax
or edi, edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + ecx*8 + 2]
cdq
mov cl, 0x28
call fcn.00651740
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax*8 + 3]
cdq
mov cl, 0x20
call fcn.00651740
or esi, eax
or edi, edx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + edx*8 + 4]
cdq
mov cl, 0x18
call fcn.00651740
or esi, eax
or edi, edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + ecx*8 + 5]
cdq
mov cl, 0x10
call fcn.00651740
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + eax*8 + 6]
cdq
mov cl, 8
call fcn.00651740
or esi, eax
or edi, edx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + edx*8 + 7]
cdq
or esi, eax
or edi, edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x40], edx
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0xe
call fcn.006514e0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x32
call fcn.00651740
or esi, eax
or edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x12
call fcn.006514e0
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x2e
call fcn.00651740
or ebx, eax
mov eax, dword [ebp - 0x2f4]
or eax, edx
xor esi, ebx
xor edi, eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x29
call fcn.006514e0
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x17
call fcn.00651740
or ebx, eax
mov eax, dword [ebp - 0x2f8]
or eax, edx
xor esi, ebx
xor edi, eax
mov ecx, dword [ebp - 0x1c]
add esi, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
adc edx, edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
and ecx, dword [eax + 0x28]
mov edi, dword [ebp - 4]
and edi, dword [eax + 0x2c]
mov eax, dword [ebp - 8]
not eax
mov ebx, dword [ebp - 4]
not ebx
mov dword [ebp - 0x2fc], edx
mov edx, dword [ebp - 0x1c]
and eax, dword [edx + 0x30]
and ebx, dword [edx + 0x34]
xor ecx, eax
xor edi, ebx
add esi, ecx
mov ecx, dword [ebp - 0x2fc]
adc ecx, edi
mov edx, dword [ebp - 0x18]
add esi, dword [edx*8 + 0x6bff28]
adc ecx, dword [edx*8 + 0x6bff2c]
add esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
adc eax, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x18]
add edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x1c]
adc eax, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x1c
call fcn.006514e0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x24
call fcn.00651740
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x22
call fcn.006514e0
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x1e
call fcn.00651740
or ebx, eax
mov eax, dword [ebp - 0x300]
or eax, edx
xor esi, ebx
xor edi, eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x27
call fcn.006514e0
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x19
call fcn.00651740
or ebx, eax
mov eax, dword [ebp - 0x304]
or eax, edx
xor esi, ebx
xor edi, eax
add esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
adc ecx, edi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
and eax, dword [edx + 8]
mov edi, dword [ebp - 0x24]
and edi, dword [edx + 0xc]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
and ebx, dword [edx + 0x10]
mov dword [ebp - 0x308], ecx
mov ecx, dword [ebp - 0x24]
and ecx, dword [edx + 0x14]
xor eax, ebx
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ecx + 8]
and ebx, dword [edx + 0x10]
mov ecx, dword [ecx + 0xc]
and ecx, dword [edx + 0x14]
xor eax, ebx
xor edi, ecx
add esi, eax
mov edx, dword [ebp - 0x308]
adc edx, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
jmp 0x5191a2
jmp 0x519490
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 8
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x18], 0x50
jge 0x5197e2
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xb8]
mov edx, dword [edx + 0xbc]
mov cl, 1
call fcn.006514e0
mov esi, eax
mov edi, edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xb8]
mov edx, dword [ecx + 0xbc]
mov cl, 0x3f
call fcn.00651740
or esi, eax
or edi, edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xb8]
mov edx, dword [edx + 0xbc]
mov cl, 8
call fcn.006514e0
mov ebx, eax
mov eax, edx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30c], eax
mov eax, dword [ecx + 0xb8]
mov edx, dword [ecx + 0xbc]
mov cl, 0x38
call fcn.00651740
or ebx, eax
mov eax, dword [ebp - 0x30c]
or eax, edx
xor esi, ebx
xor edi, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xb8]
mov edx, dword [edx + 0xbc]
mov cl, 7
call fcn.006514e0
xor esi, eax
xor edi, edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov cl, 0x13
call fcn.006514e0
mov esi, eax
mov edi, edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x50]
mov edx, dword [edx + 0x54]
mov cl, 0x2d
call fcn.00651740
or esi, eax
or edi, edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov cl, 0x3d
call fcn.006514e0
mov ebx, eax
mov eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x310], eax
mov eax, dword [edx + 0x50]
mov edx, dword [edx + 0x54]
mov cl, 3
call fcn.00651740
or ebx, eax
mov eax, dword [ebp - 0x310]
or eax, edx
xor esi, ebx
xor edi, eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov cl, 6
call fcn.006514e0
xor esi, eax
xor edi, edx
add esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
adc edx, edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0xc0]
add edx, dword [ecx + 0x78]
mov eax, dword [eax + 0xc4]
adc eax, dword [ecx + 0x7c]
add edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
adc ecx, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp - 0x24]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 4]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0xe
call fcn.006514e0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x32
call fcn.00651740
or esi, eax
or edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x12
call fcn.006514e0
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x2e
call fcn.00651740
or ebx, eax
mov eax, dword [ebp - 0x314]
or eax, edx
xor esi, ebx
xor edi, eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x29
call fcn.006514e0
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x17
call fcn.00651740
or ebx, eax
mov eax, dword [ebp - 0x318]
or eax, edx
xor esi, ebx
xor edi, eax
mov edx, dword [ebp - 0x1c]
add esi, dword [edx + 0x38]
mov eax, dword [edx + 0x3c]
adc eax, edi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
and edx, dword [ecx + 0x28]
mov edi, dword [ebp - 4]
and edi, dword [ecx + 0x2c]
mov ecx, dword [ebp - 8]
not ecx
mov ebx, dword [ebp - 4]
not ebx
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x1c]
and ecx, dword [eax + 0x30]
and ebx, dword [eax + 0x34]
xor edx, ecx
xor edi, ebx
add esi, edx
mov edx, dword [ebp - 0x31c]
adc edx, edi
mov eax, dword [ebp - 0x18]
add esi, dword [eax*8 + 0x6bff28]
adc edx, dword [eax*8 + 0x6bff2c]
add esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
adc ecx, edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x18]
add eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x1c]
adc ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x1c
call fcn.006514e0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x24
call fcn.00651740
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x22
call fcn.006514e0
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x1e
call fcn.00651740
or ebx, eax
mov eax, dword [ebp - 0x320]
or eax, edx
xor esi, ebx
xor edi, eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x27
call fcn.006514e0
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x19
call fcn.00651740
or ebx, eax
mov eax, dword [ebp - 0x324]
or eax, edx
xor esi, ebx
xor edi, eax
add esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
adc edx, edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
and ecx, dword [eax + 8]
mov edi, dword [ebp - 0x24]
and edi, dword [eax + 0xc]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
and ebx, dword [eax + 0x10]
mov dword [ebp - 0x328], edx
mov edx, dword [ebp - 0x24]
and edx, dword [eax + 0x14]
xor ecx, ebx
xor edi, edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [edx + 8]
and ebx, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
and edx, dword [eax + 0x14]
xor ecx, ebx
xor edi, edx
add esi, ecx
mov eax, dword [ebp - 0x328]
adc eax, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
jmp 0x51947e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, dword [ebp - 0x28]
mov eax, dword [ecx + 4]
adc eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 8]
add ecx, dword [eax + 8]
mov edx, dword [edx + 0xc]
adc edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x10]
add eax, dword [edx + 0x10]
mov ecx, dword [ecx + 0x14]
adc ecx, dword [edx + 0x14]
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
add edx, dword [ecx + 0x18]
mov eax, dword [eax + 0x1c]
adc eax, dword [ecx + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
add eax, dword [ebp - 8]
mov ecx, dword [edx + 0x24]
adc ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x28]
add edx, dword [ecx + 0x28]
mov eax, dword [eax + 0x2c]
adc eax, dword [ecx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x30]
add ecx, dword [eax + 0x30]
mov edx, dword [edx + 0x34]
adc edx, dword [eax + 0x34]
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x38]
add eax, dword [edx + 0x38]
mov ecx, dword [ecx + 0x3c]
adc ecx, dword [edx + 0x3c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x80
mov dword [ebp - 0x14], eax
jmp 0x5190f6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret