Function at 0x4694ec
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 0x4694f5
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 0x46a20e
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.004041b8
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.004618bc
cmp dword [ebp - 0x20], 0
jne 0x469588
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.00404250
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
call fcn.00404250
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
call fcn.004084d8
mov eax, dword [ebp - 0x54]
mov edx, 0x46a228
call fcn.004045e0
jne 0x469606
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
setne bl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x204
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.0040420c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x208
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.0040420c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x218
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.0040420c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x21c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.0040420c
jmp 0x469648
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x204
call fcn.004041b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x208
call fcn.004041b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x218
call fcn.004041b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x21c
call fcn.004041b8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
je 0x469655
test bl, bl
je 0x469659
xor eax, eax
jmp 0x46965b
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 0x469675
cmp eax, 0
seta al
jmp 0x469678
setg al
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x44]
and al, byte [ebp - 0xa]
je 0x469698
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x46a238
call fcn.004045e0
je 0x46969c
xor eax, eax
jmp 0x46969e
mov al, 1
mov byte [ebp - 0xb], al
cmp byte [ebp - 0xb], 0
je 0x4696b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x46a244
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0xa], 0
je 0x46971f
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.00408b6c
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x46a264
call fcn.004044e0
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 0x46971f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
lea eax, [ebp - 0x60]
mov edx, 0x46a280
call fcn.004044e0
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 0x46974b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
lea eax, [ebp - 0x64]
mov edx, 0x46a298
call fcn.004044e0
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 0x469762
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
jle 0x4697e5
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x74]
jg 0x4697b1
push 0x46a2b0
lea edx, [ebp - 0x6c]
mov eax, ebx
call fcn.00408a80
push dword [ebp - 0x6c]
push 0x46a2c8
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00408a80
push dword [ebp - 0x70]
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.00404554
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 0x4697e5
push 0x46a2b0
lea edx, [ebp - 0x78]
mov eax, ebx
call fcn.00408a80
push dword [ebp - 0x78]
push 0x46a2c8
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.00404554
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.004041b8
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 0x469834
inc ebx
xor esi, esi
cmp dword [ebp - 0x3c], 0
je 0x469815
lea eax, [ebp - 0x3c]
mov edx, 0x46a2d4
call fcn.0040449c
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.0040449c
inc esi
dec ebx
jne 0x469802
cmp dword [ebp - 0x3c], 0
je 0x46985a
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x46a2e0
call fcn.004044e0
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.004041b8
cmp byte [ebp - 0x45], 0
je 0x469875
lea eax, [ebp - 0x44]
mov edx, 0x46a2f4
call fcn.00404250
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
je 0x4698e0
lea eax, [ebp - 0x84]
mov ecx, 0x46a304
mov edx, dword [ebp - 0x44]
call fcn.004044e0
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.00408a80
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0x46a324
call fcn.004044e0
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 0x469906
lea eax, [ebp - 0x90]
mov ecx, 0x46a33c
mov edx, dword [ebp - 0x44]
call fcn.004044e0
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 0x469961
push dword [ebp - 0x20]
push 0x46a358
push dword [ebp - 0x24]
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00404554
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.004612e0
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov edx, 0x46a364
call fcn.004044e0
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 0x4699cb
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x4699cb
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push 0x46a358
mov eax, dword [ebp - 4]
push dword [eax + 0x54]
lea eax, [ebp - 0xa8]
mov edx, 3
call fcn.00404554
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.004612e0
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, 0x46a384
call fcn.004044e0
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.004624f8
test al, al
je 0x4699f3
push 0x46a3a8
push dword [ebp - 0x28]
push 0x46a3b4
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404554
jmp 0x4699fe
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
call fcn.00404250
mov eax, dword [ebp - 4]
cmp byte [eax + 0x78], 0
je 0x469a4b
mov eax, dword [ebp - 0x2c]
mov edx, 0x46a3c0
call fcn.004045e0
je 0x469a4b
push 0x46a3cc
push dword [ebp - 0x3c]
push 0x46a358
push dword [ebp - 0x2c]
lea eax, [ebp - 0xac]
mov edx, 4
call fcn.00404554
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 0x469a71
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x46a3cc
call fcn.004044e0
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 0x469a9a
push dword [ebp - 0x1c]
push 0x46a3dc
push dword [ebp - 0x3c]
push 0x46a358
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.00404554
mov eax, dword [ebp - 0x38]
mov edx, 0x46a3e8
call fcn.004045e0
jne 0x469ab6
lea eax, [ebp - 0x38]
mov edx, 0x46a3f4
call fcn.00404250
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x46a400
call fcn.004045e0
jne 0x469b09
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 8]
call fcn.004084d8
push dword [ebp - 0xb8]
push 0x46a40c
push dword [ebp - 0x38]
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00404554
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 0x469b53
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 8]
call fcn.004084d8
push dword [ebp - 0xc0]
push 0x46a40c
push dword [ebp - 0x38]
push 0x46a418
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
lea eax, [ebp - 0xbc]
mov edx, 5
call fcn.00404554
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 0x469b7d
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.0040420c
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.0040420c
jmp 0x469b99
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 0x28]
call fcn.0040420c
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 0x2c]
call fcn.0040420c
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 0x469bcc
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.004084d8
mov eax, dword [ebp - 0xc8]
mov edx, 0x46a228
call fcn.004045e0
sete dl
mov eax, dword [ebp - 4]
call fcn.00469490
test al, al
jne 0x469c14
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.004041b8
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004041b8
jmp 0x46a1db
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0041b048
lea eax, [ebp - 0x10]
call fcn.004041b8
cmp byte [ebp - 0xb], 0
je 0x469d22
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 4]
call fcn.0046937c
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x46a1db
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 + 0x50]
cmp dword [ebp - 0x3c], 0
jne 0x469c90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x469c67
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004692ac
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
call fcn.00404250
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 + 0x50]
cmp dword [ebp - 0x3c], 0
je 0x469ccf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x469ca6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
cmp eax, 0x64
jl 0x469e0f
cmp eax, 0xc8
jge 0x469e0f
lea eax, [ebp - 0x10]
call fcn.004041b8
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 + 0x1c]
jmp 0x469e0f
cmp byte [ebp - 0xa], 0
je 0x469df0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x469d44
cmp eax, 0x10000
jb 0x469d93
jmp 0x469d46
jl 0x469d93
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 4]
call fcn.0046937c
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
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 + 0x1c]
jmp 0x469e0f
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.00462154
mov eax, dword [ebp - 0xd4]
push eax
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 4]
call fcn.0046937c
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x3c]
pop ecx
call fcn.004044e0
mov eax, dword [ebp - 0x3c]
call fcn.00404494
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 + 0x24]
jmp 0x469e0f
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 4]
call fcn.0046937c
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x46a1db
mov eax, dword [ebp - 4]
call fcn.0046926c
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 0
cmp dword [ebp - 0x10], 0
jne 0x469ee8
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 + 0x50]
cmp dword [ebp - 0x3c], 0
jne 0x469e6b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x469e42
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x3c]
call fcn.004084d8
mov edx, dword [ebp - 0xe0]
mov eax, 0x46a428
call fcn.004047d8
dec eax
jne 0x469ea7
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.004692ac
jmp 0x469eca
lea eax, [ebp - 0x3c]
mov edx, 0x46a438
call fcn.0040449c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x3c]
call fcn.00462184
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 0x469ef6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x64
je 0x469e42
jmp 0x469ef6
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, 0x46a238
call fcn.004045e0
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 0x46a108
mov dl, 1
mov eax, dword [0x416440]
call fcn.00403398
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x46a101
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 + 0x50]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp dword [ebp - 0x3c], 0
je 0x469f6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x469f3a
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x46a0da
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
call fcn.004621e0
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.004084d8
mov edx, dword [ebp - 0x40]
mov eax, 0x46a444
call fcn.004047d8
dec eax
jne 0x469ffa
lea ecx, [ebp - 0xe8]
mov edx, 0x46a40c
mov eax, dword [ebp - 0x3c]
call fcn.0046187c
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.00408728
mov eax, dword [ebp - 0xe4]
or edx, 0xffffffff
call fcn.00408bf8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x469ffa
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
jne 0x469ffa
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 1
mov edx, dword [ebp - 0x40]
mov eax, 0x46a45c
call fcn.004047d8
dec eax
jne 0x46a03f
lea ecx, [ebp - 0xf0]
mov edx, 0x46a40c
mov eax, dword [ebp - 0x3c]
call fcn.0046187c
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xec]
call fcn.00408728
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.0040420c
mov edx, dword [ebp - 0x40]
mov eax, 0x46a474
call fcn.004047d8
dec eax
jne 0x46a088
lea ecx, [ebp - 0xf4]
mov edx, 0x46a40c
mov eax, dword [ebp - 0x40]
call fcn.0046187c
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0x3c]
call fcn.00408728
mov edx, dword [ebp - 0x3c]
mov eax, 0x46a490
call fcn.004047d8
test eax, eax
jle 0x46a088
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 2
cmp byte [ebp - 0x45], 0
je 0x46a0b5
mov edx, dword [ebp - 0x40]
mov eax, 0x46a4a0
call fcn.004047d8
dec eax
jne 0x46a0da
mov edx, dword [ebp - 0x40]
mov eax, 0x46a4bc
call fcn.004047d8
test eax, eax
jle 0x46a0da
mov byte [ebp - 0x11], 1
jmp 0x46a0da
mov edx, dword [ebp - 0x40]
mov eax, 0x46a4cc
call fcn.004047d8
dec eax
jne 0x46a0da
mov edx, dword [ebp - 0x40]
mov eax, 0x46a4bc
call fcn.004047d8
test eax, eax
jle 0x46a0da
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x50]
jg 0x469f78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a108
mov eax, dword [ebp - 0x4c]
call fcn.004033c8
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 0x46a1db
mov eax, dword [ebp - 8]
mov edx, 0x46a4e0
call fcn.004045e0
setne al
test al, al
je 0x46a143
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0xcc
jne 0x46a147
xor eax, eax
jmp 0x46a149
mov al, 1
test al, al
je 0x46a159
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x130
jne 0x46a15d
xor eax, eax
jmp 0x46a15f
mov al, 1
test al, al
je 0x46a19d
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x20]
sub al, 1
jb 0x46a175
je 0x46a182
dec al
je 0x46a192
jmp 0x46a19d
mov eax, dword [ebp - 4]
call fcn.0046a4e8
mov byte [ebp - 9], al
jmp 0x46a19d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046a574
mov byte [ebp - 9], al
jmp 0x46a19d
mov eax, dword [ebp - 4]
call fcn.0046a5b8
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 0x46a1d3
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.004041b8
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004041b8
mov eax, dword [ebp - 4]
call fcn.0046a6dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a215
lea eax, [ebp - 0xf4]
mov edx, 0x29
call fcn.004041dc
lea eax, [ebp - 0x44]
mov edx, 0xb
call fcn.004041dc
lea eax, [ebp - 0x10]
call fcn.004041b8
ret