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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f5436
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005f4940
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5f4e06
mov ecx, dword [esp + 0x84]
jmp 0x5f4e2b
mov ecx, dword [0x900e70]
test ecx, ecx
jne 0x5f4e1c
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x20], eax
jmp 0x5f4e2b
mov ecx, dword [esp + 0x84]
lea edi, [ecx + 0x20]
call fcn.00456ac0
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005f4940
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5f4e52
mov ecx, dword [esp + 0x84]
jmp 0x5f4e77
mov ecx, dword [0x900e70]
test ecx, ecx
jne 0x5f4e68
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x1c], eax
jmp 0x5f4e77
mov ecx, dword [esp + 0x84]
lea edi, [ecx + 0x1c]
call fcn.00456ac0
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x769735]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004b2db0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x5f4ece
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x5f541c
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004b44e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004b3d70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x5f4f1d
mov ecx, dword [esp + 0x84]
lea esi, [0x7cab54]
jmp 0x5f4ebf
cmp ecx, 1
jne 0x5f4f2b
cmp byte [eax], 0x2a
je 0x5f537a
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004cf680
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5f4ff5
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x28]
inc edx
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x2c]
cmp ebp, edx
jae 0x5f4fc6
mov dword [esp + 0x4c], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x73b0e0]
mov dword [esp + 0x10], eax
call fcn.00442820
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x900e70]
test edx, edx
jne 0x5f4faf
mov dword [ebx + 0x24], eax
jmp 0x5f4fb7
lea edi, [ebx + 0x24]
call fcn.00456ac0
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x28], edx
lea ebp, [ebx + edx*8 - 8]
lea esi, [0x7cab54]
mov dword [ebp], esi
lea edi, [ebx + edx*8 - 4]
mov edx, dword [0x900e70]
test edx, edx
jne 0x5f4feb
mov dword [edi], eax
jmp 0x5f4ebf
call fcn.00456ac0
jmp 0x5f4ebf
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.004d0910
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
test eax, eax
jne 0x5f5072
test ecx, ecx
jne 0x5f503f
mov ecx, dword [esp + 0x84]
lea esi, [0x7cab54]
jmp 0x5f4ebf
cmp byte [edx], 0x5b
jne 0x5f506e
lea esi, [ecx + edx - 1]
cmp byte [esi], 0x5d
jne 0x5f506a
lea esi, [ecx - 1]
cmp esi, 1
jb 0x5f5429
add ecx, 0xfffffffe
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add edx, ecx
jmp 0x5f507a
mov eax, ecx
jmp 0x5f507a
mov eax, ecx
jmp 0x5f507a
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], edx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004cf4c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5f5286
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x5f50bc
mov ecx, dword [esp + 0x84]
lea esi, [0x7cab54]
jmp 0x5f4ebf
cmp edx, 2
jge 0x5f50c5
xor eax, eax
jmp 0x5f50ec
mov eax, dword [esp + 0x48]
mov dword [esp], eax
lea ecx, [0x769746]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.00403310
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x34]
test al, al
je 0x5f5107
lea eax, [edx - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebp, dword [esp + 0x48]
lea edx, [ebp + eax]
jmp 0x5f510d
mov ebx, edx
mov edx, dword [esp + 0x48]
test ebx, ebx
jbe 0x5f5420
movzx eax, byte [edx]
mov byte [esp + 0x27], al
cmp al, 0x2e
je 0x5f514f
mov dword [esp], 0
lea eax, [0x7c8360]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00445480
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.005f55e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x5f5185
movzx ecx, byte [esp + 0x27]
cmp cl, 0x2e
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
jmp 0x5f518f
movzx ebp, byte [esp + 0x27]
xchg ebp, eax
cmp al, 0x2e
xchg ebp, eax
mov dword [esp + 0x34], ecx
setne dl
lea edi, [esp + 0x58]
mov ebx, eax
xor eax, eax
call fcn.00456d5b
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x64], ecx
mov byte [esp + 0x68], dl
lea ecx, [0x74ee60]
mov dword [esp], ecx
lea edx, [esp + 0x58]
mov dword [esp + 4], edx
call fcn.00408e50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x34]
inc edx
mov ebx, dword [ecx + 0x30]
mov ebp, dword [ecx + 0x38]
cmp ebp, edx
jae 0x5f5254
mov dword [esp + 0x54], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x73b0e0]
mov dword [esp + 0x10], eax
call fcn.00442820
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x38], edx
mov edx, dword [0x900e70]
test edx, edx
jne 0x5f523d
mov dword [ebx + 0x30], eax
jmp 0x5f5245
lea edi, [ebx + 0x30]
call fcn.00456ac0
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x34], edx
lea ebp, [ebx + edx*8 - 8]
lea esi, [0x7cab2c]
mov dword [ebp], esi
lea edi, [ebx + edx*8 - 4]
mov edx, dword [0x900e70]
test edx, edx
jne 0x5f5276
mov dword [edi], eax
jmp 0x5f527b
call fcn.00456ac0
lea esi, [0x7cab54]
jmp 0x5f4ebf
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x6c]
mov ebx, eax
xor eax, eax
call fcn.00456d5b
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x7c], ecx
lea ecx, [0x74a900]
mov dword [esp], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.00408e50
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x28]
inc edx
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x2c]
mov eax, dword [esp + 8]
cmp ebp, edx
jae 0x5f5348
mov dword [esp + 0x54], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x73b0e0]
mov dword [esp + 0x10], eax
call fcn.00442820
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x900e70]
test edx, edx
jne 0x5f5331
mov dword [ebx + 0x24], eax
jmp 0x5f5339
lea edi, [ebx + 0x24]
call fcn.00456ac0
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x28], edx
lea ebp, [ebx + edx*8 - 8]
lea esi, [0x7cab40]
mov dword [ebp], esi
lea edi, [ebx + edx*8 - 4]
mov edx, dword [0x900e70]
test edx, edx
jne 0x5f536a
mov dword [edi], eax
jmp 0x5f536f
call fcn.00456ac0
lea esi, [0x7cab54]
jmp 0x5f4ebf
lea eax, [0x72fea0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
lea ecx, [0x7cab18]
mov dword [eax], ecx
lea edx, [0x900b24]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 1
mov ebp, dword [0x900e70]
test ebp, ebp
jne 0x5f53c1
mov dword [ebx + 0x24], eax
jmp 0x5f53c9
lea edi, [ebx + 0x24]
call fcn.00456ac0
lea eax, [0x72fea0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
lea ecx, [0x7cab18]
mov dword [eax], ecx
lea ecx, [0x900b24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x900e70]
test edx, edx
jne 0x5f5410
mov dword [ecx + 0x30], eax
jmp 0x5f5418
lea edi, [ecx + 0x30]
call fcn.00456ac0
sub esp, 0xffffff80
ret
sub esp, 0xffffff80
ret
xor eax, eax
mov ecx, eax
call fcn.00456b40
mov eax, 1
xor ecx, ecx
call fcn.00456ba0
nop
call fcn.00455690
jmp fcn.005f4dc0