Function at 0x571ed0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b8338
push 0x5bc844
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 4
mov ebx, dword [ebp + 8]
push ebx
call dword [0x6a81e8]
test eax, eax
je 0x571f1e
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x30], ebx
cmp word [ebx], 0x5a4d
je 0x571f4f
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov dword [ebp - 0x38], eax
cmp dword [eax], 0x4550
je 0x571f7b
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], edx
cmp word [eax + 0x18], 0x20b
jne 0x571fa0
mov dword [ebp - 0x40], eax
mov esi, dword [eax + 0x88]
mov dword [ebp - 0x2c], esi
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x24], eax
jmp 0x571fae
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x24], eax
mov esi, ecx
cmp esi, edx
jne 0x571fce
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
add esi, ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], edx
mov edi, dword [ebp + 0xc]
cmp edi, 0x10000
jae 0x571fec
mov dword [ebp - 0x34], edi
lea ecx, [edi - 1]
jmp 0x5720ff
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov eax, edi
mov dword [ebp - 0x44], eax
cmp byte [eax], 0
je 0x572027
inc eax
mov dword [ebp - 0x44], eax
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, 0x100
jb 0x571ff6
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x20]
add eax, ebx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [esi + 0x18]
jae 0x5720c6
mov esi, dword [eax]
add esi, ebx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x44], edi
push 4
push esi
call dword [0x6a81e8]
test eax, eax
je 0x572075
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [ebp - 0x5c], 1
xor eax, eax
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x50]
jae 0x572092
movsx edx, byte [edi]
xor ecx, ecx
mov cl, byte [esi]
sub ecx, edx
je 0x5720a2
mov byte [ebp - 0x5c], 0
mov al, byte [ebp - 0x5c]
test al, al
je 0x5720ad
mov byte [ebp - 0x54], 1
mov esi, dword [ebp - 0x3c]
jmp 0x5720c6
inc esi
mov dword [ebp - 0x60], esi
inc edi
mov dword [ebp - 0x44], edi
inc eax
jmp 0x57207b
mov ecx, dword [ebp - 0x4c]
add ecx, 4
mov dword [ebp - 0x4c], ecx
inc dword [ebp - 0x34]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x3c]
mov eax, ecx
jmp 0x572036
mov al, byte [ebp - 0x54]
test al, al
jne 0x5720e9
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x24]
add eax, ebx
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x34]
lea eax, [eax + edx*2]
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov cx, word [eax]
mov dword [ebp - 0x34], ecx
mov eax, dword [esi + 0x1c]
add eax, ebx
mov dword [ebp - 0x28], eax
lea eax, [eax + ecx*4]
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + ebx]
cmp eax, edx
jb 0x57218a
mov edx, dword [ebp - 0x24]
add edx, ecx
add edx, ebx
cmp eax, edx
jae 0x57218a
lea edx, [ebp - 0xe4]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x6f6938
lea ecx, [ebp - 0xe4]
push ecx
call fcn.005bd7a4
add esp, 8
mov dword [ebp - 0x64], eax
test eax, eax
je 0x572173
mov byte [eax], 0
inc eax
mov dword [ebp - 0x64], eax
push eax
lea edx, [ebp - 0xe4]
push edx
call dword [0x6a838c]
push eax
call fcn.00571ed0
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8