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

Disassembly:
sub esp, 0x68
mov ecx, dword [esp + 0x74]
movzx eax, word [ecx + 2]
movzx edx, word [ecx + 4]
dec eax
mov dword [esp + 0xc], eax
add eax, edx
movzx edx, word [ecx + 6]
mov dword [esp + 0x10], eax
add eax, edx
movzx edx, word [ecx + 8]
movzx ecx, word [ecx + 0xa]
mov dword [esp + 0x14], eax
add eax, edx
add ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], 0x11
mov eax, 0x12
push esi
lea ebx, [ebx]
movzx edx, byte [eax + ecx - 1]
mov esi, dword [esp + edx*4 + 0xc]
dec eax
mov dword [esp + esi*4 + 0x24], eax
lea edx, [esp + edx*4 + 0xc]
dec esi
mov dword [edx], esi
movzx edx, byte [eax + ecx - 1]
mov esi, dword [esp + edx*4 + 0xc]
dec eax
mov dword [esp + esi*4 + 0x24], eax
lea edx, [esp + edx*4 + 0xc]
dec esi
mov dword [edx], esi
movzx edx, byte [eax + ecx - 1]
mov esi, dword [esp + edx*4 + 0xc]
dec eax
mov dword [esp + esi*4 + 0x24], eax
lea edx, [esp + edx*4 + 0xc]
dec esi
mov dword [edx], esi
movzx edx, byte [eax + ecx - 1]
mov esi, dword [esp + edx*4 + 0xc]
dec eax
lea edx, [esp + edx*4 + 0xc]
mov dword [esp + esi*4 + 0x24], eax
dec esi
mov dword [edx], esi
movzx edx, byte [eax + ecx - 1]
mov esi, dword [esp + edx*4 + 0xc]
dec eax
lea edx, [esp + edx*4 + 0xc]
mov dword [esp + esi*4 + 0x24], eax
dec esi
mov dword [edx], esi
movzx edx, byte [eax + ecx - 1]
mov esi, dword [esp + edx*4 + 0xc]
sub eax, 1
lea edx, [esp + edx*4 + 0xc]
mov dword [esp + esi*4 + 0x24], eax
lea esi, [esi - 1]
mov dword [edx], esi
jne 0x5f3210
cmp dword [esp + 0xc], 0
jne 0x5f331a
mov ecx, dword [esp + 0x70]
mov dx, word [esp + 0x24]
mov byte [esp + 0x78], 0
mov word [esp + 0x7a], dx
mov eax, dword [esp + 0x78]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], eax
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], eax
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], eax
pop esi
add esp, 0x68
ret
push ebx
push ebp
xor ebp, ebp
push edi
mov dword [esp + 0x80], 0x80
xor esi, esi
mov ebx, 1
lea edi, [ebp + 2]
jmp 0x5f3340
mov eax, dword [esp + 0x84]
movzx eax, word [eax + ebx*2]
mov dword [esp + 0x14], eax
test eax, eax
je 0x5f3397
mov cx, word [esp + esi*4 + 0x30]
movzx edx, byte [ebp + 0x756f70]
mov word [esp + 0x12], cx
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0x10], bl
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x10]
inc esi
mov eax, 0x20
lea esp, [esp]
sub eax, edi
mov dword [ecx + eax*4], edx
test eax, eax
jg 0x5f3380
add ebp, dword [esp + 0x80]
sub dword [esp + 0x14], 1
jne 0x5f3353
shr dword [esp + 0x80], 1
inc ebx
add edi, edi
cmp ebx, 5
jle 0x5f3340
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x68
ret