Function at 0x41dc2c
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 0x41dc35
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 0x41e93f
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.004044cc
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.004154ec
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x20]
call fcn.0041616c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x20]
call fcn.00404564
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x24]
call fcn.0041616c
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x24]
call fcn.00404564
cmp dword [ebp - 0x20], 0
jne 0x41dcf4
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.00404564
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
call fcn.00404564
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x1c]
call fcn.00407590
mov eax, dword [ebp - 0x5c]
mov edx, 0x41e958
call fcn.004048b4
jne 0x41dd72
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.00404520
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.00404520
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.00404520
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.00404520
jmp 0x41ddb4
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x20c
call fcn.004044cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x210
call fcn.004044cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x220
call fcn.004044cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x224
call fcn.004044cc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
je 0x41ddc1
test bl, bl
je 0x41ddc5
xor eax, eax
jmp 0x41ddc7
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 0x41dde1
cmp eax, 0
seta al
jmp 0x41dde4
setg al
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x44]
and al, byte [ebp - 0xa]
je 0x41de04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x41e968
call fcn.004048b4
je 0x41de08
xor eax, eax
jmp 0x41de0a
mov al, 1
mov byte [ebp - 0xb], al
cmp byte [ebp - 0xb], 0
je 0x41de25
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x41e974
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0xa], 0
je 0x41de8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x64]
call fcn.004078ec
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 0x41e994
call fcn.004047b4
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 + 0x34], 0
je 0x41de8b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
lea eax, [ebp - 0x68]
mov edx, 0x41e9b0
call fcn.004047b4
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]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
je 0x41deb7
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
lea eax, [ebp - 0x6c]
mov edx, 0x41e9c8
call fcn.004047b4
mov ecx, dword [ebp - 0x6c]
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 0x41dece
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
jle 0x41df51
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x74]
jg 0x41df1d
push 0x41e9e0
lea edx, [ebp - 0x74]
mov eax, ebx
call fcn.00407800
push dword [ebp - 0x74]
push 0x41e9f8
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00407800
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.00404828
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x41df51
push 0x41e9e0
lea edx, [ebp - 0x80]
mov eax, ebx
call fcn.00407800
push dword [ebp - 0x80]
push 0x41e9f8
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404828
mov ecx, dword [ebp - 0x7c]
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.004044cc
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 0x41dfa6
inc ebx
xor esi, esi
cmp dword [ebp - 0x3c], 0
je 0x41df81
lea eax, [ebp - 0x3c]
mov edx, 0x41ea04
call fcn.00404770
lea ecx, [ebp - 0x84]
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 - 0x84]
lea eax, [ebp - 0x3c]
call fcn.00404770
inc esi
dec ebx
jne 0x41df6e
cmp dword [ebp - 0x3c], 0
je 0x41dfd2
lea eax, [ebp - 0x88]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x41ea10
call fcn.004047b4
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]
lea eax, [ebp - 0x44]
call fcn.004044cc
cmp byte [ebp - 0x45], 0
je 0x41dfed
lea eax, [ebp - 0x44]
mov edx, 0x41ea24
call fcn.00404564
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
je 0x41e01e
lea eax, [ebp - 0x8c]
mov ecx, 0x41ea34
mov edx, dword [ebp - 0x44]
call fcn.004047b4
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x41e044
lea eax, [ebp - 0x90]
mov ecx, 0x41ea54
mov edx, dword [ebp - 0x44]
call fcn.004047b4
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 0x41e09f
push dword [ebp - 0x20]
push 0x41ea70
push dword [ebp - 0x24]
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00404828
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.004165f4
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov edx, 0x41ea7c
call fcn.004047b4
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 0x41e109
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x41e109
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push 0x41ea70
mov eax, dword [ebp - 4]
push dword [eax + 0x54]
lea eax, [ebp - 0xa8]
mov edx, 3
call fcn.00404828
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.004165f4
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, 0x41ea9c
call fcn.004047b4
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.00416868
test al, al
je 0x41e131
push 0x41eac0
push dword [ebp - 0x28]
push 0x41eacc
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404828
jmp 0x41e13c
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
call fcn.00404564
mov eax, dword [ebp - 4]
cmp byte [eax + 0x78], 0
je 0x41e17c
mov eax, dword [ebp - 0x2c]
mov edx, 0x41ead8
call fcn.004048b4
je 0x41e17c
lea eax, [ebp - 0xac]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x41eae4
call fcn.004047b4
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 0x41e1a2
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x41eae4
call fcn.004047b4
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 0x41e1cb
push dword [ebp - 0x1c]
push 0x41eaf4
push dword [ebp - 0x3c]
push 0x41ea70
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.00404828
mov eax, dword [ebp - 0x38]
mov edx, 0x41eb00
call fcn.004048b4
jne 0x41e1e7
lea eax, [ebp - 0x38]
mov edx, 0x41eb0c
call fcn.00404564
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x41eb18
call fcn.004048b4
jne 0x41e23a
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 8]
call fcn.00407590
push dword [ebp - 0xb8]
push 0x41eb24
push dword [ebp - 0x38]
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00404828
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 0x41e284
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 8]
call fcn.00407590
push dword [ebp - 0xc0]
push 0x41eb24
push dword [ebp - 0x38]
push 0x41eb30
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
lea eax, [ebp - 0xbc]
mov edx, 5
call fcn.00404828
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 0x41e2ae
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.00404520
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.00404520
jmp 0x41e2ca
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 0x28]
call fcn.00404520
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 0x2c]
call fcn.00404520
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 0x41e2fd
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.00407590
mov eax, dword [ebp - 0xc8]
mov edx, 0x41e958
call fcn.004048b4
sete dl
mov eax, dword [ebp - 4]
call fcn.0041dbd0
test al, al
jne 0x41e345
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.004044cc
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004044cc
jmp 0x41e90c
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00412358
lea eax, [ebp - 0x10]
call fcn.004044cc
cmp byte [ebp - 0xb], 0
je 0x41e453
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 4]
call fcn.0041da8c
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 0x41e90c
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 0x41e3c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x41e398
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0041d9bc
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
call fcn.00404564
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 0x41e400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x41e3d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
cmp eax, 0x64
jl 0x41e540
cmp eax, 0xc8
jge 0x41e540
lea eax, [ebp - 0x10]
call fcn.004044cc
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 0x41e540
cmp byte [ebp - 0xa], 0
je 0x41e521
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x41e475
cmp eax, 0x10000
jb 0x41e4c4
jmp 0x41e477
jl 0x41e4c4
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 4]
call fcn.0041da8c
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 0x41e540
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.00415d64
mov eax, dword [ebp - 0xd4]
push eax
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 4]
call fcn.0041da8c
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x3c]
pop ecx
call fcn.004047b4
mov eax, dword [ebp - 0x3c]
call fcn.00404768
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 0x41e540
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 4]
call fcn.0041da8c
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 0x41e90c
mov eax, dword [ebp - 4]
call fcn.0041d97c
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 0
cmp dword [ebp - 0x10], 0
jne 0x41e619
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 0x41e59c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x41e573
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x3c]
call fcn.00407590
mov edx, dword [ebp - 0xe0]
mov eax, 0x41eb40
call fcn.00404a50
dec eax
jne 0x41e5d8
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.0041d9bc
jmp 0x41e5fb
lea eax, [ebp - 0x3c]
mov edx, 0x41eb50
call fcn.00404770
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x3c]
call fcn.00415d94
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 0x41e627
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x64
je 0x41e573
jmp 0x41e627
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, 0x41e968
call fcn.004048b4
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 0x41e839
mov dl, 1
mov eax, dword [0x4100d0]
call fcn.0040379c
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x41e832
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 0x41e69f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x41e66b
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x41e80b
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
call fcn.00415df0
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.00407590
mov edx, dword [ebp - 0x40]
mov eax, 0x41eb5c
call fcn.00404a50
dec eax
jne 0x41e72b
lea ecx, [ebp - 0xe8]
mov edx, 0x41eb24
mov eax, dword [ebp - 0x3c]
call fcn.004153dc
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.00407730
mov eax, dword [ebp - 0xe4]
or edx, 0xffffffff
call fcn.0040793c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x41e72b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
jne 0x41e72b
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 1
mov edx, dword [ebp - 0x40]
mov eax, 0x41eb74
call fcn.00404a50
dec eax
jne 0x41e770
lea ecx, [ebp - 0xf0]
mov edx, 0x41eb24
mov eax, dword [ebp - 0x3c]
call fcn.004153dc
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xec]
call fcn.00407730
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00404520
mov edx, dword [ebp - 0x40]
mov eax, 0x41eb8c
call fcn.00404a50
dec eax
jne 0x41e7b9
lea ecx, [ebp - 0xf4]
mov edx, 0x41eb24
mov eax, dword [ebp - 0x40]
call fcn.004153dc
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0x3c]
call fcn.00407730
mov edx, dword [ebp - 0x3c]
mov eax, 0x41eba8
call fcn.00404a50
test eax, eax
jle 0x41e7b9
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 2
cmp byte [ebp - 0x45], 0
je 0x41e7e6
mov edx, dword [ebp - 0x40]
mov eax, 0x41ebb8
call fcn.00404a50
dec eax
jne 0x41e80b
mov edx, dword [ebp - 0x40]
mov eax, 0x41ebd4
call fcn.00404a50
test eax, eax
jle 0x41e80b
mov byte [ebp - 0x11], 1
jmp 0x41e80b
mov edx, dword [ebp - 0x40]
mov eax, 0x41ebe4
call fcn.00404a50
dec eax
jne 0x41e80b
mov edx, dword [ebp - 0x40]
mov eax, 0x41ebd4
call fcn.00404a50
test eax, eax
jle 0x41e80b
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x50]
jg 0x41e6a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e839
mov eax, dword [ebp - 0x4c]
call fcn.004037cc
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 0x41e90c
mov eax, dword [ebp - 8]
mov edx, 0x41ebf8
call fcn.004048b4
setne al
test al, al
je 0x41e874
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0xcc
jne 0x41e878
xor eax, eax
jmp 0x41e87a
mov al, 1
test al, al
je 0x41e88a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x130
jne 0x41e88e
xor eax, eax
jmp 0x41e890
mov al, 1
test al, al
je 0x41e8ce
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x20]
sub al, 1
jb 0x41e8a6
je 0x41e8b3
dec al
je 0x41e8c3
jmp 0x41e8ce
mov eax, dword [ebp - 4]
call fcn.0041ec00
mov byte [ebp - 9], al
jmp 0x41e8ce
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0041ec8c
mov byte [ebp - 9], al
jmp 0x41e8ce
mov eax, dword [ebp - 4]
call fcn.0041ecd0
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 0x41e904
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.004044cc
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004044cc
mov eax, dword [ebp - 4]
call fcn.0041edf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e946
lea eax, [ebp - 0xf4]
mov edx, 0x29
call fcn.004044f0
lea eax, [ebp - 0x44]
mov edx, 0xb
call fcn.004044f0
lea eax, [ebp - 0x10]
call fcn.004044cc
ret