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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a19e1
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.005a0e70
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
lea ecx, [0x606400]
mov dword [esp], ecx
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.0056f440
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp], 0
call fcn.00448630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x5a19c9
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], eax
lea edx, [0x6270d0]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x74], edx
lea ebx, [esp + 0x8c]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x27], 1
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a0d10
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
movzx ebx, byte [esp + 0x20]
mov byte [esp + 0x25], bl
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [edi + 4], ebp
mov ebp, dword [0x7a0970]
test ebp, ebp
jne 0x5a19bf
mov dword [edi], eax
mov ebp, dword [esp + 0x88]
mov dword [ebp + 0x68], esi
mov esi, dword [0x7a0970]
test esi, esi
jne 0x5a19b0
mov dword [ebp + 0x64], ecx
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], ebx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x5a19a1
mov dword [ecx + 0xc], edx
movzx eax, byte [esp + 0x25]
test al, al
je 0x5a18c7
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
jg 0x5a189f
xor eax, eax
test al, al
je 0x5a17b1
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x68]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.005a0af0
mov eax, dword [esp + 0x88]
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x88]
mov dword [eax + 0x18], ebx
test cl, cl
je 0x5a16c2
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
cmp dword [eax + 4], 7
jne 0x5a16b7
cmp dword [ecx], 0x4e4e4f43
jne 0x5a16ac
cmp word [ecx + 4], 0x4345
jne 0x5a16a1
cmp byte [ecx + 6], 0x54
jne 0x5a1696
mov eax, dword [esp + 0x38]
cmp eax, 1
jge 0x5a166a
xor ecx, ecx
xor ecx, 1
mov byte [esp + 0x26], cl
test cl, cl
jne 0x5a1633
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00522b70
mov eax, dword [esp + 0x88]
test byte [eax], al
mov ecx, dword [0x7a0970]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x5a1624
mov dword [eax + 8], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
test esi, esi
jne 0x5a15fc
movzx ecx, byte [esp + 0x26]
test cl, cl
je 0x5a121d
mov ecx, dword [esp + 0x88]
mov edi, dword [ecx + 8]
mov dword [edi + 4], 0
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x5a15f0
mov dword [edi], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00570120
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
test ebx, ebx
jne 0x5a15c8
mov ecx, dword [esp + 0x88]
test byte [ecx], al
mov edx, dword [0x7a0970]
test edx, edx
jne 0x5a15bb
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [ecx + 0x48], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x5a15ae
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x5a1544
movzx eax, byte [esp + 0x84]
test al, al
jne 0x5a1511
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x54], eax
lea ecx, [0x605100]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x60f78c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 6
call fcn.0040f830
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
movzx edx, byte [esp + 0x14]
test dl, dl
je 0x5a1314
test eax, eax
jle 0x5a1314
mov eax, dword [ecx]
cmp dword [ecx + 4], 8
jne 0x5a1314
cmp dword [eax], 0x632d6f6e
jne 0x5a1314
cmp dword [eax + 4], 0x65686361
je 0x5a145a
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0
call fcn.005adf90
mov eax, dword [esp + 0x88]
movzx ecx, byte [esp + 0x10]
mov byte [eax + 0x40], cl
mov eax, dword [esp + 0x88]
lea ecx, [0x608e20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call fcn.005acdc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
test edx, edx
jne 0x5a1432
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
cmp dword [eax + 4], 3
jne 0x5a13fb
cmp word [ecx], 0x5250
jne 0x5a13fb
cmp byte [ecx + 2], 0x49
jne 0x5a13fb
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x5a142e
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5a13fb
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x1c]
cmp dword [ecx + 0x20], 1
jne 0x5a13fb
cmp byte [edx], 0x2a
jne 0x5a13fb
mov ecx, dword [eax + 0xc]
cmp dword [eax + 0x10], 8
jne 0x5a13fb
cmp dword [ecx], 0x50545448
jne 0x5a13fb
cmp dword [ecx + 4], 0x302e322f
jne 0x5a13fb
mov dword [eax + 0x2c], 0xffffffff
mov dword [eax + 0x30], 0xffffffff
mov eax, dword [esp + 0x88]
mov byte [eax + 0x40], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov byte [esp + 0x27], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0800
add esp, 0x7c
ret
xor ecx, ecx
jmp 0x5a13b3
mov dword [esp + 0x88], 0
mov byte [esp + 0x27], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0800
add esp, 0x7c
ret
lea eax, [0x605100]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
lea edx, [0x611477]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xd
call fcn.0040f830
movzx eax, byte [esp + 0x14]
test al, al
jne 0x5a1314
lea eax, [0x5d6780]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [eax + 4], 8
lea ecx, [0x60ffaa]
mov dword [eax], ecx
lea ecx, [0x605100]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [0x611477]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xd
call fcn.0040fbb0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x7a0970]
test eax, eax
jne 0x5a1503
mov eax, dword [esp + 0x58]
mov dword [edi], eax
jmp 0x5a1314
mov eax, dword [esp + 0x58]
call fcn.0045de10
jmp 0x5a1314
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x1c]
lea ecx, [0x605100]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x60f2bd]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.0040ff50
jmp 0x5a12af
mov eax, dword [eax + 0x1c]
lea ecx, [0x605100]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x60f2bd]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.0040f4e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jle 0x5a15a8
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x48], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x5a1599
mov dword [ebx + 0x44], ecx
jmp 0x5a129f
lea edi, [ebx + 0x44]
mov eax, ecx
call fcn.0045de10
jmp 0x5a129f
xor ecx, ecx
xor edx, edx
jmp 0x5a157d
lea edi, [ecx + 0x44]
call fcn.0045de10
jmp 0x5a128d
lea edi, [ecx + 0x1c]
call fcn.0045de10
jmp 0x5a1269
mov dword [esp + 0x88], 0
mov byte [esp + 0x27], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0800
add esp, 0x7c
ret
xor eax, eax
call fcn.0045de10
jmp 0x5a121d
mov dword [esp + 0x88], 0
mov byte [esp + 0x27], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0800
add esp, 0x7c
ret
lea edi, [eax + 8]
mov eax, edx
call fcn.0045de10
jmp 0x5a11d9
mov dword [esp], 0
lea ecx, [0x60fbb3]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004484b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jmp 0x5a11a3
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
lea ecx, [0x60ef5d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call fcn.004028b0
movzx ecx, byte [esp + 0xc]
mov eax, dword [esp + 0x38]
jmp 0x5a1190
mov eax, dword [esp + 0x38]
xor ecx, ecx
jmp 0x5a1193
mov eax, dword [esp + 0x38]
xor ecx, ecx
jmp 0x5a1193
mov eax, dword [esp + 0x38]
xor ecx, ecx
jmp 0x5a1193
mov eax, dword [esp + 0x38]
xor ecx, ecx
jmp 0x5a1193
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea edx, [0x614cb4]
mov dword [esp], edx
mov dword [esp + 4], 0x16
call fcn.00409130
mov eax, dword [esp + 8]
lea ecx, [0x5db180]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00409130
mov eax, dword [esp + 8]
lea ecx, [0x5db180]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x60f43f]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004ad3c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov byte [esp + 0x27], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0800
add esp, 0x7c
ret
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea edx, [0x611b3b]
mov dword [esp], edx
mov dword [esp + 4], 0xe
call fcn.00409130
mov eax, dword [esp + 8]
lea ecx, [0x5db180]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00409130
mov eax, dword [esp + 8]
lea ecx, [0x5db180]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x60f43f]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004ad3c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov byte [esp + 0x27], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0800
add esp, 0x7c
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6270cc]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004c3ec0
cmp dword [esp + 0x10], 0xffffffff
sete al
jmp 0x5a10f4
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [0x614c9e]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.00409130
mov eax, dword [esp + 8]
lea ecx, [0x5db180]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00409130
mov eax, dword [esp + 8]
lea ecx, [0x5db180]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x60f43f]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004ad3c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov byte [esp + 0x27], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0800
add esp, 0x7c
ret
lea edi, [ecx + 0xc]
mov eax, edx
call fcn.0045de10
jmp 0x5a10d1
lea edi, [ebp + 0x64]
mov eax, ecx
call fcn.0045de10
jmp 0x5a10b6
call fcn.0045de10
jmp 0x5a109b
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
call fcn.0045c8b0
jmp fcn.005a0f50