Function at 0x59aa10
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x59b36a
sub esp, 0x90
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax + 0x2c]
test cl, cl
je 0x59b34e
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
cmp dword [ecx + 4], 4
jne 0x59b347
cmp dword [edx], 0x44414548
sete cl
mov byte [esp + 0x24], cl
movzx edx, byte [eax + 0x2d]
test dl, dl
jne 0x59ad42
mov byte [eax + 0x2d], 1
mov ecx, dword [eax + 0x18]
mov dword [esp], ecx
lea ecx, [0x61190b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xe
call fcn.0056f3a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x59b2ad
test eax, eax
jne 0x59b2a1
mov edx, dword [esp + 0x94]
movzx ebx, byte [edx + 0x2e]
test bl, bl
je 0x59aac2
mov ebx, dword [edx + 0x28]
lea ebp, [ebx - 0x64]
cmp ebp, 0x63
ja 0x59b240
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], ecx
mov ebx, dword [edx + 0x18]
lea ebp, [0x605100]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [0x610f14]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xc
call fcn.0040f830
movzx eax, byte [esp + 0x14]
mov byte [esp + 0x25], al
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0x18]
mov dword [esp], edx
lea edx, [0x6122e3]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x10
call fcn.0056f3a0
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x59b1cb
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x18]
lea ebp, [0x605100]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [0x60f2a5]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 4
call fcn.0040f830
movzx eax, byte [esp + 0x14]
test al, al
je 0x59b123
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x18]
lea ebp, [0x605100]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [0x60faf6]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 7
call fcn.0040f4e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
xor edx, edx
jmp 0x59ac14
mov dword [esp + 0x3c], edx
lea eax, [ecx + edx*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ebp, [0x5b4ab0]
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0x94]
mov dword [esp + 0x64], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
call fcn.0059bf70
mov eax, dword [esp + 0x3c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
cmp edx, eax
jl 0x59abc0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x18]
lea edx, [0x605100]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x610548]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xa
call fcn.0040f830
movzx eax, byte [esp + 0x14]
test al, al
jne 0x59b083
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax + 0x2e]
test cl, cl
je 0x59ac6d
mov ecx, dword [eax + 0x20]
test ecx, ecx
jle 0x59b06a
movzx ecx, byte [esp + 0x24]
mov byte [esp + 0x26], cl
lea eax, [0x5fd540]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov edx, dword [esp + 4]
mov ecx, dword [ecx + 4]
mov dword [edx], ecx
mov ecx, dword [eax + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [0x7a0970]
mov ebx, dword [eax + 0x18]
test ecx, ecx
jne 0x59b057
mov dword [edx + 8], ebx
movzx ecx, byte [esp + 0x26]
mov byte [edx + 0x18], cl
mov ebx, dword [esp + 0x30]
mov dword [edx + 0x28], ebx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x59b042
mov ebx, dword [esp + 0x4c]
mov dword [edx + 0x24], ebx
mov ebx, dword [esp + 0x34]
mov dword [edx + 0x30], ebx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x59b02d
mov ebx, dword [esp + 0x50]
mov dword [edx + 0x2c], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edx + 0x20], ebx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x59b018
mov ebx, dword [esp + 0x48]
mov dword [edx + 0x1c], ebx
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00599ec0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x59afed
movzx eax, byte [esp + 0x26]
test al, al
jne 0x59afc5
movzx eax, byte [esp + 0x24]
test al, al
jne 0x59af9a
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x59af8e
mov ecx, dword [esp + 0x94]
movzx edx, byte [ecx + 0x2e]
test dl, dl
je 0x59af66
movzx edx, byte [ecx + 0x2e]
test dl, dl
jne 0x59af52
mov dword [esp], ecx
call fcn.0059a7d0
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x94]
movzx edx, byte [ecx + 0x2e]
test dl, dl
je 0x59af3d
mov edx, eax
xor eax, 1
mov ebx, dword [esp + 0x9c]
test ebx, ebx
mov byte [esp + 0x27], dl
jle 0x59af30
mov edx, dword [ecx + 0xc]
mov ebp, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x10], edx
mov byte [esp + 0x14], al
call fcn.00594600
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x59af05
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax + 0x2e]
test cl, cl
je 0x59ae10
movzx ecx, byte [esp + 0x27]
test cl, cl
jne 0x59ae3b
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x90
ret
lea eax, [0x5fd540]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov edx, dword [esp + 4]
mov ecx, dword [ecx + 4]
mov dword [edx], ecx
mov ecx, dword [0x7a0970]
mov ebx, dword [eax + 0x14]
test ecx, ecx
jne 0x59aef2
mov dword [edx + 8], ebx
mov ecx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], ebp
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x59aee2
mov dword [edx + 0xc], ecx
mov byte [edx + 0x18], 1
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00599ec0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x59aebf
mov eax, dword [esp + 0x94]
mov byte [eax + 0x2f], 1
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
add esp, 0x90
ret
lea edi, [edx + 0xc]
mov ebx, eax
mov eax, ecx
call fcn.0045de10
mov eax, ebx
jmp 0x59ae8b
lea edi, [edx + 8]
mov ecx, eax
mov eax, ebx
call fcn.0045de10
mov eax, ecx
jmp 0x59ae6f
mov eax, dword [esp + 0x94]
mov byte [eax + 0x2f], 1
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
add esp, 0x90
ret
test al, al
jne 0x59adb5
jmp 0x59adf8
mov ebx, dword [esp + 0x9c]
test ebx, ebx
mov edx, eax
mov eax, 0
jmp 0x59adab
mov dword [esp], ecx
call fcn.0059b380
mov ecx, dword [esp + 0x94]
jmp 0x59ad7d
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x90
ret
mov ecx, dword [esp + 0x94]
jmp 0x59ad71
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x90
ret
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
mov byte [eax + 0x2f], 1
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
add esp, 0x90
ret
lea edi, [edx + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x48]
call fcn.0045de10
mov eax, ebx
jmp 0x59ad0c
lea edi, [edx + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x50]
call fcn.0045de10
mov eax, ebx
jmp 0x59acf0
lea edi, [edx + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045de10
mov eax, ebx
jmp 0x59acd4
lea edi, [edx + 8]
mov ecx, eax
mov eax, ebx
call fcn.0045de10
mov eax, ecx
jmp 0x59acb0
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jne 0x59ac6d
mov ecx, 1
jmp 0x59ac72
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x18]
mov dword [esp], ecx
lea ecx, [0x610548]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
call fcn.0056f3a0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x38], ebx
lea ebp, [0x605100]
mov dword [esp], ebp
mov dword [esp + 4], ecx
lea ecx, [0x610548]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xa
call fcn.0040ff50
mov eax, dword [esp + 0x38]
cmp eax, 5
jne 0x59ac53
mov eax, dword [esp + 0x58]
cmp dword [eax], 0x736f6c63
jne 0x59ac53
cmp byte [eax + 4], 0x65
jne 0x59ac53
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.00595600
jmp 0x59ac53
call fcn.0049fa20
lea edi, [esp + 0x7c]
lea esi, [esp]
call fcn.0045e58e
lea edi, [esp + 0x68]
lea esi, [esp + 0x7c]
call fcn.0045e58e
nop
nop
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test ecx, 0x80000000
je 0x59b193
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or ecx, eax
shl edx, 1
mov eax, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
mov ecx, edx
add edx, 0xd7b17f80
mov dword [esp + 0x70], edx
shr eax, 0x1f
add ecx, 0xd7b17f80
adc eax, 0xd
mov dword [esp + 0x74], eax
and dword [esp + 0x68], 0x3fffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], 0
lea edi, [esp]
lea esi, [esp + 0x68]
call fcn.0045e58e
lea eax, [0x617585]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x1d
call fcn.004979e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x59ab75
movzx eax, byte [esp + 0x25]
test al, al
jne 0x59ab2a
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x28]
lea edx, [ecx - 0x64]
cmp edx, 0x63
jbe 0x59ab2a
cmp ecx, 0xcc
je 0x59ab2a
cmp ecx, 0x130
je 0x59ab2a
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jle 0x59ab2a
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp + 8], edx
call fcn.005ac7c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x59ab2e
cmp ebx, 0xcc
je 0x59aac2
cmp ebx, 0x130
je 0x59aac2
mov ebx, dword [esp + 0x9c]
test ebx, ebx
jle 0x59b290
mov eax, ebx
sar ebx, 0x1f
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], 0xa
call fcn.0046cb40
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x94]
jmp 0x59aac2
movzx ebp, byte [esp + 0x24]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x59aac2
jmp 0x59b263
mov edx, dword [esp + 0x94]
jmp 0x59aac2
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x54], ecx
nop
lea edx, [0x61190b]
mov dword [esp], edx
mov dword [esp + 4], 0xe
call fcn.00570840
lea eax, [0x5fc640]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040ff50
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x3f
call fcn.00466920
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x59b32d
xor eax, eax
xor ecx, ecx
jmp 0x59aa9c
mov ebx, dword [esp + 0x94]
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x30], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
jmp 0x59aa9c
xor ecx, ecx
jmp 0x59aa5b
mov dword [esp], eax
mov dword [esp + 4], 0xc8
call fcn.0059b7c0
mov eax, dword [esp + 0x94]
jmp 0x59aa43
call fcn.0045c8b0
jmp fcn.0059aa10