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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
mov ebx, dword [ebp + 0x10]
mov edx, 0x12
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0x11
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
dec ecx
mov dword [ebp - 0x20], ecx
add ecx, eax
movzx eax, word [ebx + 6]
mov dword [ebp - 0x1c], ecx
add ecx, eax
movzx eax, word [ebx + 8]
mov dword [ebp - 0x18], ecx
add ecx, eax
movzx eax, word [ebx + 0xa]
add eax, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
nop word [eax + eax]
movzx eax, byte [edx + esi - 1]
lea ecx, [ebp - 0x24]
lea ecx, [ecx + eax*4]
dec edx
mov eax, dword [ecx]
mov dword [ebp + eax*4 - 0x6c], edx
dec eax
mov dword [ecx], eax
dec edx
lea ecx, [ebp - 0x24]
movzx eax, byte [edx + esi]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [ebp + eax*4 - 0x6c], edx
dec eax
mov dword [ecx], eax
dec edx
lea ecx, [ebp - 0x24]
movzx eax, byte [edx + esi]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [ebp + eax*4 - 0x6c], edx
dec eax
mov dword [ecx], eax
dec edx
lea ecx, [ebp - 0x24]
movzx eax, byte [edx + esi]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [ebp + eax*4 - 0x6c], edx
dec eax
mov dword [ecx], eax
dec edx
lea ecx, [ebp - 0x24]
movzx eax, byte [edx + esi]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [ebp + eax*4 - 0x6c], edx
dec eax
mov dword [ecx], eax
sub edx, 1
lea ecx, [ebp - 0x24]
movzx eax, byte [edx + esi]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [ebp + eax*4 - 0x6c], edx
lea eax, [eax - 1]
mov dword [ecx], eax
jne 0x5fd690
cmp dword [ebp - 0x24], 0
jne 0x5fd78c
mov ax, word [ebp - 0x6c]
mov word [ebp + 0x12], ax
mov eax, dword [ebp + 8]
mov byte [ebp + 0x10], 0
mov ecx, dword [ebp + 0x10]
pop esi
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push edi
xor edi, edi
mov edx, 0x80
mov eax, 1
mov dword [ebp - 0xc], edx
xor ecx, ecx
mov dword [ebp + 0xc], eax
lea esi, [edi + 2]
movzx ebx, word [ebx + eax*2]
test ebx, ebx
je 0x5fd7ee
nop dword [eax]
mov edx, dword [ebp + 8]
mov byte [ebp - 4], al
mov ax, word [ebp + ecx*4 - 0x6c]
inc ecx
mov word [ebp - 2], ax
movzx eax, byte [edi + 0x696098]
mov dword [ebp - 8], ecx
mov ecx, 0x20
lea edx, [edx + eax*4]
mov eax, dword [ebp - 4]
sub ecx, esi
mov dword [edx + ecx*4], eax
test ecx, ecx
jg 0x5fd7d5
mov edx, dword [ebp - 0xc]
add edi, edx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
sub ebx, 1
jne 0x5fd7b0
mov ebx, dword [ebp + 0x10]
inc eax
shr edx, 1
add esi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp + 0xc], eax
cmp eax, 5
jle 0x5fd7a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret