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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1f
push 0
push 0
dec ecx
jne 0x49b349
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 0x49c09a
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.00404a88
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.0049315c
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x20]
call fcn.00493d38
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x20]
call fcn.00404b20
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x24]
call fcn.00493d38
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x24]
call fcn.00404b20
cmp dword [ebp - 0x20], 0
jne 0x49b408
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.00404b20
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
call fcn.00404b20
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x1c]
call fcn.004092f8
mov eax, dword [ebp - 0x5c]
mov edx, 0x49c0b4
call fcn.00404ea4
jne 0x49b486
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.00404adc
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.00404adc
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.00404adc
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.00404adc
jmp 0x49b4c8
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x20c
call fcn.00404a88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x210
call fcn.00404a88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x220
call fcn.00404a88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x224
call fcn.00404a88
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
je 0x49b4d5
test bl, bl
je 0x49b4d9
xor eax, eax
jmp 0x49b4db
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 0x49b4f5
cmp eax, 0
seta al
jmp 0x49b4f8
setg al
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x44]
and al, byte [ebp - 0xa]
je 0x49b518
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x49c0c4
call fcn.00404ea4
je 0x49b51c
xor eax, eax
jmp 0x49b51e
mov al, 1
mov byte [ebp - 0xb], al
cmp byte [ebp - 0xb], 0
je 0x49b539
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x49c0d0
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0xa], 0
je 0x49b59f
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.00409d4c
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 0x49c0f0
call fcn.00404da4
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 0x49b59f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
lea eax, [ebp - 0x68]
mov edx, 0x49c10c
call fcn.00404da4
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 0x49b5cb
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
lea eax, [ebp - 0x6c]
mov edx, 0x49c124
call fcn.00404da4
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 0x49b5e2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
jle 0x49b665
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x74]
jg 0x49b631
push 0x49c13c
lea edx, [ebp - 0x74]
mov eax, ebx
call fcn.00409b7c
push dword [ebp - 0x74]
push 0x49c154
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00409b7c
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.00404e18
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 0x49b665
push 0x49c13c
lea edx, [ebp - 0x80]
mov eax, ebx
call fcn.00409b7c
push dword [ebp - 0x80]
push 0x49c154
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404e18
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.00404a88
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 0x49b6ba
inc ebx
xor esi, esi
cmp dword [ebp - 0x3c], 0
je 0x49b695
lea eax, [ebp - 0x3c]
mov edx, 0x49c160
call fcn.00404d60
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.00404d60
inc esi
dec ebx
jne 0x49b682
cmp dword [ebp - 0x3c], 0
je 0x49b6e6
lea eax, [ebp - 0x88]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x49c16c
call fcn.00404da4
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.00404a88
cmp byte [ebp - 0x45], 0
je 0x49b701
lea eax, [ebp - 0x44]
mov edx, 0x49c180
call fcn.00404b20
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
je 0x49b76c
lea eax, [ebp - 0x8c]
mov ecx, 0x49c190
mov edx, dword [ebp - 0x44]
call fcn.00404da4
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]
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00409b7c
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x49c1b0
call fcn.00404da4
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]
jmp 0x49b792
lea eax, [ebp - 0x98]
mov ecx, 0x49c1c8
mov edx, dword [ebp - 0x44]
call fcn.00404da4
mov ecx, dword [ebp - 0x98]
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 0x49b7ed
push dword [ebp - 0x20]
push 0x49c1e4
push dword [ebp - 0x24]
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.00404e18
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.00493e9c
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, 0x49c1f0
call fcn.00404da4
mov ecx, dword [ebp - 0x9c]
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 0x49b857
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x49b857
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push 0x49c1e4
mov eax, dword [ebp - 4]
push dword [eax + 0x54]
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.00404e18
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.00493e9c
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, 0x49c210
call fcn.00404da4
mov ecx, dword [ebp - 0xa8]
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.00494048
test al, al
je 0x49b87f
push 0x49c234
push dword [ebp - 0x28]
push 0x49c240
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404e18
jmp 0x49b88a
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
call fcn.00404b20
mov eax, dword [ebp - 4]
cmp byte [eax + 0x78], 0
je 0x49b8d7
mov eax, dword [ebp - 0x2c]
mov edx, 0x49c24c
call fcn.00404ea4
je 0x49b8d7
push 0x49c258
push dword [ebp - 0x3c]
push 0x49c1e4
push dword [ebp - 0x2c]
lea eax, [ebp - 0xb4]
mov edx, 4
call fcn.00404e18
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 0x49b8fd
lea eax, [ebp - 0xb8]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x49c258
call fcn.00404da4
mov ecx, dword [ebp - 0xb8]
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 0x49b926
push dword [ebp - 0x1c]
push 0x49c268
push dword [ebp - 0x3c]
push 0x49c1e4
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.00404e18
mov eax, dword [ebp - 0x38]
mov edx, 0x49c274
call fcn.00404ea4
jne 0x49b942
lea eax, [ebp - 0x38]
mov edx, 0x49c280
call fcn.00404b20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x49c28c
call fcn.00404ea4
jne 0x49b995
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 8]
call fcn.004092f8
push dword [ebp - 0xc0]
push 0x49c298
push dword [ebp - 0x38]
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.00404e18
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]
jmp 0x49b9df
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 8]
call fcn.004092f8
push dword [ebp - 0xc8]
push 0x49c298
push dword [ebp - 0x38]
push 0x49c2a4
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
lea eax, [ebp - 0xc4]
mov edx, 5
call fcn.00404e18
mov ecx, dword [ebp - 0xc4]
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 0x49ba09
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.00404adc
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.00404adc
jmp 0x49ba25
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 0x28]
call fcn.00404adc
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 0x2c]
call fcn.00404adc
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 - 0xcc]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xcc], 0
je 0x49ba58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x1c]
call fcn.004092f8
mov eax, dword [ebp - 0xd0]
mov edx, 0x49c0b4
call fcn.00404ea4
sete dl
mov eax, dword [ebp - 4]
call fcn.0049b2e4
test al, al
jne 0x49baa0
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404a88
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404a88
jmp 0x49c067
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0041d814
lea eax, [ebp - 0x10]
call fcn.00404a88
cmp byte [ebp - 0xb], 0
je 0x49bbae
lea edx, [ebp - 0xd4]
mov eax, dword [ebp - 4]
call fcn.0049b1a0
mov edx, dword [ebp - 0xd4]
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 0x49c067
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 0x49bb1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x49baf3
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0049b0d0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
call fcn.00404b20
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 0x49bb5b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x49bb32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
cmp eax, 0x64
jl 0x49bc9b
cmp eax, 0xc8
jge 0x49bc9b
lea eax, [ebp - 0x10]
call fcn.00404a88
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 0x49bc9b
cmp byte [ebp - 0xa], 0
je 0x49bc7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x49bbd0
cmp eax, 0x10000
jb 0x49bc1f
jmp 0x49bbd2
jl 0x49bc1f
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 4]
call fcn.0049b1a0
mov edx, dword [ebp - 0xd8]
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 0x49bc9b
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 - 0xdc]
mov eax, ebx
call fcn.00493930
mov eax, dword [ebp - 0xdc]
push eax
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 4]
call fcn.0049b1a0
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x3c]
pop ecx
call fcn.00404da4
mov eax, dword [ebp - 0x3c]
call fcn.00404d58
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 0x49bc9b
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 4]
call fcn.0049b1a0
mov edx, dword [ebp - 0xe4]
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 0x49c067
mov eax, dword [ebp - 4]
call fcn.0049b090
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 0
cmp dword [ebp - 0x10], 0
jne 0x49bd74
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 0x49bcf7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x49bcce
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x3c]
call fcn.004092f8
mov edx, dword [ebp - 0xe8]
mov eax, 0x49c2b4
call fcn.0040509c
dec eax
jne 0x49bd33
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.0049b0d0
jmp 0x49bd56
lea eax, [ebp - 0x3c]
mov edx, 0x49c2c4
call fcn.00404d60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x3c]
call fcn.00493960
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 0x49bd82
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x64
je 0x49bcce
jmp 0x49bd82
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, 0x49c0c4
call fcn.00404ea4
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 0x49bf94
mov dl, 1
mov eax, dword [0x418a00]
call fcn.00403bcc
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x49bf8d
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 0x49bdfa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x49bdc6
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x49bf66
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
call fcn.004939bc
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.004092f8
mov edx, dword [ebp - 0x40]
mov eax, 0x49c2d0
call fcn.0040509c
dec eax
jne 0x49be86
lea ecx, [ebp - 0xf0]
mov edx, 0x49c298
mov eax, dword [ebp - 0x3c]
call fcn.0049311c
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xec]
call fcn.004096dc
mov eax, dword [ebp - 0xec]
or edx, 0xffffffff
call fcn.00409e08
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x49be86
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
jne 0x49be86
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 1
mov edx, dword [ebp - 0x40]
mov eax, 0x49c2e8
call fcn.0040509c
dec eax
jne 0x49becb
lea ecx, [ebp - 0xf8]
mov edx, 0x49c298
mov eax, dword [ebp - 0x3c]
call fcn.0049311c
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0xf4]
call fcn.004096dc
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00404adc
mov edx, dword [ebp - 0x40]
mov eax, 0x49c300
call fcn.0040509c
dec eax
jne 0x49bf14
lea ecx, [ebp - 0xfc]
mov edx, 0x49c298
mov eax, dword [ebp - 0x40]
call fcn.0049311c
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0x3c]
call fcn.004096dc
mov edx, dword [ebp - 0x3c]
mov eax, 0x49c31c
call fcn.0040509c
test eax, eax
jle 0x49bf14
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 2
cmp byte [ebp - 0x45], 0
je 0x49bf41
mov edx, dword [ebp - 0x40]
mov eax, 0x49c32c
call fcn.0040509c
dec eax
jne 0x49bf66
mov edx, dword [ebp - 0x40]
mov eax, 0x49c348
call fcn.0040509c
test eax, eax
jle 0x49bf66
mov byte [ebp - 0x11], 1
jmp 0x49bf66
mov edx, dword [ebp - 0x40]
mov eax, 0x49c358
call fcn.0040509c
dec eax
jne 0x49bf66
mov edx, dword [ebp - 0x40]
mov eax, 0x49c348
call fcn.0040509c
test eax, eax
jle 0x49bf66
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x50]
jg 0x49be04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bf94
mov eax, dword [ebp - 0x4c]
call fcn.00403bfc
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 0x49c067
mov eax, dword [ebp - 8]
mov edx, 0x49c36c
call fcn.00404ea4
setne al
test al, al
je 0x49bfcf
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0xcc
jne 0x49bfd3
xor eax, eax
jmp 0x49bfd5
mov al, 1
test al, al
je 0x49bfe5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x130
jne 0x49bfe9
xor eax, eax
jmp 0x49bfeb
mov al, 1
test al, al
je 0x49c029
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x20]
sub al, 1
jb 0x49c001
je 0x49c00e
dec al
je 0x49c01e
jmp 0x49c029
mov eax, dword [ebp - 4]
call fcn.0049c374
mov byte [ebp - 9], al
jmp 0x49c029
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049c400
mov byte [ebp - 9], al
jmp 0x49c029
mov eax, dword [ebp - 4]
call fcn.0049c444
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 0x49c05f
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.00404a88
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404a88
mov eax, dword [ebp - 4]
call fcn.0049c568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c0a1
lea eax, [ebp - 0xfc]
mov edx, 0x2b
call fcn.00404aac
lea eax, [ebp - 0x44]
mov edx, 0xb
call fcn.00404aac
lea eax, [ebp - 0x10]
call fcn.00404a88
ret