Function at 0x5ed700
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 0x5ed709
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 0x5eea04
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.00408e74
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.00638eb0
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x24]
call fcn.005ece38
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x24]
call fcn.0040929c
cmp dword [ebp - 0xc], 0
jne 0x5ed7b3
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x14]
call fcn.0040929c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x18]
call fcn.0040929c
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 8]
call fcn.0041f230
mov eax, dword [ebp - 0x58]
mov edx, 0x5eea28
call fcn.0040a080
jne 0x5ed831
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.00409254
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.00409254
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.00409254
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.00409254
jmp 0x5ed873
xor ebx, ebx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x20c
call fcn.00408e74
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x210
call fcn.00408e74
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x220
call fcn.00408e74
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
add eax, 0x224
call fcn.00408e74
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x58], 0
je 0x5ed880
test bl, bl
je 0x5ed884
xor eax, eax
jmp 0x5ed886
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 0x5ed8a0
cmp eax, 0
seta al
jmp 0x5ed8a3
setg al
mov byte [ebp - 0x3e], al
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0x54]
and al, byte [ebp - 0x3e]
je 0x5ed8c4
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x48]
mov edx, 0x5eea40
call fcn.0040a080
je 0x5ed8c8
xor eax, eax
jmp 0x5ed8ca
mov al, 1
mov byte [ebp - 0x3f], al
cmp byte [ebp - 0x3f], 0
je 0x5ed8e5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov ecx, 0x5eea54
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x64]
cmp byte [ebp - 0x3e], 0
je 0x5ed94b
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.0041fe58
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x5eea8c
call fcn.00409f48
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 0x5ed94b
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x44]
lea eax, [ebp - 0x64]
mov edx, 0x5eeabc
call fcn.00409f48
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 0x5ed977
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x70]
lea eax, [ebp - 0x68]
mov edx, 0x5eeae8
call fcn.00409f48
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 0x5ed994
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x84], 0
jle 0x5eda1d
mov eax, dword [ebp - 0x38]
cmp ebx, dword [eax + 0x84]
jg 0x5ed9e9
push 0x5eeb10
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0041fe30
push dword [ebp - 0x70]
push 0x5eeb38
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x84]
call fcn.0041fe30
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.00409fd0
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 0x5eda1d
push 0x5eeb10
lea edx, [ebp - 0x7c]
mov eax, ebx
call fcn.0041fe30
push dword [ebp - 0x7c]
push 0x5eeb38
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00409fd0
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.00408e98
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 0x5eda8f
inc ebx
xor esi, esi
cmp dword [ebp - 0x2c], 0
je 0x5eda4d
lea eax, [ebp - 0x2c]
mov edx, 0x5eeb48
call fcn.00409698
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
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.00409ef0
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004099f8
inc esi
dec ebx
jne 0x5eda3a
cmp dword [ebp - 0x2c], 0
je 0x5edacc
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x5eeb58
call fcn.004096f0
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
call fcn.00409db4
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.00408e74
cmp byte [ebp - 0x45], 0
je 0x5edae7
lea eax, [ebp - 0x28]
mov edx, 0x5eeb70
call fcn.0040929c
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x4c], 0
je 0x5edb52
lea eax, [ebp - 0x90]
mov ecx, 0x5eeb8c
mov edx, dword [ebp - 0x28]
call fcn.00409f48
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.0041fe30
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov edx, 0x5eebc8
call fcn.00409f48
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 0x5edb78
lea eax, [ebp - 0x9c]
mov ecx, 0x5eebf0
mov edx, dword [ebp - 0x28]
call fcn.00409f48
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 0x5edbfa
push dword [ebp - 0xc]
push 0x5eec20
push dword [ebp - 0x10]
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.00409fd0
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
mov ecx, 0
call fcn.004099f8
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.005ec44c
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
mov edx, 0x5eec30
call fcn.004096f0
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
call fcn.00409db4
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 0x5edc93
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x60], 0
je 0x5edc93
mov eax, dword [ebp - 0x38]
push dword [eax + 0x60]
push 0x5eec20
mov eax, dword [ebp - 0x38]
push dword [eax + 0x64]
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.00409fd0
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov ecx, 0
call fcn.004099f8
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.005ec44c
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
mov edx, 0x5eec54
call fcn.004096f0
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
call fcn.00409db4
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.005ec5cc
test al, al
je 0x5edcd1
push 0x5eec7c
push dword [ebp - 0x14]
push 0x5eec8c
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.00409fd0
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004099f8
jmp 0x5edce1
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov ecx, 0
call fcn.004099f8
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x88], 0
je 0x5edda0
mov eax, dword [ebp - 0x18]
mov edx, 0x5eec9c
call fcn.0040a080
je 0x5edd20
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 8]
call fcn.0041f230
mov eax, dword [ebp - 0xcc]
mov edx, 0x5eecb0
call fcn.0040a080
je 0x5edd4f
mov eax, dword [ebp - 0x18]
mov edx, 0x5eecc8
call fcn.0040a080
je 0x5edda0
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 8]
call fcn.0041f230
mov eax, dword [ebp - 0xd0]
mov edx, 0x5eea28
call fcn.0040a080
jne 0x5edda0
push 0x5eecdc
push dword [ebp - 0x2c]
push 0x5eecf0
lea eax, [ebp - 0xd8]
mov edx, 3
call fcn.00409774
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0xd4]
call fcn.00409db4
lea eax, [ebp - 0xd4]
mov edx, dword [ebp - 0x18]
call fcn.00409ef0
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 0x5eddd7
lea eax, [ebp - 0xe0]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x5eecdc
call fcn.004096f0
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
call fcn.00409db4
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 0x5ede11
push dword [ebp - 8]
push 0x5eed00
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
push dword [ebp - 0xe4]
push 0x5eec20
push dword [ebp - 0x18]
push dword [ebp - 0x24]
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00409fd0
mov eax, dword [ebp - 0x24]
mov edx, 0x5eed14
call fcn.0040a080
jne 0x5ede2d
lea eax, [ebp - 0x24]
mov edx, 0x5eed28
call fcn.0040929c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x48]
mov edx, 0x5eed38
call fcn.0040a080
jne 0x5ede80
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 0x3c]
call fcn.0041f230
push dword [ebp - 0xec]
push 0x5eed4c
push dword [ebp - 0x24]
lea eax, [ebp - 0xe8]
mov edx, 3
call fcn.00409fd0
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 0x5edeca
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x3c]
call fcn.0041f230
push dword [ebp - 0xf4]
push 0x5eed4c
push dword [ebp - 0x24]
push 0x5eed5c
mov eax, dword [ebp - 0x38]
push dword [eax + 0x48]
lea eax, [ebp - 0xf0]
mov edx, 5
call fcn.00409fd0
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 0x5edef4
mov eax, dword [ebp - 0x38]
add eax, 4
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x58]
call fcn.00409254
mov eax, dword [ebp - 0x38]
add eax, 8
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x5c]
call fcn.00409254
jmp 0x5edf10
mov eax, dword [ebp - 0x38]
add eax, 4
mov edx, dword [ebp - 0x14]
call fcn.00409254
mov eax, dword [ebp - 0x38]
add eax, 8
mov edx, dword [ebp - 0x18]
call fcn.00409254
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 0x5edf43
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.0041f230
mov eax, dword [ebp - 0xfc]
mov edx, 0x5eea28
call fcn.0040a080
sete dl
mov eax, dword [ebp - 0x38]
call fcn.005ed40c
test al, al
jne 0x5edf8b
mov eax, dword [ebp - 0x38]
add eax, 0x34
call fcn.00408e74
mov eax, dword [ebp - 0x38]
add eax, 0x38
call fcn.00408e74
jmp 0x5ee8d9
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 8]
call fcn.0041f230
mov eax, dword [ebp - 0x100]
mov edx, 0x5eea28
call fcn.0040a080
jne 0x5edff2
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x208], 0
je 0x5edff2
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, 0x5eed78
call fcn.00409f48
mov eax, dword [ebp - 0x104]
call fcn.0063017c
push 0
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
call fcn.0049ce2c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5ee017
cmp eax, 0
jbe 0x5ee033
jmp 0x5ee019
jle 0x5ee033
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.00639764
jmp 0x5ee03b
lea eax, [ebp - 0x34]
call fcn.00408e98
push 0
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
call fcn.0049ce2c
lea eax, [ebp - 4]
call fcn.00408e74
cmp byte [ebp - 0x3f], 0
je 0x5ee1ae
push 1
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 0x38]
call fcn.005ed25c
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.00640060
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
jne 0x5ee8d9
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.0063ffcc
cmp dword [ebp - 0x2c], 0
jne 0x5ee0c0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5ee093
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x38]
call fcn.005ed188
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
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.0063ffcc
cmp dword [ebp - 0x2c], 0
je 0x5ee114
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5ee0e7
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x68]
cmp eax, 0x64
jl 0x5ee300
cmp eax, 0xc8
jge 0x5ee300
lea eax, [ebp - 4]
call fcn.00408e74
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 0x5ee300
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5ee17e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5ee300
push 1
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 0x34]
call fcn.00409db4
mov edx, dword [ebp - 0x114]
mov ecx, 0x5eed90
mov eax, dword [ebp - 0x38]
call fcn.00640184
jmp 0x5ee300
cmp byte [ebp - 0x3e], 0
je 0x5ee2dc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5ee1d4
cmp eax, 0x10000
jb 0x5ee276
jmp 0x5ee1da
jl 0x5ee276
push 1
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 0x38]
call fcn.005ed25c
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.00640060
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 0x5ee300
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5ee246
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5ee300
push 1
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 0x34]
call fcn.00409db4
mov edx, dword [ebp - 0x11c]
mov ecx, 0x5eed90
mov eax, dword [ebp - 0x38]
call fcn.00640184
jmp 0x5ee300
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.00639764
mov eax, dword [ebp - 0x120]
push eax
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x38]
call fcn.005ed25c
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x2c]
pop ecx
call fcn.004096f0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x5ee2c1
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.00640060
jmp 0x5ee300
push 1
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x38]
call fcn.005ed25c
mov ecx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.00640060
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
jne 0x5ee8d9
mov eax, dword [ebp - 0x38]
call fcn.005ed134
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x30], 0
cmp dword [ebp - 4], 0
jne 0x5ee415
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.0063ffcc
cmp dword [ebp - 0x2c], 0
jne 0x5ee360
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5ee333
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.0041f230
mov edx, dword [ebp - 0x12c]
mov ecx, 1
mov eax, 0x5eedac
call fcn.0040a2c8
dec eax
jne 0x5ee3d4
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
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.00409db4
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x38]
call fcn.005ed188
jmp 0x5ee3f7
lea eax, [ebp - 0x2c]
mov edx, 0x5eedc4
call fcn.00409698
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x2c]
call fcn.00639798
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 0x5ee423
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x68], 0x64
je 0x5ee333
jmp 0x5ee423
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, 0x5eea40
call fcn.0040a080
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 0x5ee791
mov dl, 1
mov eax, dword [0x47aa8c]
call fcn.0049cdac
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x5ee78a
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.0063ffcc
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x2c], 0
je 0x5ee4b0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x1bc], 0
je 0x5ee467
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x5ee763
lea ecx, [ebp - 0x140]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
call fcn.006397fc
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004099f8
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
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.00409db4
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.0041f230
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x30]
mov ecx, 0
call fcn.004099f8
lea eax, [ebp - 0x150]
mov edx, dword [ebp - 0x30]
call fcn.00409db4
mov edx, dword [ebp - 0x150]
mov ecx, 1
mov eax, 0x5eedd4
call fcn.0040a2c8
dec eax
jne 0x5ee5b1
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x158]
mov edx, 0x5eec20
call fcn.00638e60
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.0041f5ac
mov eax, dword [ebp - 0x154]
or edx, 0xffffffff
call fcn.004200d8
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x5ee5b1
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x30], 0
jne 0x5ee5b1
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x30], 1
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 0x30]
call fcn.00409db4
mov edx, dword [ebp - 0x160]
mov ecx, 1
mov eax, 0x5eee00
call fcn.0040a2c8
dec eax
jne 0x5ee61d
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x168]
mov edx, 0x5eec20
call fcn.00638e60
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.0041f5ac
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x38]
add eax, 0x44
call fcn.00409254
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 0x30]
call fcn.00409db4
mov edx, dword [ebp - 0x170]
mov ecx, 1
mov eax, 0x5eee28
call fcn.0040a2c8
dec eax
jne 0x5ee6b9
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 0x30]
call fcn.00409db4
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x178]
mov edx, 0x5eec20
call fcn.00638e60
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.0041f5ac
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004099f8
lea eax, [ebp - 0x180]
mov edx, dword [ebp - 0x2c]
call fcn.00409db4
mov edx, dword [ebp - 0x180]
mov ecx, 1
mov eax, 0x5eee5c
call fcn.0040a2c8
test eax, eax
jle 0x5ee6b9
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x30], 2
cmp byte [ebp - 0x45], 0
je 0x5ee712
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 0x30]
call fcn.00409db4
mov edx, dword [ebp - 0x184]
mov ecx, 1
mov eax, 0x5eee78
call fcn.0040a2c8
dec eax
jne 0x5ee763
lea eax, [ebp - 0x188]
mov edx, dword [ebp - 0x30]
call fcn.00409db4
mov edx, dword [ebp - 0x188]
mov ecx, 1
mov eax, 0x5eeea8
call fcn.0040a2c8
test eax, eax
jle 0x5ee763
mov byte [ebp - 0x40], 1
jmp 0x5ee763
lea eax, [ebp - 0x18c]
mov edx, dword [ebp - 0x30]
call fcn.00409db4
mov edx, dword [ebp - 0x18c]
mov ecx, 1
mov eax, 0x5eeec0
call fcn.0040a2c8
dec eax
jne 0x5ee763
lea eax, [ebp - 0x190]
mov edx, dword [ebp - 0x30]
call fcn.00409db4
mov edx, dword [ebp - 0x190]
mov ecx, 1
mov eax, 0x5eeea8
call fcn.0040a2c8
test eax, eax
jle 0x5ee763
mov byte [ebp - 0x40], 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x50]
jg 0x5ee4ba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee791
mov eax, dword [ebp - 0x4c]
call fcn.00407288
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 0x5ee8d9
mov eax, dword [ebp - 0x3c]
mov edx, 0x5eeee4
call fcn.0040a080
setne al
test al, al
je 0x5ee7cc
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x68], 0xcc
jne 0x5ee7d0
xor eax, eax
jmp 0x5ee7d2
mov al, 1
test al, al
je 0x5ee7e2
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x68], 0x130
jne 0x5ee7e6
xor eax, eax
jmp 0x5ee7e8
mov al, 1
test al, al
je 0x5ee827
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0x30]
sub al, 1
jb 0x5ee7ff
je 0x5ee80c
dec al
je 0x5ee81c
jmp 0x5ee827
mov eax, dword [ebp - 0x38]
call fcn.005eef0c
mov byte [ebp - 0x3d], al
jmp 0x5ee827
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x38]
call fcn.005eefd8
mov byte [ebp - 0x3d], al
jmp 0x5ee827
mov eax, dword [ebp - 0x38]
call fcn.005ef01c
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x89], 0
je 0x5ee89b
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5ee849
cmp eax, 0
jbe 0x5ee89b
jmp 0x5ee84b
jle 0x5ee89b
push 0
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x40]
call fcn.0049ce2c
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.00639764
mov edx, dword [ebp - 0x198]
lea eax, [ebp - 0x194]
call fcn.00409db4
mov edx, dword [ebp - 0x194]
mov ecx, 0x5eeefc
mov eax, dword [ebp - 0x38]
call fcn.00640184
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 0x5ee8d1
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.00408e74
mov eax, dword [ebp - 0x38]
add eax, 0x38
call fcn.00408e74
mov eax, dword [ebp - 0x38]
call fcn.005ef194
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5eea0e
lea eax, [ebp - 0x198]
call fcn.00408e98
lea eax, [ebp - 0x194]
mov edx, 0x1b
call fcn.00408ed4
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.00408f04
lea eax, [ebp - 0x120]
call fcn.00408e98
lea eax, [ebp - 0x11c]
call fcn.00408e74
lea eax, [ebp - 0x118]
call fcn.00408e98
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00408ed4
lea eax, [ebp - 0x10c]
call fcn.00408e98
lea eax, [ebp - 0x108]
mov edx, 0xa
call fcn.00408ed4
lea eax, [ebp - 0xe0]
call fcn.00408e98
lea eax, [ebp - 0xdc]
call fcn.00408e74
lea eax, [ebp - 0xd8]
call fcn.00408e98
lea eax, [ebp - 0xd4]
mov edx, 5
call fcn.00408ed4
lea eax, [ebp - 0xc0]
mov edx, 3
call fcn.00408f04
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.00408ed4
lea eax, [ebp - 0xac]
mov edx, 3
call fcn.00408f04
lea eax, [ebp - 0xa0]
mov edx, 5
call fcn.00408ed4
lea eax, [ebp - 0x8c]
call fcn.00408e98
lea eax, [ebp - 0x88]
mov edx, 0xe
call fcn.00408ed4
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00408f04
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00408ed4
ret