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

Disassembly:
push 0xffffffffffffffff
push 0x7ce44a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x138], ebx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x144], ebx
cmp ecx, ebx
je 0x5f022d
call fcn.00416320
mov eax, dword [0x9ea1ac]
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0x18]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx]
mov eax, dword [eax]
mov esi, eax
mov dword [esp + 0x18], esi
mov ecx, dword [ecx]
cmp eax, ecx
je 0x5f05a1
add esi, 0x10
cmp esi, ebx
je 0x5f0586
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x158]
push 0x870c08
push ecx
push ebx
lea ecx, [esp + 0x15c]
call fcn.0040b7c0
cmp eax, ebx
jne 0x5f03c9
lea edx, [esp + 0x78]
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], 0x7eb36c
mov dword [esp + 0x28], 0x7eb364
mov dword [esp + 0x10], edx
call fcn.005acf30
mov ecx, dword [esp + 0x138]
mov byte [esp + 0x144], 1
or ecx, 1
mov dword [esp + 0x78], 0x7f36d8
mov byte [esp + 0x144], bl
mov dword [esp + 0x138], ecx
lea eax, [esp + 0x2c]
push ebx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 2
call fcn.005ad970
push 3
lea ecx, [esp + 0x30]
mov dword [esp + 0x148], 3
call fcn.005ada80
mov ecx, dword [esp + 0x20]
mov edi, 0x7eb360
mov byte [esp + 0x144], 4
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x20], edi
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x148], 5
call fcn.005f19d0
cmp dword [ebp + 8], ebx
je 0x5f037c
push ebx
push ebx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
lea ecx, [esp + 0x3c]
call fcn.005ad0f0
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push 6
mov byte [esp + 0x164], 5
call fcn.00416150
cmp eax, ebx
je 0x5f037c
mov eax, dword [eax + 0xbc]
cmp eax, ebx
je 0x5f037c
mov edx, dword [eax]
add esi, 4
push esi
mov ecx, eax
call dword [edx + 0x9c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
mov byte [esp + 0x144], bl
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x10], eax
mov dword [esp + edx + 0x20], edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 7
call fcn.005ad1b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], bl
call fcn.005ad140
lea ecx, [esp + 0x78]
jmp 0x5f0581
mov al, byte [esp + 0x14c]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x20], esp
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.00404e60
mov ecx, dword [0x7e565c]
lea edx, [esp + 0x15c]
push ecx
push ebx
push edx
mov ecx, edi
call fcn.00404c60
lea edi, [esi + 4]
mov byte [esp + 0x154], bl
push edi
call fcn.0075dcd0
add esp, 0x14
cmp al, 1
jne 0x5f0586
lea eax, [esp + 0x104]
lea ecx, [esp + 0x104]
mov dword [esp + 0xac], 0x7eb36c
mov dword [esp + 0xb4], 0x7eb364
mov dword [esp + 0x10], eax
call fcn.005acf30
mov ecx, dword [esp + 0x138]
mov byte [esp + 0x144], 0xa
or ecx, 2
mov dword [esp + 0x104], 0x7f36d8
mov byte [esp + 0x144], bl
mov dword [esp + 0x138], ecx
lea ecx, [esp + 0xb8]
push ebx
push ecx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x14c], 0xb
call fcn.005ad970
push 3
lea ecx, [esp + 0xbc]
mov dword [esp + 0x148], 0xc
call fcn.005ada80
mov edx, dword [esp + 0xac]
mov byte [esp + 0x144], 0xd
mov eax, dword [edx + 4]
mov dword [esp + eax + 0xac], 0x7eb360
mov ecx, dword [esi]
mov byte [esp + 0x144], 0xe
push ecx
lea ecx, [esp + 0xb8]
call fcn.005f19d0
cmp dword [ebp + 8], ebx
je 0x5f0523
push ebx
push ebx
sub esp, 0x10
lea ecx, [esp + 0xc4]
mov edx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.005ad0f0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push eax
push 6
mov byte [esp + 0x164], 0xe
call fcn.00416150
cmp eax, ebx
je 0x5f0523
mov eax, dword [eax + 0xbc]
cmp eax, ebx
je 0x5f0523
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0x9c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xac]
inc eax
mov byte [esp + 0x144], bl
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x104]
mov dword [esp + 0x10], eax
mov dword [esp + edx + 0xac], 0x7eb360
lea ecx, [esp + 0xb8]
mov byte [esp + 0x144], 0x10
call fcn.005ad1b0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x144], bl
call fcn.005ad140
lea ecx, [esp + 0x104]
call fcn.005acc20
lea ecx, [esp + 0x18]
call fcn.005f2670
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
cmp esi, eax
jne 0x5f0251
push 1
mov ecx, ebp
call fcn.005f0640
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
je 0x5f05b7
mov edx, dword [ecx]
push ebx
call dword [edx + 0x44]
mov ebp, dword [ebp + 4]
cmp ebp, ebx
je 0x5f05c8
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x44]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x144], 0xffffffff
cmp eax, ebx
jne 0x5f05ed
push 1
lea ecx, [esp + 0x150]
call fcn.00404e60
xor al, al
jmp 0x5f0616
mov ecx, dword [esp + 0x150]
cmp ecx, ebx
je 0x5f0614
mov al, byte [ecx - 1]
cmp al, bl
je 0x5f060a
cmp al, 0xff
je 0x5f060a
dec al
mov byte [ecx - 1], al
jmp 0x5f0614
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x138
ret 0x10