Function at 0x5f2100
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 0x5f2109
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 0x5f3404
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.00407494
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.0063edf0
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x24]
call fcn.005f1838
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x24]
call fcn.004078bc
cmp dword [ebp - 0xc], 0
jne 0x5f21b3
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x14]
call fcn.004078bc
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x18]
call fcn.004078bc
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 8]
call fcn.0041c1e0
mov eax, dword [ebp - 0x58]
mov edx, 0x5f3428
call fcn.004086a0
jne 0x5f2231
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.00407874
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.00407874
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.00407874
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.00407874
jmp 0x5f2273
xor ebx, ebx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x20c
call fcn.00407494
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x210
call fcn.00407494
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x220
call fcn.00407494
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x224
call fcn.00407494
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x58], 0
je 0x5f2280
test bl, bl
je 0x5f2284
xor eax, eax
jmp 0x5f2286
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 0x5f22a0
cmp eax, 0
seta al
jmp 0x5f22a3
setg al
mov byte [ebp - 0x3e], al
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0x54]
and al, byte [ebp - 0x3e]
je 0x5f22c4
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x48]
mov edx, 0x5f3440
call fcn.004086a0
je 0x5f22c8
xor eax, eax
jmp 0x5f22ca
mov al, 1
mov byte [ebp - 0x3f], al
cmp byte [ebp - 0x3f], 0
je 0x5f22e5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov ecx, 0x5f3454
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
cmp byte [ebp - 0x3e], 0
je 0x5f234b
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.0041ce08
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x5f348c
call fcn.00408568
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 0x5f234b
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x44]
lea eax, [ebp - 0x64]
mov edx, 0x5f34bc
call fcn.00408568
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 0x5f2377
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x70]
lea eax, [ebp - 0x68]
mov edx, 0x5f34e8
call fcn.00408568
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 0x5f2394
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x84], 0
jle 0x5f241d
mov eax, dword [ebp - 0x38]
cmp ebx, dword [eax + 0x84]
jg 0x5f23e9
push 0x5f3510
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0041cde0
push dword [ebp - 0x70]
push 0x5f3538
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x84]
call fcn.0041cde0
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.004085f0
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 0x5f241d
push 0x5f3510
lea edx, [ebp - 0x7c]
mov eax, ebx
call fcn.0041cde0
push dword [ebp - 0x7c]
push 0x5f3538
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.004085f0
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.004074b8
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 0x5f248f
inc ebx
xor esi, esi
cmp dword [ebp - 0x2c], 0
je 0x5f244d
lea eax, [ebp - 0x2c]
mov edx, 0x5f3548
call fcn.00407cb8
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
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.00408510
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.00408018
inc esi
dec ebx
jne 0x5f243a
cmp dword [ebp - 0x2c], 0
je 0x5f24cc
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x5f3558
call fcn.00407d10
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
call fcn.004083d4
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.00407494
cmp byte [ebp - 0x45], 0
je 0x5f24e7
lea eax, [ebp - 0x28]
mov edx, 0x5f3570
call fcn.004078bc
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x4c], 0
je 0x5f2552
lea eax, [ebp - 0x90]
mov ecx, 0x5f358c
mov edx, dword [ebp - 0x28]
call fcn.00408568
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.0041cde0
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov edx, 0x5f35c8
call fcn.00408568
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 0x5f2578
lea eax, [ebp - 0x9c]
mov ecx, 0x5f35f0
mov edx, dword [ebp - 0x28]
call fcn.00408568
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 0x5f25fa
push dword [ebp - 0xc]
push 0x5f3620
push dword [ebp - 0x10]
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.004085f0
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
mov ecx, 0
call fcn.00408018
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.005f0e4c
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
mov edx, 0x5f3630
call fcn.00407d10
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
call fcn.004083d4
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 0x5f2693
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x60], 0
je 0x5f2693
mov eax, dword [ebp - 0x38]
push dword [eax + 0x60]
push 0x5f3620
mov eax, dword [ebp - 0x38]
push dword [eax + 0x64]
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.004085f0
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov ecx, 0
call fcn.00408018
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.005f0e4c
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
mov edx, 0x5f3654
call fcn.00407d10
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
call fcn.004083d4
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.005f0fcc
test al, al
je 0x5f26d1
push 0x5f367c
push dword [ebp - 0x14]
push 0x5f368c
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.004085f0
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.00408018
jmp 0x5f26e1
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov ecx, 0
call fcn.00408018
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x88], 0
je 0x5f27a0
mov eax, dword [ebp - 0x18]
mov edx, 0x5f369c
call fcn.004086a0
je 0x5f2720
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 8]
call fcn.0041c1e0
mov eax, dword [ebp - 0xcc]
mov edx, 0x5f36b0
call fcn.004086a0
je 0x5f274f
mov eax, dword [ebp - 0x18]
mov edx, 0x5f36c8
call fcn.004086a0
je 0x5f27a0
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 8]
call fcn.0041c1e0
mov eax, dword [ebp - 0xd0]
mov edx, 0x5f3428
call fcn.004086a0
jne 0x5f27a0
push 0x5f36dc
push dword [ebp - 0x2c]
push 0x5f36f0
lea eax, [ebp - 0xd8]
mov edx, 3
call fcn.00407d94
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0xd4]
call fcn.004083d4
lea eax, [ebp - 0xd4]
mov edx, dword [ebp - 0x18]
call fcn.00408510
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 0x5f27d7
lea eax, [ebp - 0xe0]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x5f36dc
call fcn.00407d10
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
call fcn.004083d4
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 0x5f2811
push dword [ebp - 8]
push 0x5f3700
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
push dword [ebp - 0xe4]
push 0x5f3620
push dword [ebp - 0x18]
push dword [ebp - 0x24]
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.004085f0
mov eax, dword [ebp - 0x24]
mov edx, 0x5f3714
call fcn.004086a0
jne 0x5f282d
lea eax, [ebp - 0x24]
mov edx, 0x5f3728
call fcn.004078bc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x48]
mov edx, 0x5f3738
call fcn.004086a0
jne 0x5f2880
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 0x3c]
call fcn.0041c1e0
push dword [ebp - 0xec]
push 0x5f374c
push dword [ebp - 0x24]
lea eax, [ebp - 0xe8]
mov edx, 3
call fcn.004085f0
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 0x5f28ca
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x3c]
call fcn.0041c1e0
push dword [ebp - 0xf4]
push 0x5f374c
push dword [ebp - 0x24]
push 0x5f375c
mov eax, dword [ebp - 0x38]
push dword [eax + 0x48]
lea eax, [ebp - 0xf0]
mov edx, 5
call fcn.004085f0
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 0x5f28f4
mov eax, dword [ebp - 0x38]
add eax, 4
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x58]
call fcn.00407874
mov eax, dword [ebp - 0x38]
add eax, 8
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x5c]
call fcn.00407874
jmp 0x5f2910
mov eax, dword [ebp - 0x38]
add eax, 4
mov edx, dword [ebp - 0x14]
call fcn.00407874
mov eax, dword [ebp - 0x38]
add eax, 8
mov edx, dword [ebp - 0x18]
call fcn.00407874
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 0x5f2943
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.0041c1e0
mov eax, dword [ebp - 0xfc]
mov edx, 0x5f3428
call fcn.004086a0
sete dl
mov eax, dword [ebp - 0x38]
call fcn.005f1e0c
test al, al
jne 0x5f298b
mov eax, dword [ebp - 0x38]
add eax, 0x34
call fcn.00407494
mov eax, dword [ebp - 0x38]
add eax, 0x38
call fcn.00407494
jmp 0x5f32d9
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 8]
call fcn.0041c1e0
mov eax, dword [ebp - 0x100]
mov edx, 0x5f3428
call fcn.004086a0
jne 0x5f29f2
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x208], 0
je 0x5f29f2
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, 0x5f3778
call fcn.00408568
mov eax, dword [ebp - 0x104]
call fcn.006354a8
push 0
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
call fcn.00499674
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5f2a17
cmp eax, 0
jbe 0x5f2a33
jmp 0x5f2a19
jle 0x5f2a33
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.0063f6a4
jmp 0x5f2a3b
lea eax, [ebp - 0x34]
call fcn.004074b8
push 0
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
call fcn.00499674
lea eax, [ebp - 4]
call fcn.00407494
cmp byte [ebp - 0x3f], 0
je 0x5f2bae
push 1
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 0x38]
call fcn.005f1c5c
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.00645fa0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
jne 0x5f32d9
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.00645f0c
cmp dword [ebp - 0x2c], 0
jne 0x5f2ac0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5f2a93
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x38]
call fcn.005f1b88
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
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.00645f0c
cmp dword [ebp - 0x2c], 0
je 0x5f2b14
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5f2ae7
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x68]
cmp eax, 0x64
jl 0x5f2d00
cmp eax, 0xc8
jge 0x5f2d00
lea eax, [ebp - 4]
call fcn.00407494
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 0x5f2d00
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5f2b7e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5f2d00
push 1
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 0x34]
call fcn.004083d4
mov edx, dword [ebp - 0x114]
mov ecx, 0x5f3790
mov eax, dword [ebp - 0x38]
call fcn.006460c4
jmp 0x5f2d00
cmp byte [ebp - 0x3e], 0
je 0x5f2cdc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5f2bd4
cmp eax, 0x10000
jb 0x5f2c76
jmp 0x5f2bda
jl 0x5f2c76
push 1
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 0x38]
call fcn.005f1c5c
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.00645fa0
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 0x5f2d00
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5f2c46
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5f2d00
push 1
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 0x34]
call fcn.004083d4
mov edx, dword [ebp - 0x11c]
mov ecx, 0x5f3790
mov eax, dword [ebp - 0x38]
call fcn.006460c4
jmp 0x5f2d00
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.0063f6a4
mov eax, dword [ebp - 0x120]
push eax
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x38]
call fcn.005f1c5c
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x2c]
pop ecx
call fcn.00407d10
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x5f2cc1
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.00645fa0
jmp 0x5f2d00
push 1
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x38]
call fcn.005f1c5c
mov ecx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.00645fa0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
jne 0x5f32d9
mov eax, dword [ebp - 0x38]
call fcn.005f1b34
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x30], 0
cmp dword [ebp - 4], 0
jne 0x5f2e15
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.00645f0c
cmp dword [ebp - 0x2c], 0
jne 0x5f2d60
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5f2d33
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.0041c1e0
mov edx, dword [ebp - 0x12c]
mov ecx, 1
mov eax, 0x5f37ac
call fcn.004088e8
dec eax
jne 0x5f2dd4
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
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.004083d4
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x38]
call fcn.005f1b88
jmp 0x5f2df7
lea eax, [ebp - 0x2c]
mov edx, 0x5f37c4
call fcn.00407cb8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x2c]
call fcn.0063f6d8
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 0x5f2e23
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x68], 0x64
je 0x5f2d33
jmp 0x5f2e23
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, 0x5f3440
call fcn.004086a0
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 0x5f3191
mov dl, 1
mov eax, dword [0x477328]
call fcn.004995f4
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x5f318a
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.00645f0c
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x2c], 0
je 0x5f2eb0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5f2e67
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x5f3163
lea ecx, [ebp - 0x140]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
call fcn.0063f73c
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.00408018
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
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.004083d4
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.0041c1e0
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x30]
mov ecx, 0
call fcn.00408018
lea eax, [ebp - 0x150]
mov edx, dword [ebp - 0x30]
call fcn.004083d4
mov edx, dword [ebp - 0x150]
mov ecx, 1
mov eax, 0x5f37d4
call fcn.004088e8
dec eax
jne 0x5f2fb1
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x158]
mov edx, 0x5f3620
call fcn.0063eda0
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.0041c55c
mov eax, dword [ebp - 0x154]
or edx, 0xffffffff
call fcn.0041d088
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x5f2fb1
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x30], 0
jne 0x5f2fb1
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x30], 1
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 0x30]
call fcn.004083d4
mov edx, dword [ebp - 0x160]
mov ecx, 1
mov eax, 0x5f3800
call fcn.004088e8
dec eax
jne 0x5f301d
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x168]
mov edx, 0x5f3620
call fcn.0063eda0
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.0041c55c
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x38]
add eax, 0x44
call fcn.00407874
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 0x30]
call fcn.004083d4
mov edx, dword [ebp - 0x170]
mov ecx, 1
mov eax, 0x5f3828
call fcn.004088e8
dec eax
jne 0x5f30b9
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 0x30]
call fcn.004083d4
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x178]
mov edx, 0x5f3620
call fcn.0063eda0
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.0041c55c
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.00408018
lea eax, [ebp - 0x180]
mov edx, dword [ebp - 0x2c]
call fcn.004083d4
mov edx, dword [ebp - 0x180]
mov ecx, 1
mov eax, 0x5f385c
call fcn.004088e8
test eax, eax
jle 0x5f30b9
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x30], 2
cmp byte [ebp - 0x45], 0
je 0x5f3112
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 0x30]
call fcn.004083d4
mov edx, dword [ebp - 0x184]
mov ecx, 1
mov eax, 0x5f3878
call fcn.004088e8
dec eax
jne 0x5f3163
lea eax, [ebp - 0x188]
mov edx, dword [ebp - 0x30]
call fcn.004083d4
mov edx, dword [ebp - 0x188]
mov ecx, 1
mov eax, 0x5f38a8
call fcn.004088e8
test eax, eax
jle 0x5f3163
mov byte [ebp - 0x40], 1
jmp 0x5f3163
lea eax, [ebp - 0x18c]
mov edx, dword [ebp - 0x30]
call fcn.004083d4
mov edx, dword [ebp - 0x18c]
mov ecx, 1
mov eax, 0x5f38c0
call fcn.004088e8
dec eax
jne 0x5f3163
lea eax, [ebp - 0x190]
mov edx, dword [ebp - 0x30]
call fcn.004083d4
mov edx, dword [ebp - 0x190]
mov ecx, 1
mov eax, 0x5f38a8
call fcn.004088e8
test eax, eax
jle 0x5f3163
mov byte [ebp - 0x40], 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x50]
jg 0x5f2eba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f3191
mov eax, dword [ebp - 0x4c]
call fcn.004058a8
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 0x5f32d9
mov eax, dword [ebp - 0x3c]
mov edx, 0x5f38e4
call fcn.004086a0
setne al
test al, al
je 0x5f31cc
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x68], 0xcc
jne 0x5f31d0
xor eax, eax
jmp 0x5f31d2
mov al, 1
test al, al
je 0x5f31e2
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x68], 0x130
jne 0x5f31e6
xor eax, eax
jmp 0x5f31e8
mov al, 1
test al, al
je 0x5f3227
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0x30]
sub al, 1
jb 0x5f31ff
je 0x5f320c
dec al
je 0x5f321c
jmp 0x5f3227
mov eax, dword [ebp - 0x38]
call fcn.005f390c
mov byte [ebp - 0x3d], al
jmp 0x5f3227
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x38]
call fcn.005f39d8
mov byte [ebp - 0x3d], al
jmp 0x5f3227
mov eax, dword [ebp - 0x38]
call fcn.005f3a1c
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x89], 0
je 0x5f329b
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5f3249
cmp eax, 0
jbe 0x5f329b
jmp 0x5f324b
jle 0x5f329b
push 0
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
call fcn.00499674
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.0063f6a4
mov edx, dword [ebp - 0x198]
lea eax, [ebp - 0x194]
call fcn.004083d4
mov edx, dword [ebp - 0x194]
mov ecx, 0x5f38fc
mov eax, dword [ebp - 0x38]
call fcn.006460c4
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 0x5f32d1
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.00407494
mov eax, dword [ebp - 0x38]
add eax, 0x38
call fcn.00407494
mov eax, dword [ebp - 0x38]
call fcn.005f3b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f340e
lea eax, [ebp - 0x198]
call fcn.004074b8
lea eax, [ebp - 0x194]
mov edx, 0x1b
call fcn.004074f4
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.00407524
lea eax, [ebp - 0x120]
call fcn.004074b8
lea eax, [ebp - 0x11c]
call fcn.00407494
lea eax, [ebp - 0x118]
call fcn.004074b8
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.004074f4
lea eax, [ebp - 0x10c]
call fcn.004074b8
lea eax, [ebp - 0x108]
mov edx, 0xa
call fcn.004074f4
lea eax, [ebp - 0xe0]
call fcn.004074b8
lea eax, [ebp - 0xdc]
call fcn.00407494
lea eax, [ebp - 0xd8]
call fcn.004074b8
lea eax, [ebp - 0xd4]
mov edx, 5
call fcn.004074f4
lea eax, [ebp - 0xc0]
mov edx, 3
call fcn.00407524
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.004074f4
lea eax, [ebp - 0xac]
mov edx, 3
call fcn.00407524
lea eax, [ebp - 0xa0]
mov edx, 5
call fcn.004074f4
lea eax, [ebp - 0x8c]
call fcn.004074b8
lea eax, [ebp - 0x88]
mov edx, 0xe
call fcn.004074f4
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00407524
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004074f4
ret