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

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], ecx
call fcn.005e5770
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x18]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
xor ebp, ebp
mov ebx, eax
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ecx
cmp ebx, ecx
jae 0x5f3fe4
lea ebx, [ebx]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
mov eax, edx
mov ecx, ebx
call fcn.005dae30
add esp, 8
test eax, eax
je 0x5f3fd3
mov ecx, dword [ebx + 0xc]
cmp ecx, 0x40
jl 0x5f3fae
xor eax, eax
mov dword [esp + 0x38], accept
jmp 0x5f3fbe
mov eax, 1
xor edx, edx
call fcn.006f5e10
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x38]
mov ecx, eax
and ecx, edi
and edx, esi
or ecx, edx
jne 0x5f3fd3
inc ebp
or edi, eax
or esi, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
add ebx, 0x28
cmp ebx, dword [esp + 0x1c]
jb 0x5f3f80
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x54]
mov word [ecx + 4], bp
mov eax, dword [edx + 0x38]
mov ebx, dword [edx + 0x3c]
mov edx, dword [esp + 0x20]
not edi
and edi, eax
movzx eax, word [edx + 0x26]
not esi
or esi, 0x80000000
and esi, ebx
cmp ax, 0x3f
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], eax
jl 0x5f4024
mov dword [esp + 0x18], 0x3f
jmp 0x5f402b
movsx edx, ax
mov dword [esp + 0x18], edx
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x5f405f
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.006f5e10
and edx, dword [esp + 0x38]
and eax, edi
or eax, edx
je 0x5f404c
inc ebp
inc esi
cmp esi, dword [esp + 0x18]
jl 0x5f4033
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebp
and ebx, 0x80000000
xor edx, edx
or edx, ebx
je 0x5f4076
cwde
lea edx, [eax + ebp - 0x3f]
mov dword [esp + 0x14], edx
mov ebp, edx
or dword [ecx], 0x410002
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
lea edi, [ebp + ebp*8 + 0x30]
call fcn.005dba50
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x5f42af
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x10], ebx
mov ecx, dword [esp + 0x44]
lea eax, [ebx + 0x30]
mov dword [ebx + 0x20], eax
lea eax, [eax + ebp*4]
lea edx, [eax + ebp*4]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x1c], edx
mov dword [ebx], str.auto_index
mov dword [ebx + 0x24], ebp
mov dword [ebx + 0xc], eax
mov ebp, dword [ecx + 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
cmp ebp, dword [esp + 0x1c]
jae 0x5f417c
lea ecx, [ecx]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x50]
mov ecx, ebp
call fcn.005dae30
add esp, 8
test eax, eax
je 0x5f416f
mov esi, dword [ebp + 0xc]
cmp esi, 0x40
jl 0x5f410d
xor eax, eax
mov edx, accept
jmp 0x5f411b
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.006f5e10
mov ecx, eax
and ecx, dword [esp + 0x2c]
mov edi, edx
and edi, dword [esp + 0x30]
or ecx, edi
jne 0x5f416b
or dword [esp + 0x30], edx
mov ecx, dword [ebp]
or dword [esp + 0x2c], eax
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov dword [edx + eax*4], esi
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
mov esi, dword [esp + 0x40]
call fcn.005ebe80
test eax, eax
je 0x5f4157
mov eax, dword [eax]
jmp 0x5f415c
mov eax, 0x7d11e0
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x20]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x10]
add ebp, 0x28
cmp ebp, dword [esp + 0x1c]
jb 0x5f40e0
mov ebp, dword [esp + 0x18]
xor edi, edi
test ebp, ebp
jle 0x5f41b6
mov eax, 1
xor edx, edx
mov ecx, edi
call fcn.006f5e10
and eax, dword [esp + 0x34]
and edx, dword [esp + 0x38]
or eax, edx
je 0x5f41b1
mov eax, dword [ebx + 4]
mov dword [eax + esi*4], edi
mov ecx, dword [ebx + 0x20]
mov dword [ecx + esi*4], 0x7d11e0
inc esi
inc edi
cmp edi, ebp
jl 0x5f4186
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + 0x3c]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
je 0x5f41fd
mov edx, dword [esp + 0x20]
mov ecx, 0x3f
mov eax, ecx
cmp ax, word [edx + 0x26]
jge 0x5f41fd
lea eax, [esi*4]
mov esi, dword [ebx + 4]
mov dword [eax + esi], ecx
mov esi, dword [ebx + 0x20]
mov dword [eax + esi], 0x7d11e0
movsx esi, word [edx + 0x26]
inc ecx
add eax, 4
cmp ecx, esi
jl 0x5f41e1
mov esi, dword [esp + 0x40]
push ebx
push esi
call fcn.005ecaa0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x5c]
mov edx, dword [ebp + 0x20]
mov edi, dword [esp + 0x2c]
push 0xfffffffffffffff0
push eax
inc ecx
push 0x29
xor eax, eax
call fcn.005de560
mov eax, dword [ebp + 0x1c]
push edi
mov ecx, 0x48
call fcn.005d7f90
mov dword [esp + 0x60], eax
mov eax, esi
call fcn.005d1720
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x58]
push 1
mov esi, eax
push esi
push ecx
push ebx
push edx
call fcn.005f3250
mov ecx, dword [ebp + 0x20]
push edi
mov eax, esi
mov edx, 0x61
call fcn.005d7fb0
mov dl, 0x10
mov eax, edi
call fcn.005cfe60
mov ebx, dword [esp + 0x78]
mov ecx, dword [ebp + 0x1c]
lea eax, [ebx + 1]
push edi
mov edx, 0x5f
call fcn.005d7fb0
add esp, 0x34
mov dl, 3
mov eax, edi
call fcn.005cfe60
mov eax, ebx
mov ecx, edi
call fcn.005cfe80
mov edx, dword [esp + 0x40]
call fcn.005d1740
mov eax, dword [esp + 0x28]
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp fcn.005cfe80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret