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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x5d75c9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x5d88c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x3d], 0
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x68], 0x1f4
mov eax, dword [ebp - 0x38]
add eax, 0x6c
call fcn.00408e5c
mov eax, dword [ebp - 0x38]
xor edx, edx
mov dword [eax + 0x78], edx
mov eax, dword [ebp - 0x38]
xor edx, edx
mov dword [eax + 0x7c], edx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00625100
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x24]
call fcn.005d6cf8
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x24]
call fcn.00409284
cmp dword [ebp - 0xc], 0
jne 0x5d7673
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x14]
call fcn.00409284
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x18]
call fcn.00409284
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 8]
call fcn.0041ef48
mov eax, dword [ebp - 0x58]
mov edx, 0x5d88e8
call fcn.00409ff4
jne 0x5d76f1
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x58], 0
setne bl
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x20c
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x58]
call fcn.0040923c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x210
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x5c]
call fcn.0040923c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x220
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x60]
call fcn.0040923c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x224
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x64]
call fcn.0040923c
jmp 0x5d7733
xor ebx, ebx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x20c
call fcn.00408e5c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x210
call fcn.00408e5c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x220
call fcn.00408e5c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x224
call fcn.00408e5c
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x58], 0
je 0x5d7740
test bl, bl
je 0x5d7744
xor eax, eax
jmp 0x5d7746
mov al, 1
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5d7760
cmp eax, 0
seta al
jmp 0x5d7763
setg al
mov byte [ebp - 0x3e], al
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0x54]
and al, byte [ebp - 0x3e]
je 0x5d7784
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x48]
mov edx, 0x5d8900
call fcn.00409ff4
je 0x5d7788
xor eax, eax
jmp 0x5d778a
mov al, 1
mov byte [ebp - 0x3f], al
cmp byte [ebp - 0x3f], 0
je 0x5d77a5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov ecx, 0x5d8914
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
cmp byte [ebp - 0x3e], 0
je 0x5d780b
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x60]
call fcn.0041fb70
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x5d894c
call fcn.00409ebc
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x44], 0
je 0x5d780b
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x44]
lea eax, [ebp - 0x64]
mov edx, 0x5d897c
call fcn.00409ebc
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x70], 0
je 0x5d7837
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x70]
lea eax, [ebp - 0x68]
mov edx, 0x5d89a8
call fcn.00409ebc
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 0x80]
test ebx, ebx
jg 0x5d7854
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x84], 0
jle 0x5d78dd
mov eax, dword [ebp - 0x38]
cmp ebx, dword [eax + 0x84]
jg 0x5d78a9
push 0x5d89d0
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0041fb48
push dword [ebp - 0x70]
push 0x5d89f8
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x84]
call fcn.0041fb48
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.00409f44
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
jmp 0x5d78dd
push 0x5d89d0
lea edx, [ebp - 0x7c]
mov eax, ebx
call fcn.0041fb48
push dword [ebp - 0x7c]
push 0x5d89f8
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00409f44
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
lea eax, [ebp - 0x2c]
call fcn.00408e80
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5d794f
inc ebx
xor esi, esi
cmp dword [ebp - 0x2c], 0
je 0x5d790d
lea eax, [ebp - 0x2c]
mov edx, 0x5d8a08
call fcn.00409680
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x74]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x84]
pop eax
call fcn.00409e64
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004099e0
inc esi
dec ebx
jne 0x5d78fa
cmp dword [ebp - 0x2c], 0
je 0x5d798c
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x5d8a18
call fcn.004096d8
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
call fcn.00409d28
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
lea eax, [ebp - 0x28]
call fcn.00408e5c
cmp byte [ebp - 0x45], 0
je 0x5d79a7
lea eax, [ebp - 0x28]
mov edx, 0x5d8a30
call fcn.00409284
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x4c], 0
je 0x5d7a12
lea eax, [ebp - 0x90]
mov ecx, 0x5d8a4c
mov edx, dword [ebp - 0x28]
call fcn.00409ebc
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x50]
call fcn.0041fb48
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov edx, 0x5d8a88
call fcn.00409ebc
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
jmp 0x5d7a38
lea eax, [ebp - 0x9c]
mov ecx, 0x5d8ab0
mov edx, dword [ebp - 0x28]
call fcn.00409ebc
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
cmp dword [ebp - 0xc], 0
je 0x5d7aba
push dword [ebp - 0xc]
push 0x5d8ae0
push dword [ebp - 0x10]
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.00409f44
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
mov ecx, 0
call fcn.004099e0
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.005d630c
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
mov edx, 0x5d8af0
call fcn.004096d8
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
call fcn.00409d28
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
cmp byte [ebp - 0x45], 0
je 0x5d7b53
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x60], 0
je 0x5d7b53
mov eax, dword [ebp - 0x38]
push dword [eax + 0x60]
push 0x5d8ae0
mov eax, dword [ebp - 0x38]
push dword [eax + 0x64]
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.00409f44
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov ecx, 0
call fcn.004099e0
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.005d630c
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
mov edx, 0x5d8b14
call fcn.004096d8
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
call fcn.00409d28
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.005d648c
test al, al
je 0x5d7b91
push 0x5d8b3c
push dword [ebp - 0x14]
push 0x5d8b4c
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.00409f44
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004099e0
jmp 0x5d7ba1
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov ecx, 0
call fcn.004099e0
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x88], 0
je 0x5d7c60
mov eax, dword [ebp - 0x18]
mov edx, 0x5d8b5c
call fcn.00409ff4
je 0x5d7be0
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 8]
call fcn.0041ef48
mov eax, dword [ebp - 0xcc]
mov edx, 0x5d8b70
call fcn.00409ff4
je 0x5d7c0f
mov eax, dword [ebp - 0x18]
mov edx, 0x5d8b88
call fcn.00409ff4
je 0x5d7c60
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 8]
call fcn.0041ef48
mov eax, dword [ebp - 0xd0]
mov edx, 0x5d88e8
call fcn.00409ff4
jne 0x5d7c60
push 0x5d8b9c
push dword [ebp - 0x2c]
push 0x5d8bb0
lea eax, [ebp - 0xd8]
mov edx, 3
call fcn.0040975c
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0xd4]
call fcn.00409d28
lea eax, [ebp - 0xd4]
mov edx, dword [ebp - 0x18]
call fcn.00409e64
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
jmp 0x5d7c97
lea eax, [ebp - 0xe0]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x5d8b9c
call fcn.004096d8
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
call fcn.00409d28
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
cmp byte [ebp - 0x45], 0
je 0x5d7cd1
push dword [ebp - 8]
push 0x5d8bc0
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
push dword [ebp - 0xe4]
push 0x5d8ae0
push dword [ebp - 0x18]
push dword [ebp - 0x24]
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00409f44
mov eax, dword [ebp - 0x24]
mov edx, 0x5d8bd4
call fcn.00409ff4
jne 0x5d7ced
lea eax, [ebp - 0x24]
mov edx, 0x5d8be8
call fcn.00409284
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x48]
mov edx, 0x5d8bf8
call fcn.00409ff4
jne 0x5d7d40
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 0x3c]
call fcn.0041ef48
push dword [ebp - 0xec]
push 0x5d8c0c
push dword [ebp - 0x24]
lea eax, [ebp - 0xe8]
mov edx, 3
call fcn.00409f44
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
jmp 0x5d7d8a
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x3c]
call fcn.0041ef48
push dword [ebp - 0xf4]
push 0x5d8c0c
push dword [ebp - 0x24]
push 0x5d8c1c
mov eax, dword [ebp - 0x38]
push dword [eax + 0x48]
lea eax, [ebp - 0xf0]
mov edx, 5
call fcn.00409f44
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
cmp byte [ebp - 0x45], 0
je 0x5d7db4
mov eax, dword [ebp - 0x38]
add eax, 4
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x58]
call fcn.0040923c
mov eax, dword [ebp - 0x38]
add eax, 8
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x5c]
call fcn.0040923c
jmp 0x5d7dd0
mov eax, dword [ebp - 0x38]
add eax, 4
mov edx, dword [ebp - 0x14]
call fcn.0040923c
mov eax, dword [ebp - 0x38]
add eax, 8
mov edx, dword [ebp - 0x18]
call fcn.0040923c
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 0x3c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0xf8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xf8], 0
je 0x5d7e03
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 8]
call fcn.0041ef48
mov eax, dword [ebp - 0xfc]
mov edx, 0x5d88e8
call fcn.00409ff4
sete dl
mov eax, dword [ebp - 0x38]
call fcn.005d72cc
test al, al
jne 0x5d7e4b
mov eax, dword [ebp - 0x38]
add eax, 0x34
call fcn.00408e5c
mov eax, dword [ebp - 0x38]
add eax, 0x38
call fcn.00408e5c
jmp 0x5d8799
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 8]
call fcn.0041ef48
mov eax, dword [ebp - 0x100]
mov edx, 0x5d88e8
call fcn.00409ff4
jne 0x5d7eb2
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x208], 0
je 0x5d7eb2
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x208]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
mov edx, 0x5d8c38
call fcn.00409ebc
mov eax, dword [ebp - 0x104]
call fcn.0061b7c0
push 0
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
call fcn.0049cf34
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5d7ed7
cmp eax, 0
jbe 0x5d7ef3
jmp 0x5d7ed9
jle 0x5d7ef3
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 0x40]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0x34]
mov eax, ebx
call fcn.006259b4
jmp 0x5d7efb
lea eax, [ebp - 0x34]
call fcn.00408e80
push 0
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
call fcn.0049cf34
lea eax, [ebp - 4]
call fcn.00408e5c
cmp byte [ebp - 0x3f], 0
je 0x5d806e
push 1
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 0x38]
call fcn.005d711c
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.0062c2b0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
jne 0x5d8799
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.0062c21c
cmp dword [ebp - 0x2c], 0
jne 0x5d7f80
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5d7f53
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x38]
call fcn.005d7048
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.0062c21c
cmp dword [ebp - 0x2c], 0
je 0x5d7fd4
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5d7fa7
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x68]
cmp eax, 0x64
jl 0x5d81c0
cmp eax, 0xc8
jge 0x5d81c0
lea eax, [ebp - 4]
call fcn.00408e5c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x7c], eax
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 0x40]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x89], 0
je 0x5d81c0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5d803e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5d81c0
push 1
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 0x34]
call fcn.00409d28
mov edx, dword [ebp - 0x114]
mov ecx, 0x5d8c50
mov eax, dword [ebp - 0x38]
call fcn.0062c3d4
jmp 0x5d81c0
cmp byte [ebp - 0x3e], 0
je 0x5d819c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5d8094
cmp eax, 0x10000
jb 0x5d8136
jmp 0x5d809a
jl 0x5d8136
push 1
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 0x38]
call fcn.005d711c
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.0062c2b0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x7c], eax
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 0x40]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x89], 0
je 0x5d81c0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5d8106
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5d81c0
push 1
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 0x34]
call fcn.00409d28
mov edx, dword [ebp - 0x11c]
mov ecx, 0x5d8c50
mov eax, dword [ebp - 0x38]
call fcn.0062c3d4
jmp 0x5d81c0
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 0x40]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0x120]
mov eax, ebx
call fcn.006259b4
mov eax, dword [ebp - 0x120]
push eax
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x38]
call fcn.005d711c
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x2c]
pop ecx
call fcn.004096d8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x5d8181
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x7c], eax
push 1
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.0062c2b0
jmp 0x5d81c0
push 1
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x38]
call fcn.005d711c
mov ecx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.0062c2b0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
jne 0x5d8799
mov eax, dword [ebp - 0x38]
call fcn.005d6ff4
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x30], 0
cmp dword [ebp - 4], 0
jne 0x5d82d5
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.0062c21c
cmp dword [ebp - 0x2c], 0
jne 0x5d8220
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5d81f3
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.0041ef48
mov edx, dword [ebp - 0x12c]
mov ecx, 1
mov eax, 0x5d8c6c
call fcn.0040a23c
dec eax
jne 0x5d8294
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x38]
call fcn.005d7048
jmp 0x5d82b7
lea eax, [ebp - 0x2c]
mov edx, 0x5d8c84
call fcn.00409680
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x2c]
call fcn.006259e8
mov eax, dword [ebp - 0x38]
xor edx, edx
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
jne 0x5d82e3
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x68], 0x64
je 0x5d81f3
jmp 0x5d82e3
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x48]
mov edx, 0x5d8900
call fcn.00409ff4
setne byte [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5d8651
mov dl, 1
mov eax, dword [0x47a8bc]
call fcn.0049ceb4
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x5d864a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.0062c21c
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x2c], 0
je 0x5d8370
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5d8327
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x5d8623
lea ecx, [ebp - 0x140]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
call fcn.00625a4c
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004099e0
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.0041ef48
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x30]
mov ecx, 0
call fcn.004099e0
lea eax, [ebp - 0x150]
mov edx, dword [ebp - 0x30]
call fcn.00409d28
mov edx, dword [ebp - 0x150]
mov ecx, 1
mov eax, 0x5d8c94
call fcn.0040a23c
dec eax
jne 0x5d8471
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x158]
mov edx, 0x5d8ae0
call fcn.006250b0
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.0041f2c4
mov eax, dword [ebp - 0x154]
or edx, 0xffffffff
call fcn.0041fdf0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x5d8471
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x30], 0
jne 0x5d8471
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x30], 1
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 0x30]
call fcn.00409d28
mov edx, dword [ebp - 0x160]
mov ecx, 1
mov eax, 0x5d8cc0
call fcn.0040a23c
dec eax
jne 0x5d84dd
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x168]
mov edx, 0x5d8ae0
call fcn.006250b0
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.0041f2c4
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x38]
add eax, 0x44
call fcn.0040923c
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 0x30]
call fcn.00409d28
mov edx, dword [ebp - 0x170]
mov ecx, 1
mov eax, 0x5d8ce8
call fcn.0040a23c
dec eax
jne 0x5d8579
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 0x30]
call fcn.00409d28
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x178]
mov edx, 0x5d8ae0
call fcn.006250b0
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.0041f2c4
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004099e0
lea eax, [ebp - 0x180]
mov edx, dword [ebp - 0x2c]
call fcn.00409d28
mov edx, dword [ebp - 0x180]
mov ecx, 1
mov eax, 0x5d8d1c
call fcn.0040a23c
test eax, eax
jle 0x5d8579
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x30], 2
cmp byte [ebp - 0x45], 0
je 0x5d85d2
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 0x30]
call fcn.00409d28
mov edx, dword [ebp - 0x184]
mov ecx, 1
mov eax, 0x5d8d38
call fcn.0040a23c
dec eax
jne 0x5d8623
lea eax, [ebp - 0x188]
mov edx, dword [ebp - 0x30]
call fcn.00409d28
mov edx, dword [ebp - 0x188]
mov ecx, 1
mov eax, 0x5d8d68
call fcn.0040a23c
test eax, eax
jle 0x5d8623
mov byte [ebp - 0x40], 1
jmp 0x5d8623
lea eax, [ebp - 0x18c]
mov edx, dword [ebp - 0x30]
call fcn.00409d28
mov edx, dword [ebp - 0x18c]
mov ecx, 1
mov eax, 0x5d8d80
call fcn.0040a23c
dec eax
jne 0x5d8623
lea eax, [ebp - 0x190]
mov edx, dword [ebp - 0x30]
call fcn.00409d28
mov edx, dword [ebp - 0x190]
mov ecx, 1
mov eax, 0x5d8d68
call fcn.0040a23c
test eax, eax
jle 0x5d8623
mov byte [ebp - 0x40], 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x50]
jg 0x5d837a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d8651
mov eax, dword [ebp - 0x4c]
call fcn.00407240
ret
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
sete byte [ebp - 0x3d]
cmp byte [ebp - 0x3d], 0
je 0x5d8799
mov eax, dword [ebp - 0x3c]
mov edx, 0x5d8da4
call fcn.00409ff4
setne al
test al, al
je 0x5d868c
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x68], 0xcc
jne 0x5d8690
xor eax, eax
jmp 0x5d8692
mov al, 1
test al, al
je 0x5d86a2
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x68], 0x130
jne 0x5d86a6
xor eax, eax
jmp 0x5d86a8
mov al, 1
test al, al
je 0x5d86e7
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0x30]
sub al, 1
jb 0x5d86bf
je 0x5d86cc
dec al
je 0x5d86dc
jmp 0x5d86e7
mov eax, dword [ebp - 0x38]
call fcn.005d8dcc
mov byte [ebp - 0x3d], al
jmp 0x5d86e7
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x38]
call fcn.005d8e98
mov byte [ebp - 0x3d], al
jmp 0x5d86e7
mov eax, dword [ebp - 0x38]
call fcn.005d8edc
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x89], 0
je 0x5d875b
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5d8709
cmp eax, 0
jbe 0x5d875b
jmp 0x5d870b
jle 0x5d875b
push 0
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
call fcn.0049cf34
push 1
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 0x40]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0x198]
mov eax, ebx
call fcn.006259b4
mov edx, dword [ebp - 0x198]
lea eax, [ebp - 0x194]
call fcn.00409d28
mov edx, dword [ebp - 0x194]
mov ecx, 0x5d8dbc
mov eax, dword [ebp - 0x38]
call fcn.0062c3d4
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x1c]
cmp byte [ebp - 0x40], 0
je 0x5d8791
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x38]
add eax, 0x34
call fcn.00408e5c
mov eax, dword [ebp - 0x38]
add eax, 0x38
call fcn.00408e5c
mov eax, dword [ebp - 0x38]
call fcn.005d9054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d88ce
lea eax, [ebp - 0x198]
call fcn.00408e80
lea eax, [ebp - 0x194]
mov edx, 0x1b
call fcn.00408ebc
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.00408eec
lea eax, [ebp - 0x120]
call fcn.00408e80
lea eax, [ebp - 0x11c]
call fcn.00408e5c
lea eax, [ebp - 0x118]
call fcn.00408e80
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00408ebc
lea eax, [ebp - 0x10c]
call fcn.00408e80
lea eax, [ebp - 0x108]
mov edx, 0xa
call fcn.00408ebc
lea eax, [ebp - 0xe0]
call fcn.00408e80
lea eax, [ebp - 0xdc]
call fcn.00408e5c
lea eax, [ebp - 0xd8]
call fcn.00408e80
lea eax, [ebp - 0xd4]
mov edx, 5
call fcn.00408ebc
lea eax, [ebp - 0xc0]
mov edx, 3
call fcn.00408eec
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.00408ebc
lea eax, [ebp - 0xac]
mov edx, 3
call fcn.00408eec
lea eax, [ebp - 0xa0]
mov edx, 5
call fcn.00408ebc
lea eax, [ebp - 0x8c]
call fcn.00408e80
lea eax, [ebp - 0x88]
mov edx, 0xe
call fcn.00408ebc
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00408eec
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00408ebc
ret