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

Disassembly:
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa4
ret
mov eax, dword [ebx + 0x6c]
mov edx, dword [esp + 0xc0]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [eax + ebp*4]
push edx
mov edx, dword [ecx + 0x6c]
push edx
call fcn.0051a870
add esp, 0xc
test eax, eax
jle 0x519f7e
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [edx]
mov edx, dword [ecx + ebp*4]
push eax
lea ecx, [esp + 0x78]
mov eax, dword [edx + 8]
push eax
push 0x652a04
push ecx
call 0x579ac1
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0xbc]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [eax]
mov edx, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
add ecx, 4
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
jne 0x519f0c
mov esi, dword [esp + 0x30]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx + ebp*4]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x519e37
mov eax, dword [eax + 0x5c]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push ecx
call fcn.00519d00
mov ecx, dword [ebx + 0x6c]
mov edx, dword [esp + 0x28]
push edx
push eax
mov ecx, dword [ecx + ebp*4]
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x48]
push eax
mov eax, dword [ecx + 0x44]
push edx
mov edx, dword [ecx + 0x40]
push eax
mov eax, dword [ecx + 0x20]
push edx
mov edx, dword [ecx + 0x30]
push eax
mov eax, dword [ecx + 0x34]
push edx
mov edx, dword [ecx + 0x28]
push eax
mov eax, dword [ecx + 0x2c]
mov cx, word [ecx + 8]
push edx
push eax
push ecx
call fcn.005171f0
mov edx, dword [esi + 8]
add esp, 0x40
mov dword [edx + ebp*4], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + ebp*4]
mov ecx, dword [eax + 0x44]
cmp edx, ecx
jg 0x519ffb
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x28]
add edi, edx
mov edx, dword [esp + 0x28]
cmp edx, ecx
mov dword [esp + 0x24], edi
jg 0x51a024
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x30]
test ecx, ecx
je 0x51a036
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x30]
inc ebp
cmp ebp, eax
jl 0x519edd
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx]
test edx, edx
je 0x51a082
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x51a082
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx - 1], 0x2c
jne 0x51a082
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + edx - 1], al
mov dx, word [ebx + 0x28]
mov ax, word [ebx + 0x30]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push 0
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.00517180
push esi
mov dword [esi + 4], eax
call fcn.00517430
mov eax, dword [esp + 0x48]
push eax
call 0x578c6e
add esp, 0x34
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret