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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x41c7ad
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41d4f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0x1f4
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00404398
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6c], edx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0041484c
cmp dword [ebp - 0x20], 0
jne 0x41c840
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.00404430
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
call fcn.00404430
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
call fcn.004071f0
mov eax, dword [ebp - 0x54]
mov edx, 0x41d510
call fcn.00404780
jne 0x41c8be
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
setne bl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x20c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.004043ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x210
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.004043ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x220
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.004043ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x224
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.004043ec
jmp 0x41c900
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x20c
call fcn.00404398
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x210
call fcn.00404398
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x220
call fcn.00404398
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x224
call fcn.00404398
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
je 0x41c90d
test bl, bl
je 0x41c911
xor eax, eax
jmp 0x41c913
mov al, 1
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x41c92d
cmp eax, 0
seta al
jmp 0x41c930
setg al
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x44]
and al, byte [ebp - 0xa]
je 0x41c950
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x41d520
call fcn.00404780
je 0x41c954
xor eax, eax
jmp 0x41c956
mov al, 1
mov byte [ebp - 0xb], al
cmp byte [ebp - 0xb], 0
je 0x41c971
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x41d52c
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0xa], 0
je 0x41c9d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x5c]
call fcn.00407524
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x41d54c
call fcn.00404680
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
je 0x41c9d7
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
lea eax, [ebp - 0x60]
mov edx, 0x41d568
call fcn.00404680
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
je 0x41ca03
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
lea eax, [ebp - 0x64]
mov edx, 0x41d580
call fcn.00404680
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x70]
test ebx, ebx
jg 0x41ca1a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
jle 0x41ca9d
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x74]
jg 0x41ca69
push 0x41d598
lea edx, [ebp - 0x6c]
mov eax, ebx
call fcn.00407438
push dword [ebp - 0x6c]
push 0x41d5b0
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00407438
push dword [ebp - 0x70]
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.004046f4
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x41ca9d
push 0x41d598
lea edx, [ebp - 0x78]
mov eax, ebx
call fcn.00407438
push dword [ebp - 0x78]
push 0x41d5b0
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.004046f4
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea eax, [ebp - 0x3c]
call fcn.00404398
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x41caec
inc ebx
xor esi, esi
cmp dword [ebp - 0x3c], 0
je 0x41cacd
lea eax, [ebp - 0x3c]
mov edx, 0x41d5bc
call fcn.0040463c
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x3c]
call fcn.0040463c
inc esi
dec ebx
jne 0x41caba
cmp dword [ebp - 0x3c], 0
je 0x41cb12
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x41d5c8
call fcn.00404680
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea eax, [ebp - 0x44]
call fcn.00404398
cmp byte [ebp - 0x45], 0
je 0x41cb2d
lea eax, [ebp - 0x44]
mov edx, 0x41d5dc
call fcn.00404430
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
je 0x41cb98
lea eax, [ebp - 0x84]
mov ecx, 0x41d5ec
mov edx, dword [ebp - 0x44]
call fcn.00404680
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00407438
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0x41d60c
call fcn.00404680
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x41cbbe
lea eax, [ebp - 0x90]
mov ecx, 0x41d624
mov edx, dword [ebp - 0x44]
call fcn.00404680
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [ebp - 0x20], 0
je 0x41cc19
push dword [ebp - 0x20]
push 0x41d640
push dword [ebp - 0x24]
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.004046f4
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.004153e8
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov edx, 0x41d64c
call fcn.00404680
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x45], 0
je 0x41cc83
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x41cc83
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push 0x41d640
mov eax, dword [ebp - 4]
push dword [eax + 0x54]
lea eax, [ebp - 0xa8]
mov edx, 3
call fcn.004046f4
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.004153e8
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, 0x41d66c
call fcn.00404680
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0x28]
call fcn.00415594
test al, al
je 0x41ccab
push 0x41d690
push dword [ebp - 0x28]
push 0x41d69c
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004046f4
jmp 0x41ccb6
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
call fcn.00404430
mov eax, dword [ebp - 4]
cmp byte [eax + 0x78], 0
je 0x41cd03
mov eax, dword [ebp - 0x2c]
mov edx, 0x41d6a8
call fcn.00404780
je 0x41cd03
push 0x41d6b4
push dword [ebp - 0x3c]
push 0x41d640
push dword [ebp - 0x2c]
lea eax, [ebp - 0xac]
mov edx, 4
call fcn.004046f4
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x41cd29
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x41d6b4
call fcn.00404680
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x45], 0
je 0x41cd52
push dword [ebp - 0x1c]
push 0x41d6c4
push dword [ebp - 0x3c]
push 0x41d640
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.004046f4
mov eax, dword [ebp - 0x38]
mov edx, 0x41d6d0
call fcn.00404780
jne 0x41cd6e
lea eax, [ebp - 0x38]
mov edx, 0x41d6dc
call fcn.00404430
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x41d6e8
call fcn.00404780
jne 0x41cdc1
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 8]
call fcn.004071f0
push dword [ebp - 0xb8]
push 0x41d6f4
push dword [ebp - 0x38]
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.004046f4
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x41ce0b
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 8]
call fcn.004071f0
push dword [ebp - 0xc0]
push 0x41d6f4
push dword [ebp - 0x38]
push 0x41d700
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
lea eax, [ebp - 0xbc]
mov edx, 5
call fcn.004046f4
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x45], 0
je 0x41ce35
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.004043ec
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.004043ec
jmp 0x41ce51
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 0x28]
call fcn.004043ec
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 0x2c]
call fcn.004043ec
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0xc4]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xc4], 0
je 0x41ce84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x1c]
call fcn.004071f0
mov eax, dword [ebp - 0xc8]
mov edx, 0x41d510
call fcn.00404780
sete dl
mov eax, dword [ebp - 4]
call fcn.0041c748
test al, al
jne 0x41cecc
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404398
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404398
jmp 0x41d4c0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00411d78
lea eax, [ebp - 0x10]
call fcn.00404398
cmp byte [ebp - 0xb], 0
je 0x41cfda
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 4]
call fcn.0041c634
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x41d4c0
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x58]
cmp dword [ebp - 0x3c], 0
jne 0x41cf48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x41cf1f
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0041c564
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
call fcn.00404430
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x58]
cmp dword [ebp - 0x3c], 0
je 0x41cf87
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x41cf5e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
cmp eax, 0x64
jl 0x41d0c7
cmp eax, 0xc8
jge 0x41d0c7
lea eax, [ebp - 0x10]
call fcn.00404398
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
jmp 0x41d0c7
cmp byte [ebp - 0xa], 0
je 0x41d0a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x41cffc
cmp eax, 0x10000
jb 0x41d04b
jmp 0x41cffe
jl 0x41d04b
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 4]
call fcn.0041c634
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
jmp 0x41d0c7
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0xd4]
mov eax, ebx
call fcn.0041501c
mov eax, dword [ebp - 0xd4]
push eax
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 4]
call fcn.0041c634
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x3c]
pop ecx
call fcn.00404680
mov eax, dword [ebp - 0x3c]
call fcn.00404634
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x41d0c7
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 4]
call fcn.0041c634
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x41d4c0
mov eax, dword [ebp - 4]
call fcn.0041c524
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 0
cmp byte [ebp + 8], 1
jne 0x41d49f
cmp dword [ebp - 0x10], 0
jne 0x41d1aa
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x58]
cmp dword [ebp - 0x3c], 0
jne 0x41d12d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x41d104
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x3c]
call fcn.004071f0
mov edx, dword [ebp - 0xe0]
mov eax, 0x41d710
call fcn.0040491c
dec eax
jne 0x41d169
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0041c564
jmp 0x41d18c
lea eax, [ebp - 0x3c]
mov edx, 0x41d720
call fcn.0040463c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x3c]
call fcn.0041504c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x58], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x41d1b8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x64
je 0x41d104
jmp 0x41d1b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x41d520
call fcn.00404780
setne byte [ebp - 0x11]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x41d3ca
mov dl, 1
mov eax, dword [0x40fbe4]
call fcn.0040369c
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x41d3c3
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x58]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp dword [ebp - 0x3c], 0
je 0x41d230
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x41d1fc
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x41d39c
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
call fcn.004150a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
call fcn.004071f0
mov edx, dword [ebp - 0x40]
mov eax, 0x41d72c
call fcn.0040491c
dec eax
jne 0x41d2bc
lea ecx, [ebp - 0xe8]
mov edx, 0x41d6f4
mov eax, dword [ebp - 0x3c]
call fcn.0041480c
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.00407368
mov eax, dword [ebp - 0xe4]
or edx, 0xffffffff
call fcn.00407574
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x41d2bc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
jne 0x41d2bc
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 1
mov edx, dword [ebp - 0x40]
mov eax, 0x41d744
call fcn.0040491c
dec eax
jne 0x41d301
lea ecx, [ebp - 0xf0]
mov edx, 0x41d6f4
mov eax, dword [ebp - 0x3c]
call fcn.0041480c
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xec]
call fcn.00407368
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.004043ec
mov edx, dword [ebp - 0x40]
mov eax, 0x41d75c
call fcn.0040491c
dec eax
jne 0x41d34a
lea ecx, [ebp - 0xf4]
mov edx, 0x41d6f4
mov eax, dword [ebp - 0x40]
call fcn.0041480c
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0x3c]
call fcn.00407368
mov edx, dword [ebp - 0x3c]
mov eax, 0x41d778
call fcn.0040491c
test eax, eax
jle 0x41d34a
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 2
cmp byte [ebp - 0x45], 0
je 0x41d377
mov edx, dword [ebp - 0x40]
mov eax, 0x41d788
call fcn.0040491c
dec eax
jne 0x41d39c
mov edx, dword [ebp - 0x40]
mov eax, 0x41d7a4
call fcn.0040491c
test eax, eax
jle 0x41d39c
mov byte [ebp - 0x11], 1
jmp 0x41d39c
mov edx, dword [ebp - 0x40]
mov eax, 0x41d7b4
call fcn.0040491c
dec eax
jne 0x41d39c
mov edx, dword [ebp - 0x40]
mov eax, 0x41d7a4
call fcn.0040491c
test eax, eax
jle 0x41d39c
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x50]
jg 0x41d23a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d3ca
mov eax, dword [ebp - 0x4c]
call fcn.004036cc
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
sete byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x41d4c0
mov eax, dword [ebp - 8]
mov edx, 0x41d7c8
call fcn.00404780
setne al
test al, al
je 0x41d405
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0xcc
jne 0x41d409
xor eax, eax
jmp 0x41d40b
mov al, 1
test al, al
je 0x41d41b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x130
jne 0x41d41f
xor eax, eax
jmp 0x41d421
mov al, 1
test al, al
je 0x41d45f
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x20]
sub al, 1
jb 0x41d437
je 0x41d444
dec al
je 0x41d454
jmp 0x41d45f
mov eax, dword [ebp - 4]
call fcn.0041d7d0
mov byte [ebp - 9], al
jmp 0x41d45f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0041d85c
mov byte [ebp - 9], al
jmp 0x41d45f
mov eax, dword [ebp - 4]
call fcn.0041d8a0
mov byte [ebp - 9], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
cmp byte [ebp - 0x11], 0
je 0x41d495
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404398
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404398
mov eax, dword [ebp - 4]
call fcn.0041d9c4
jmp 0x41d4c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404398
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d4fa
lea eax, [ebp - 0xf4]
mov edx, 0x29
call fcn.004043bc
lea eax, [ebp - 0x44]
mov edx, 0xb
call fcn.004043bc
lea eax, [ebp - 0x10]
call fcn.00404398
ret