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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x94]
cmp eax, dword [ecx + 8]
jbe 0x5f59a1
sub esp, 0x114
lea edi, [esp + 0x68]
xor eax, eax
call fcn.004773d5
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 0x44]
test edx, edx
je 0x5f4d78
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0
call fcn.005a0970
lea eax, [0x5f6810]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 0x5c]
test edx, edx
je 0x5f4de3
movzx edx, byte [esp + 0x11c]
test dl, dl
jne 0x5f4deb
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0xb
call fcn.005a0970
lea eax, [0x5f6770]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
jmp 0x5f4deb
movzx edx, byte [esp + 0x11c]
movzx ebx, byte [ecx + 0x64]
test bl, bl
je 0x5f4e4d
test dl, dl
jne 0x5f4e4d
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x23
call fcn.005a0970
lea eax, [0x5f6720]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
movzx ebx, byte [ecx + 0x8c]
test bl, bl
je 0x5f4eb2
test dl, dl
jne 0x5f4eb2
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0xff01
call fcn.005a0970
lea eax, [0x5f6680]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
movzx ebx, byte [ecx + 0x9c]
test bl, bl
je 0x5f4ef8
test dl, dl
jne 0x5f4ef8
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x17
call fcn.005a0970
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0
call fcn.005a0970
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
movzx ebx, byte [ecx + 0xac]
test bl, bl
je 0x5f4f3a
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x12
call fcn.005a0970
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0
call fcn.005a0970
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
movzx ebx, byte [ecx + 0xd4]
test bl, bl
je 0x5f4f7c
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x2a
call fcn.005a0970
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0
call fcn.005a0970
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov ebx, dword [ecx + 0xfc]
test ebx, ebx
je 0x5f4fdc
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x39
call fcn.005a0970
lea eax, [0x5f6630]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov ebx, dword [ecx + 0x10c]
test ebx, ebx
je 0x5f503c
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0xfe0d
call fcn.005a0970
lea eax, [0x5f65e0]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
movzx ebx, byte [ecx + 0x48]
test bl, bl
je 0x5f50d6
test dl, dl
je 0x5f508e
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea eax, [0x6c0180]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov word [eax], 5
mov edx, 1
jmp 0x5f50bd
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 5
call fcn.005a0970
lea eax, [esp + 0x68]
mov dword [esp], eax
lea eax, [0x720454]
mov dword [esp + 4], eax
call fcn.005a0aa0
xor edx, edx
xor ecx, ecx
xor eax, eax
mov ebx, ecx
mov ebp, eax
mov esi, edx
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
jmp 0x5f50dc
xor ebx, ebx
xor ebp, ebp
xor esi, esi
mov edi, dword [ecx + 0x50]
test edi, edi
je 0x5f51ac
test dl, dl
je 0x5f5138
inc esi
cmp ebx, esi
jae 0x5f512f
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0180]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov word [ebp + esi*2 - 2], 0xa
jmp 0x5f51ac
mov dword [esp + 0x98], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0xa
call fcn.005a0970
lea eax, [0x5f6530]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x98]
mov edi, dword [ecx + 0x78]
test edi, edi
je 0x5f527c
test dl, dl
je 0x5f5208
inc esi
cmp ebx, esi
jae 0x5f51ff
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0180]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov word [ebp + esi*2 - 2], 0xd
jmp 0x5f527c
mov dword [esp + 0xe0], ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0xd
call fcn.005a0970
lea eax, [0x5f6480]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0xe0]
mov edi, dword [ecx + 0x84]
test edi, edi
je 0x5f534f
test dl, dl
je 0x5f52db
inc esi
cmp ebx, esi
jae 0x5f52d2
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0180]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov word [ebp + esi*2 - 2], 0x32
jmp 0x5f534f
mov dword [esp + 0xdc], ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x32
call fcn.005a0970
lea eax, [0x5f63c0]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0xdc]
mov edi, dword [ecx + 0xa4]
test edi, edi
je 0x5f5422
test dl, dl
je 0x5f53ae
inc esi
cmp ebx, esi
jae 0x5f53a5
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0180]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov word [ebp + esi*2 - 2], 0x10
jmp 0x5f5422
mov dword [esp + 0xd8], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x10
call fcn.005a0970
lea eax, [0x5f62a0]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0xd8]
mov edi, dword [ecx + 0xb4]
test edi, edi
je 0x5f54f5
test dl, dl
je 0x5f5481
inc esi
cmp ebx, esi
jae 0x5f5478
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0180]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov word [ebp + esi*2 - 2], 0x2b
jmp 0x5f54f5
mov dword [esp + 0xd4], ebp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x2b
call fcn.005a0970
lea eax, [0x5f61e0]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0xd4]
mov edi, dword [ecx + 0xc0]
test edi, edi
je 0x5f55c8
test dl, dl
je 0x5f5554
inc esi
cmp ebx, esi
jae 0x5f554b
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0180]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov word [ebp + esi*2 - 2], 0x2c
jmp 0x5f55c8
mov dword [esp + 0xd0], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x2c
call fcn.005a0970
lea eax, [0x5f6140]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0xd0]
mov edi, dword [ecx + 0xcc]
test edi, edi
je 0x5f569b
test dl, dl
je 0x5f5627
inc esi
cmp ebx, esi
jae 0x5f561e
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0180]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov word [ebp + esi*2 - 2], 0x33
jmp 0x5f569b
mov dword [esp + 0xcc], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x33
call fcn.005a0970
lea eax, [0x5f5fe0]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0xcc]
mov edi, dword [ecx + 0xdc]
test edi, edi
je 0x5f576e
test dl, dl
je 0x5f56fa
inc esi
cmp ebx, esi
jae 0x5f56f1
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0180]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov word [ebp + esi*2 - 2], 0x2d
jmp 0x5f576e
mov dword [esp + 0xc8], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x2d
call fcn.005a0970
lea eax, [0x5f5f40]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0xc8]
test esi, esi
je 0x5f5804
test dl, dl
je 0x5f5804
mov dword [esp + 0x98], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0xfd00
call fcn.005a0970
mov dword [esp + 0x108], 0
lea eax, [0x5f5e80]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x100], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
lea eax, [esp + 0xfc]
mov dword [esp + 4], eax
call fcn.005a0aa0
xor eax, eax
mov ecx, dword [esp + 0x118]
movzx edx, byte [esp + 0x11c]
mov ebx, dword [ecx + 0xe8]
test ebx, ebx
je 0x5f5853
lea eax, [esp + 0x68]
mov dword [esp], eax
mov word [esp + 4], 0x29
call fcn.005a0970
lea eax, [0x5f5c50]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.005a0aa0
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.005a08a0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5f58a1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], ecx
add esp, 0x114
ret
mov ecx, dword [esp + 4]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x24], ebx
lea edi, [esp + 0x9c]
xor eax, eax
call fcn.004773d5
lea ecx, [esp + 0x9c]
mov dword [esp], ecx
mov byte [esp + 4], 1
call fcn.005a0920
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.004773da
lea ecx, [0x5f59b0]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x118]
mov dword [esp + 0xe8], ecx
movzx ecx, byte [esp + 0x11c]
mov byte [esp + 0xec], cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xf0], ecx
lea ecx, [esp + 0x9c]
mov dword [esp], ecx
lea ecx, [esp + 0xe4]
mov dword [esp + 4], ecx
call fcn.005a0ae0
lea ecx, [esp + 0x9c]
mov dword [esp], ecx
call fcn.005a08a0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebp
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], esi
add esp, 0x114
ret
call fcn.00475ee0
jmp fcn.005f4cf0