Function at 0x1004955a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c812
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x630
push esi
and dword [ebp - 0x2e8], 0
mov dword [ebp - 0x28], 0xa61928c1
mov dword [ebp - 0x3f8], 0xcf7921e1
mov dword [ebp - 0x2c4], 0xfffffffb
mov dword [ebp - 0x2f8], 0xc6578637
mov byte [ebp - 0x50], 0
movzx eax, byte [ebp - 0x50]
test eax, eax
je 0x100495cf
push 0x1520
push 0x522d
push 0x4431
push 0
push 0x6812
call fcn.1004944e
add esp, 0x14
mov dword [ebp - 0x28], 0
jmp 0x100495df
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffff8
je 0x10049761
mov dword [ebp - 0x12c], 4
mov dword [ebp - 0x314], 0xcf5aa05
cmp dword [ebp - 0x28], 0
jne 0x100496f5
mov eax, dword [ebp - 0x3f8]
mov dword [ebp - 0x534], eax
mov eax, dword [ebp - 0x12c]
add eax, 0x5466bc65
je 0x10049635
cmp dword [ebp - 0x2c4], 0
je 0x10049635
mov dword [ebp - 0x210], 1
jmp 0x1004963c
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x2f8]
neg eax
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
sub eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jge 0x10049670
mov dword [ebp - 0x30c], 1
jmp 0x10049677
and dword [ebp - 0x30c], 0
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0x270e7ad5
jl 0x1004969b
mov dword [ebp - 0x31c], 1
jmp 0x100496a2
and dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x31c], eax
je 0x100496b9
mov dword [ebp - 0x2f0], 1
jmp 0x100496c0
and dword [ebp - 0x2f0], 0
mov eax, dword [ebp - 0x2c4]
cmp dword [ebp - 0x2f0], eax
jne 0x100496da
mov dword [ebp - 0x184], 1
jmp 0x100496e1
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x184]
jne 0x100496f5
and dword [ebp - 0x25c], 0
jmp 0x100496ff
mov dword [ebp - 0x25c], 1
cmp dword [ebp - 0x25c], 1
je 0x10049714
mov dword [ebp - 0x18c], 1
jmp 0x1004971b
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x18c]
jge 0x1004973c
mov byte [ebp - 0x4a], 0
movzx eax, byte [ebp - 0x4a]
test eax, eax
je 0x1004973a
push 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x1004975c
mov byte [ebp - 0x4f], 0
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x1004975c
push 0
push 0x446c
push 0x2121
call fcn.1004d6ed
add esp, 0xc
jmp 0x100495d8
or dword [ebp - 0x460], 0xffffffff
or dword [ebp - 0x45c], 0xffffffff
or dword [ebp - 0x458], 0xffffffff
or dword [ebp - 0x454], 0xffffffff
lea ecx, [ebp - 0x159]
call fcn.1000a6f3
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x60c]
call fcn.10018f37
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x42c]
call fcn.10018ee6
and dword [ebp - 4], 0
mov dword [ebp - 0x98], 0x7555b7ce
mov dword [ebp - 0x474], 0xfffffffe
mov dword [ebp - 0x470], 0xfffffffe
mov dword [ebp - 0x46c], 0xfffffffe
mov dword [ebp - 0x468], 0xfffffffe
lea ecx, [ebp - 0x161]
call fcn.1000a6f3
push eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x614]
call fcn.10018f37
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x548]
call fcn.10018ee6
mov byte [ebp - 4], 1
mov dword [ebp - 0x528], 0x4d0289a6
push 3
lea ecx, [ebp - 0x4e4]
call fcn.10018e8a
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
jmp 0x1004984c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x10049862
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x5ec], 0xb5f0b101
jmp 0x10049845
mov dword [ebp - 0x30], 0
jmp 0x10049872
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004988e
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4e4]
call fcn.10018f28
mov dword [eax], 0xffff
jmp 0x1004986b
push 0
lea ecx, [ebp - 0x42c]
call fcn.10018f28
mov dword [eax], 0xe
jmp 0x100498c7
push 0
lea ecx, [ebp - 0x42c]
call fcn.10018f28
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2fc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2fc]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x42c]
call fcn.10018f28
cmp dword [eax], 2
jne 0x100499dd
mov dword [ebp - 0x5b0], 1
mov dword [ebp - 0x530], 0xfffffffe
mov dword [ebp - 0x380], 0xfffffffb
lea eax, [ebp - 0x4e4]
push eax
push 0x2411
push 0
call fcn.1004c943
add esp, 0xc
cmp dword [ebp - 0x380], 0
je 0x10049977
mov dword [ebp - 0x388], 0x5a592c6e
cmp dword [ebp - 0x388], 0
je 0x1004994b
push 2
lea ecx, [ebp - 0x548]
call fcn.10018f28
cmp dword [eax], 0
je 0x1004994b
mov dword [ebp - 0x194], 1
jmp 0x10049952
and dword [ebp - 0x194], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x194]
mov dword [ebp + eax - 0x5ec], ecx
mov byte [ebp - 0x45], 0
lea eax, [ebp - 0x45]
push eax
push 0
call fcn.1004c125
pop ecx
pop ecx
jmp 0x100499d8
mov dword [ebp - 0x98], 0xa
jmp 0x10049990
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x19
jle 0x100499d0
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x100499b4
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ValidateRgn]
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x100499ce
push 0x5ea2
push 0
call fcn.1004d864
pop ecx
pop ecx
jmp 0x10049983
push 0
call fcn.1004cd1a
pop ecx
jmp 0x100498a3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4e4]
call fcn.10018f0c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x548]
call fcn.10018f0c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.10018f0c
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x3e0], 0x54bcd76c
push 1
lea ecx, [ebp - 0x444]
call fcn.10018e8a
mov dword [ebp - 4], 3
lea eax, [ebp - 0x444]
push eax
push 0
lea eax, [ebp - 0x5c0]
push eax
call fcn.1004d344
add esp, 0xc
cmp dword [ebp - 0x24], 0
jne 0x10049a5f
mov eax, 0x4aa0d722
test eax, eax
jne 0x10049a5f
and dword [ebp - 0x264], 0
jmp 0x10049a69
mov dword [ebp - 0x264], 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + ecx + 0xf5cd]
cmp eax, dword [ebp - 0x264]
jle 0x10049a8a
mov dword [ebp - 0x19c], 1
jmp 0x10049a91
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x19c], eax
jle 0x10049aa8
mov dword [ebp - 0x2cc], 1
jmp 0x10049aaf
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x2cc]
sub eax, dword [ebp - 0x24]
cmp eax, 0x2d3f5047
je 0x10049acb
mov dword [ebp - 0x1a4], 1
jmp 0x10049ad2
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x3e0], eax
mov dword [ebp - 0x24], 0
jmp 0x10049aee
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jg 0x10049be5
push 1
lea ecx, [ebp - 0x4a8]
call fcn.10018e8a
mov byte [ebp - 4], 4
mov dword [ebp - 0x3e8], 0xffffffff
mov dword [ebp - 0x3c], 0
jmp 0x10049b23
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x10049b3f
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x4a8]
call fcn.10018f28
mov dword [eax], 0xd4431fad
jmp 0x10049b1c
mov dword [ebp - 0x3c], 0
jmp 0x10049b4f
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10049b65
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x598], 6
jmp 0x10049b48
lea eax, [ebp - 0x4a8]
push eax
push 0
call fcn.1004c1a0
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x444]
call fcn.10018f28
mov dword [ebp - 0x26c], eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x444]
call fcn.10018f28
mov ecx, dword [ebp - 0x26c]
mov eax, dword [eax]
mov dword [ecx], eax
push 4
pop eax
imul eax, eax, 0
lea eax, [ebp + eax - 0x598]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x26c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax]
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4a8]
call fcn.10018f0c
jmp 0x10049ae7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.10018f0c
mov byte [ebp - 0x120], 0x16
mov byte [ebp - 0x11f], 0xcf
mov byte [ebp - 0x11e], 7
mov byte [ebp - 0x11d], 0x1f
mov byte [ebp - 0x11c], 2
mov byte [ebp - 0x11b], 0xb
mov byte [ebp - 0x11a], 3
mov byte [ebp - 0x119], 7
mov byte [ebp - 0x118], 0xe
mov byte [ebp - 0x117], 0xb
mov byte [ebp - 0x116], 0x17
mov byte [ebp - 0x115], 0x17
mov byte [ebp - 0x114], 1
mov byte [ebp - 0x113], 0x1a
mov byte [ebp - 0x112], 0x15
mov byte [ebp - 0x111], 0x14
mov byte [ebp - 0x110], 0x10
mov byte [ebp - 0x10f], 7
mov byte [ebp - 0x10e], 8
mov byte [ebp - 0x10d], 0x18
mov byte [ebp - 0x10c], 0xf
mov byte [ebp - 0x10b], 0x19
mov byte [ebp - 0x10a], 0x11
mov byte [ebp - 0x109], 2
mov byte [ebp - 0x108], 0x13
mov byte [ebp - 0x107], 6
mov byte [ebp - 0x106], 0xb
mov byte [ebp - 0x105], 0x18
mov byte [ebp - 0x104], 0
mov byte [ebp - 0x103], 0xd
mov byte [ebp - 0x102], 0x18
mov byte [ebp - 0x101], 0x18
mov byte [ebp - 0x100], 0xd
mov byte [ebp - 0xff], 0x17
mov byte [ebp - 0xfe], 0xc
mov byte [ebp - 0xfd], 3
mov byte [ebp - 0xfc], 9
mov byte [ebp - 0xfb], 7
mov byte [ebp - 0xfa], 6
mov byte [ebp - 0xf9], 0xd
mov byte [ebp - 0xf8], 0x14
mov byte [ebp - 0xf7], 0x12
mov byte [ebp - 0xf6], 5
mov byte [ebp - 0xf5], 0x13
mov byte [ebp - 0xf4], 4
mov byte [ebp - 0xf3], 3
mov byte [ebp - 0xf2], 0x31
mov byte [ebp - 0xf1], 0x4f
mov byte [ebp - 0xf0], 0x23
mov byte [ebp - 0xef], 0x68
mov byte [ebp - 0xee], 0x92
mov byte [ebp - 0xed], 0xbe
mov byte [ebp - 0xec], 0x26
mov byte [ebp - 0xeb], 0x18
mov byte [ebp - 0xea], 0x3f
mov byte [ebp - 0xe9], 0x2d
mov byte [ebp - 0xe8], 0xe2
mov byte [ebp - 0xe7], 0x90
mov byte [ebp - 0xe6], 1
mov byte [ebp - 0xe5], 0xcf
mov byte [ebp - 0xe4], 0x10
mov byte [ebp - 0xe3], 0xdf
mov byte [ebp - 0xe2], 0x47
mov byte [ebp - 0xe1], 0x41
mov byte [ebp - 0xe0], 0x65
mov byte [ebp - 0xdf], 0xd
mov byte [ebp - 0xde], 0x2c
mov byte [ebp - 0xdd], 0xd8
mov byte [ebp - 0xdc], 0x9d
mov byte [ebp - 0xdb], 0xe4
mov byte [ebp - 0xda], 0xa1
mov byte [ebp - 0xd9], 0x7e
mov byte [ebp - 0xd8], 0x93
mov byte [ebp - 0xd7], 0xe5
mov byte [ebp - 0xd6], 0xbc
mov byte [ebp - 0xd5], 0xe
mov byte [ebp - 0xd4], 0x1c
mov byte [ebp - 0xd3], 0xa
mov byte [ebp - 0xd2], 0xd9
mov byte [ebp - 0xd1], 0xc2
mov byte [ebp - 0xd0], 0xe2
mov byte [ebp - 0xcf], 6
mov byte [ebp - 0xce], 7
mov byte [ebp - 0xcd], 0x3b
mov byte [ebp - 0xcc], 0x62
mov byte [ebp - 0xcb], 0x21
mov byte [ebp - 0xca], 0xf4
mov byte [ebp - 0xc9], 5
mov byte [ebp - 0xc8], 0x52
mov byte [ebp - 0xc7], 0xcc
mov byte [ebp - 0xc6], 0xd1
mov byte [ebp - 0xc5], 0x55
mov byte [ebp - 0xc4], 0x14
mov byte [ebp - 0xc3], 0xa4
mov byte [ebp - 0xc2], 0x4e
mov byte [ebp - 0xc1], 0xcc
mov byte [ebp - 0xc0], 0x12
mov byte [ebp - 0xbf], 0x16
mov byte [ebp - 0xbe], 0xa
mov byte [ebp - 0xbd], 0x18
mov byte [ebp - 0xbc], 0x19
mov byte [ebp - 0xbb], 0x11
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x120]
or eax, 0xb8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x120]
and ecx, 0xb8
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x120]
mov byte [ebp + ecx - 0x518], al
mov dword [ebp - 0x358], 0x6aab
mov dword [ebp - 0x3ec], 0xffffffff
mov dword [ebp - 0x364], 0xb5a5efa2
push 4
lea ecx, [ebp - 0x4cc]
call fcn.10018e8a
mov dword [ebp - 4], 5
mov dword [ebp - 0x378], 0xf446cd5f
mov dword [ebp - 0x390], 0xfffffffa
push 4
lea ecx, [ebp - 0x4fc]
call fcn.10018e8a
mov byte [ebp - 4], 6
mov dword [ebp - 0x410], 0xffffffff
lea eax, [ebp - 0x4cc]
push eax
push 0x309b
push 0
lea eax, [ebp - 0x3f0]
push eax
call fcn.100493ca
add esp, 0x10
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x4fc]
push eax
push 0
call fcn.1004c1e0
add esp, 0xc
lea eax, [ebp - 0x4cc]
push eax
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x4fc]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.1004c342
add esp, 0x24
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4fc]
call fcn.10018f0c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4cc]
call fcn.10018f0c
mov dword [ebp - 0x1c], 2
and dword [ebp - 0xa0], 0
jmp 0x1004a00a
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x66
jae 0x1004afdb
mov dword [ebp - 0x14], 0x7b5ca986
mov dword [ebp - 0x124], 0xfffa
mov dword [ebp - 0x54], 0xd8d34108
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x344], 0x97d93cb
mov dword [ebp - 0x340], 0x97d93cb
mov dword [ebp - 0x33c], 0x97d93cb
mov dword [ebp - 0x338], 0x97d93cb
mov dword [ebp - 0x160], 3
mov dword [ebp - 0x37c], 0x1510
cmp dword [ebp - 0x14], 0
je 0x1004a08d
mov eax, 0xc4279c41
test eax, eax
je 0x1004a08d
mov dword [ebp - 0x1dc], 1
jmp 0x1004a094
and dword [ebp - 0x1dc], 0
cmp dword [ebp - 0x14], 0
jne 0x1004a0a6
mov dword [ebp - 0x324], 1
jmp 0x1004a0ad
and dword [ebp - 0x324], 0
mov eax, dword [ebp - 0x324]
sub eax, 0xca3c
cmp eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jl 0x1004a0cf
mov dword [ebp - 0x1b4], 1
jmp 0x1004a0d6
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1b4], eax
je 0x1004a0ed
mov dword [ebp - 0x274], 1
jmp 0x1004a0f4
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x274], eax
jne 0x1004a10e
mov dword [ebp - 0x3a8], 1
jmp 0x1004a115
and dword [ebp - 0x3a8], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5a0], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x55c], eax
cmp dword [ebp - 0x54], 0
je 0x1004a154
cmp dword [ebp - 0x124], 0
je 0x1004a154
cmp dword [ebp - 0x54], 0
je 0x1004a154
mov dword [ebp - 0x1bc], 1
jmp 0x1004a15b
and dword [ebp - 0x1bc], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1bc]
sub ecx, dword [ebp + eax - 0x344]
cmp ecx, 0x69fd
je 0x1004a182
mov dword [ebp - 0x36c], 1
jmp 0x1004a189
and dword [ebp - 0x36c], 0
cmp dword [ebp - 0x14], 0
jne 0x1004a19e
cmp dword [ebp - 0x54], 0
jne 0x1004a19e
mov eax, 0x81e1
test eax, eax
je 0x1004a1ba
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x344], 0
je 0x1004a1ba
mov dword [ebp - 0x3b0], 1
jmp 0x1004a1c1
and dword [ebp - 0x3b0], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5b8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x56c], eax
push 8
pop eax
cmp eax, 1
jbe 0x1004a1e7
mov dword [ebp - 0x2d4], 1
jmp 0x1004a1ee
and dword [ebp - 0x2d4], 0
cmp dword [ebp - 0x2d4], 0xfffffff6
jbe 0x1004a203
mov dword [ebp - 0x1c4], 1
jmp 0x1004a20a
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x14c]
cmp dword [ebp - 0x1c4], eax
je 0x1004a224
mov dword [ebp - 0x374], 1
jmp 0x1004a22b
and dword [ebp - 0x374], 0
cmp dword [ebp - 0x14], 0x8918
je 0x1004a240
mov dword [ebp - 0x27c], 1
jmp 0x1004a247
and dword [ebp - 0x27c], 0
cmp dword [ebp - 0x27c], 0xebef
jge 0x1004a25f
mov dword [ebp - 0x1cc], 1
jmp 0x1004a266
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x160]
cmp dword [ebp - 0x1cc], eax
jle 0x1004a280
mov dword [ebp - 0x308], 1
jmp 0x1004a287
and dword [ebp - 0x308], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x308]
jle 0x1004a29e
mov dword [ebp - 0x1d4], 1
jmp 0x1004a2a5
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x54], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x344]
cmp dword [ebp - 0x54], eax
jne 0x1004a2cc
mov dword [ebp - 0x284], 1
jmp 0x1004a2d3
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x14c]
cmp dword [ebp - 0x284], eax
je 0x1004a2ed
mov dword [ebp - 0x2dc], 1
jmp 0x1004a2f4
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x1dc]
sub eax, dword [ebp - 0x2dc]
jne 0x1004a30e
mov dword [ebp - 0x1e4], 1
jmp 0x1004a315
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1e4], eax
jle 0x1004a32c
mov dword [ebp - 0x28c], 1
jmp 0x1004a333
and dword [ebp - 0x28c], 0
cmp dword [ebp - 0x28c], 0xff98
jge 0x1004a34b
mov dword [ebp - 0x1ec], 1
jmp 0x1004a352
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1ec]
add eax, 0xba6e
mov dword [ebp - 0x14], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x344]
add ecx, 0xa971
cmp dword [ebp + eax - 0x344], ecx
jg 0x1004a38e
mov dword [ebp - 0x3b8], 1
jmp 0x1004a395
and dword [ebp - 0x3b8], 0
push 4
pop eax
shl eax, 0
imul ecx, dword [ebp - 0x14], 0xcdb
add ecx, dword [ebp - 0x124]
cmp dword [ebp + eax - 0x344], ecx
jle 0x1004a3bd
mov dword [ebp - 0x320], 1
jmp 0x1004a3c4
and dword [ebp - 0x320], 0
mov eax, dword [ebp - 0x37c]
cmp eax, dword [ebp - 0x320]
jg 0x1004a3de
mov dword [ebp - 0x1f4], 1
jmp 0x1004a3e5
and dword [ebp - 0x1f4], 0
cmp dword [ebp - 0x1f4], 0x60d90c37
jle 0x1004a3fd
mov dword [ebp - 0x294], 1
jmp 0x1004a404
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x14], eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x120]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1004a993
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x120]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x120]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
push 1
lea ecx, [ebp - 0x8c]
call fcn.10018e8a
mov dword [ebp - 4], 7
mov dword [ebp - 0x44], 0xc75286e8
mov dword [ebp - 0xa4], 0xfffffff6
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x1fc], 0x67e307b
mov dword [ebp - 0x10], 0x9ec4279c
mov dword [ebp - 0x13c], 0x147b80be
mov dword [ebp - 0x158], 1
mov dword [ebp - 0xac], 0
jmp 0x1004a4c5
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 1
jge 0x1004a4e7
push dword [ebp - 0xac]
lea ecx, [ebp - 0x8c]
call fcn.10018f28
mov dword [eax], 0x24039b64
jmp 0x1004a4b8
lea eax, [ebp - 0x158]
push eax
push 0
call fcn.1004cce6
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018f28
mov eax, 0xffffa1f5
sub eax, dword [ebp - 0xa4]
mov dword [ebp - 0x1fc], eax
mov esi, dword [ebp - 0x1fc]
neg esi
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018f28
cmp esi, dword [eax]
jle 0x1004a53a
mov dword [ebp - 0x2e4], 1
jmp 0x1004a541
and dword [ebp - 0x2e4], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018f28
mov ecx, dword [ebp - 0x2e4]
cmp ecx, dword [eax]
je 0x1004a564
mov dword [ebp - 0x204], 1
jmp 0x1004a56b
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x204]
jle 0x1004a582
mov dword [ebp - 0x29c], 1
jmp 0x1004a589
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x29c]
jne 0x1004a5a0
mov dword [ebp - 0x20c], 1
jmp 0x1004a5a7
and dword [ebp - 0x20c], 0
cmp dword [ebp - 0x20c], 3
jae 0x1004a5bc
mov dword [ebp - 0x310], 1
jmp 0x1004a5c3
and dword [ebp - 0x310], 0
mov eax, dword [ebp - 0x158]
cmp dword [ebp - 0x310], eax
jle 0x1004a5dd
mov dword [ebp - 0x214], 1
jmp 0x1004a5e4
and dword [ebp - 0x214], 0
imul esi, dword [ebp - 0x214], 0x6768
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018f28
add esi, dword [eax]
jne 0x1004a611
cmp dword [ebp - 0x13c], 0
jne 0x1004a611
and dword [ebp - 0x2a4], 0
jmp 0x1004a61b
mov dword [ebp - 0x2a4], 1
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x5a8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x57c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x580], eax
mov eax, dword [ebp - 0x158]
cmp dword [ebp - 0x10], eax
jle 0x1004a66e
mov dword [ebp - 0x21c], 1
jmp 0x1004a675
and dword [ebp - 0x21c], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018f28
mov ecx, dword [ebp - 0x21c]
cmp ecx, dword [eax]
jg 0x1004a698
mov dword [ebp - 0x2ec], 1
jmp 0x1004a69f
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x2ec], eax
jne 0x1004a6b6
mov dword [ebp - 0x224], 1
jmp 0x1004a6bd
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x224], eax
jle 0x1004a6d4
mov dword [ebp - 0x2ac], 1
jmp 0x1004a6db
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x10], eax
jge 0x1004a701
mov dword [ebp - 0x22c], 1
jmp 0x1004a708
and dword [ebp - 0x22c], 0
cmp dword [ebp - 0x22c], 7
je 0x1004a74a
mov dword [ebp - 0x44], 0
jmp 0x1004a721
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffffb
jl 0x1004a745
mov byte [ebp - 0x49], 0
push 0x26b
lea eax, [ebp - 0x49]
push eax
push 0x4ba6
push 0
call fcn.1004d730
add esp, 0x10
jmp 0x1004a71a
jmp 0x1004a97f
mov dword [ebp - 0x144], 0x39b6
mov dword [ebp - 0x2bc], 0x1f9d99d
mov byte [ebp - 0x4e], 0
push 0x3721
lea eax, [ebp - 0x4e]
push eax
push 1
push 0x6f24
call fcn.100493ca
add esp, 0x10
mov dword [ebp - 0x10], 0
jmp 0x1004a78a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x1004a97f
mov dword [ebp - 0x3c0], 1
mov dword [ebp - 0x38c], 0xf0cdbbf8
mov dword [ebp - 0x3d0], 0xec2c04dd
mov dword [ebp - 0x70], 0xfffffffe
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.10018f28
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.10018f28
cmp dword [eax], 0
jne 0x1004a844
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x3c0], eax
jl 0x1004a7f1
mov dword [ebp - 0x328], 1
jmp 0x1004a7f8
and dword [ebp - 0x328], 0
mov eax, dword [ebp - 0x144]
imul eax, dword [ebp - 0x328]
cmp eax, 0xb836
jl 0x1004a818
mov dword [ebp - 0x384], 1
jmp 0x1004a81f
and dword [ebp - 0x384], 0
cmp dword [ebp - 0x144], 0
jne 0x1004a844
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.10018f28
cmp dword [eax], 0
jne 0x1004a844
and dword [ebp - 0x234], 0
jmp 0x1004a84e
mov dword [ebp - 0x234], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.10018f28
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [eax]
jg 0x1004a872
mov dword [ebp - 0x2b4], 1
jmp 0x1004a879
and dword [ebp - 0x2b4], 0
cmp dword [ebp - 0x2b4], 8
jg 0x1004a88e
mov dword [ebp - 0x23c], 1
jmp 0x1004a895
and dword [ebp - 0x23c], 0
cmp dword [ebp - 0x23c], 0xfff9
jae 0x1004a8ad
mov dword [ebp - 0x3c8], 1
jmp 0x1004a8b4
and dword [ebp - 0x3c8], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.10018f28
cmp dword [eax], 0
je 0x1004a8e5
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018f28
cmp dword [eax], 0
je 0x1004a8e5
mov dword [ebp - 0x2f4], 1
jmp 0x1004a8ec
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x2f4], eax
jg 0x1004a906
mov dword [ebp - 0x244], 1
jmp 0x1004a90d
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x244]
sub eax, 0x17e5ed53
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x588], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x5c8], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.10018f28
xor eax, eax
inc eax
je 0x1004a967
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018f28
cmp dword [eax], 0
je 0x1004a967
mov dword [ebp - 0x24c], 1
jmp 0x1004a96e
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x3d0], eax
jmp 0x1004a783
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10018f0c
jmp 0x1004a002
and dword [ebp - 0x49c], 0
and dword [ebp - 0x498], 0
and dword [ebp - 0x494], 0
and dword [ebp - 0x490], 0
lea ecx, [ebp - 0x131]
call fcn.1000a6f3
push eax
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x624]
call fcn.10018f37
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x408]
call fcn.10018ee6
mov dword [ebp - 4], 8
mov dword [ebp - 0x68], 6
push 3
lea ecx, [ebp - 0x438]
call fcn.10018e8a
mov byte [ebp - 4], 9
push 0x7f7
push 0
lea eax, [ebp - 0x520]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.1004d7b1
add esp, 0x10
mov dword [ebp - 0x68], 3
jmp 0x1004aa30
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x1004ad8f
push 3
lea ecx, [ebp - 0x334]
call fcn.10018e8a
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0xb4], 0
jmp 0x1004aa75
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 3
jge 0x1004aa97
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x334]
call fcn.10018f28
mov dword [eax], 0xb950ba1b
jmp 0x1004aa68
push 1
lea ecx, [ebp - 0x334]
call fcn.10018f28
mov dword [eax], 3
jmp 0x1004aad0
push 1
lea ecx, [ebp - 0x334]
call fcn.10018f28
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x318]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x318]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x334]
call fcn.10018f28
cmp dword [eax], 0
jl 0x1004ad7b
mov dword [ebp - 0x6c], 0xef9d7865
mov dword [ebp - 0x130], 0x368a9017
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x6c], 3
jmp 0x1004ab11
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jl 0x1004ad5e
mov dword [ebp - 0x94], 0x106ec6e5
mov dword [ebp - 0x128], 0xc80f219a
mov dword [ebp - 0x94], 3
jmp 0x1004ab48
mov eax, dword [ebp - 0x94]
dec eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jl 0x1004abcb
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x52c], 0xfffffffe
mov dword [ebp - 0x51c], 0x95ed7c6a
mov dword [ebp - 0x538], 0x3817d1dc
mov dword [ebp - 0x590], 0x955a63a7
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x18], 2
jmp 0x1004aba0
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1004abc6
push 0x1e9
lea eax, [ebp - 0x408]
push eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1004bffe
add esp, 0x14
jmp 0x1004ab99
jmp 0x1004ab3b
mov dword [ebp - 0x18], 2
jmp 0x1004abdb
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1004ad59
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x130]
push eax
push 1
lea eax, [ebp - 0x408]
push eax
call fcn.1004944e
add esp, 0x14
push dword [ebp - 0x18]
lea ecx, [ebp - 0x438]
call fcn.10018f28
mov dword [ebp - 0x254], eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x438]
call fcn.10018f28
mov ecx, dword [ebp - 0x254]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x254]
mov eax, dword [eax]
mov dword [ebp - 0x17c], eax
mov esi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x18]
inc eax
push eax
lea ecx, [ebp - 0x408]
call fcn.10018f28
cmp dword [eax], esi
jne 0x1004ac68
mov dword [ebp - 0x3d8], 1
jmp 0x1004ac6f
and dword [ebp - 0x3d8], 0
push 1
lea ecx, [ebp - 0x334]
call fcn.10018f28
mov eax, dword [eax]
sub eax, 3
cmp eax, 0xba430906
jb 0x1004ac94
mov dword [ebp - 0x3a0], 1
jmp 0x1004ac9b
and dword [ebp - 0x3a0], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x59c], eax
push 1
lea ecx, [ebp - 0x334]
call fcn.10018f28
mov eax, dword [eax]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x5a4], eax
mov eax, 0x820f90f5
cmp eax, 0xe868e013
jb 0x1004acdd
mov dword [ebp - 0x180], 1
jmp 0x1004ace4
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 7
jge 0x1004acf9
mov dword [ebp - 0x188], 1
jmp 0x1004ad00
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x130]
cmp dword [ebp - 0x188], eax
jg 0x1004ad1a
mov dword [ebp - 0x190], 1
jmp 0x1004ad21
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x190], eax
jl 0x1004ad3e
cmp dword [ebp - 0x6c], 0
jne 0x1004ad3e
and dword [ebp - 0x198], 0
jmp 0x1004ad48
mov dword [ebp - 0x198], 1
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x130], eax
jmp 0x1004abd4
jmp 0x1004ab0a
push dword [ebp - 0x68]
lea ecx, [ebp - 0x408]
call fcn.10018f28
cmp dword [eax], 0
je 0x1004ad76
jmp 0x1004aaac
jmp 0x1004aaac
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x334]
call fcn.10018f0c
jmp 0x1004aa29
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x438]
call fcn.10018f0c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x408]
call fcn.10018f0c
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x11f]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0xa0]
movzx ecx, byte [ebp + ecx - 0x122]
movsx ecx, byte [ebp + ecx - 0x518]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x11f]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0xa0]
movzx edx, byte [ebp + edx - 0x122]
movsx edx, byte [ebp + edx - 0x518]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x120]
mov byte [ebp + ecx - 0x518], al
mov dword [ebp - 0x40], 0xa439beb0
mov dword [ebp - 0x420], 0x45c8100c
mov dword [ebp - 0x41c], 0x45c8100c
mov dword [ebp - 0x418], 0x45c8100c
mov dword [ebp - 0x414], 0x45c8100c
mov dword [ebp - 0x3d4], 0x9e071a05
push 3
lea ecx, [ebp - 0x4b4]
call fcn.10018e8a
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x3a4], 7
push 0x3e7
push 0x6ad4
lea eax, [ebp - 0x5ac]
push eax
lea eax, [ebp - 0x4b4]
push eax
push 0
push 0x67fa
call fcn.1004d3ca
add esp, 0x18
mov dword [ebp - 0x40], 0x8bbca631
cmp dword [ebp - 0x40], 0
je 0x1004af89
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x420]
mov dword [ebp - 0x1a0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp + eax - 0x420], ecx
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x1a0]
cmp eax, 0xffff07f4
jge 0x1004aedf
mov dword [ebp - 0x1a8], 1
jmp 0x1004aee6
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x1a8]
jg 0x1004aefd
mov dword [ebp - 0x1b0], 1
jmp 0x1004af04
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x1b0], eax
jle 0x1004af1b
mov dword [ebp - 0x1b8], 1
jmp 0x1004af22
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x1b8], eax
jg 0x1004af39
mov dword [ebp - 0x1c0], 1
jmp 0x1004af40
and dword [ebp - 0x1c0], 0
cmp dword [ebp - 0x1c0], 0x710d
jg 0x1004af58
mov dword [ebp - 0x39c], 1
jmp 0x1004af5f
and dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5b4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3d4]
cmp dword [ebp + eax - 0x420], ecx
jge 0x1004af89
mov dword [ebp - 0x1c8], 1
jmp 0x1004af90
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x1d0], eax
push 1
lea ecx, [ebp - 0x4b4]
call fcn.10018f28
mov ecx, dword [ebp - 0x1d0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x3a4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b4]
call fcn.10018f0c
and dword [ebp - 0xa0], 0
jmp 0x1004a002
xor eax, eax
inc eax
imul eax, eax, 0x1a
mov byte [ebp + eax - 0x518], 0
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x604]
call fcn.100275d6
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x3ac], 0
mov dword [ebp - 0x3dc], 0xa77b69c9
push 1
lea ecx, [ebp - 0x4d8]
call fcn.10018e8a
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x2c], 0
jmp 0x1004b037
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1004b04a
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x74], 0xc204e2db
jmp 0x1004b030
mov dword [ebp - 0x2c], 0
jmp 0x1004b05a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1004b070
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x304], 0x38bea122
jmp 0x1004b053
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x4d8]
push eax
call fcn.1004beeb
add esp, 0xc
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x74], 0
jmp 0x1004b0aa
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x74], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x74], 0xfffffffb
jle 0x1004b37e
mov dword [ebp - 0x78], 0xfffffff6
mov dword [ebp - 0x138], 0xfffffffd
mov dword [ebp - 0x488], 3
mov dword [ebp - 0x484], 3
mov dword [ebp - 0x480], 3
mov dword [ebp - 0x47c], 3
lea ecx, [ebp - 0x145]
call fcn.1000a6f3
push eax
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x61c]
call fcn.10018f37
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x4c0]
call fcn.10018ee6
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x78], 0xfffffffc
jmp 0x1004b13d
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jg 0x1004b26b
mov dword [ebp - 0xa8], 0x3a0b8ee4
mov dword [ebp - 0xa8], 0
jmp 0x1004b16a
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 1
jg 0x1004b266
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x64], 0
jmp 0x1004b18e
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jg 0x1004b261
mov dword [ebp - 0x354], 0x8b081589
mov dword [ebp - 0x350], 0x8b081589
mov dword [ebp - 0x34c], 0x8b081589
mov dword [ebp - 0x348], 0x8b081589
mov eax, dword [ebp - 0x64]
cmp dword [ebp + eax*4 - 0x304], 0
je 0x1004b1d2
jmp 0x1004b261
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x354], 0
jmp 0x1004b200
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x354]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x354], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x354], 1
jg 0x1004b25c
mov dword [ebp - 0x3fc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x354]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp + eax*4 - 0x304]
mov dword [ebp + ecx*4 - 0x304], eax
lea eax, [ebp - 0x3fc]
push eax
push 0
lea eax, [ebp - 0x138]
push eax
push 0x41cf
push 0x2503
call fcn.1004db29
add esp, 0x14
jmp 0x1004b1e5
jmp 0x1004b187
jmp 0x1004b15d
jmp 0x1004b136
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x304]
mov dword [ebp - 0x5bc], eax
push 2
lea ecx, [ebp - 0x4c0]
call fcn.10018f28
cmp dword [ebp - 0x78], 0
je 0x1004b2e4
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x74]
push 2
lea ecx, [ebp - 0x4c0]
call fcn.10018f28
cmp esi, dword [eax]
jge 0x1004b2c5
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x304], 0
jne 0x1004b2c5
and dword [ebp - 0x1d8], 0
jmp 0x1004b2cf
mov dword [ebp - 0x1d8], 1
cmp dword [ebp - 0x1d8], 0
je 0x1004b2e4
mov dword [ebp - 0x1e0], 1
jmp 0x1004b2eb
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x1e0]
jl 0x1004b311
mov dword [ebp - 0x1e8], 1
jmp 0x1004b318
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0xffffffff
jle 0x1004b32d
mov dword [ebp - 0x1f0], 1
jmp 0x1004b334
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x3dc]
cmp dword [ebp - 0x1f0], eax
je 0x1004b34e
mov dword [ebp - 0x1f8], 1
jmp 0x1004b355
and dword [ebp - 0x1f8], 0
push 0
lea ecx, [ebp - 0x4d8]
call fcn.10018f28
mov ecx, dword [ebp - 0x1f8]
mov dword [eax], ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4c0]
call fcn.10018f0c
jmp 0x1004b095
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4d8]
call fcn.10018f0c
and dword [ebp - 0x9c], 0
jmp 0x1004b3a3
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x1b
jae 0x1004b4c1
mov dword [ebp - 0x90], 0xe1757117
push 2
lea ecx, [ebp - 0x558]
call fcn.10018e8a
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xb0], 0
jmp 0x1004b3e4
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 2
jge 0x1004b406
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x558]
call fcn.10018f28
mov dword [eax], 9
jmp 0x1004b3d7
mov dword [ebp - 0x90], 4
jmp 0x1004b41f
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x12
jne 0x1004b49f
mov dword [ebp - 0xb8], 0xffffffff
mov dword [ebp - 0x200], 1
mov dword [ebp - 0xb8], 0
jmp 0x1004b455
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 1
jg 0x1004b489
mov eax, dword [ebp - 0x200]
inc eax
mov dword [ebp - 0x200], eax
mov byte [ebp - 0x4b], 0
lea eax, [ebp - 0x4b]
push eax
push 0x7d31
push 0x1866
push 0
call fcn.1004ce1d
add esp, 0x10
jmp 0x1004b448
mov byte [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
call fcn.1004d827
pop ecx
pop ecx
jmp 0x1004b412
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x558]
call fcn.10018f0c
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0x518], 0
jmp 0x1004b396
push 0x100094b6
lea ecx, [ebp - 0x5e0]
call fcn.100275d6
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5e0]
call fcn.100192b3
cmp eax, dword [ebp + 0xc]
je 0x1004b609
lea eax, [ebp - 0x604]
push eax
lea eax, [ebp - 0x3e4]
push eax
push 1
push 0x2788
call fcn.100494f2
add esp, 0x10
mov dword [ebp - 0x3b4], 0x20e83c77
mov dword [ebp - 0x3bc], 0x6542
mov dword [ebp - 0x5c4], 0xdb6d0374
mov dword [ebp - 0x34], 0
jmp 0x1004b534
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1004b54a
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x568], 0xf37831e4
jmp 0x1004b52d
mov dword [ebp - 0x34], 0
jmp 0x1004b55a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1004b570
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x3f4], 0xb11accba
jmp 0x1004b553
mov eax, dword [ebp - 0x3b4]
mov dword [ebp - 0x208], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x208]
mov dword [ebp + eax - 0x568], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x208]
mov dword [ebp + eax - 0x3f4], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x3bc]
mov dword [ebp + eax - 0x568], ecx
push 1
push dword [ebp - 0x3e4]
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x604]
call fcn.1005390f
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp - 0x3c4]
mov dword [ebp - 0x40c], eax
mov byte [ebp - 4], 0x11
push dword [ebp - 0x40c]
lea ecx, [ebp - 0x5e0]
call fcn.10027605
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x63c]
call fcn.10018dec
jmp 0x1004b4d5
push 3
lea ecx, [ebp - 0x60]
call fcn.10018e8a
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x7c], 0
push 3
lea ecx, [ebp - 0x174]
call fcn.10018e8a
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x80], 0xc6200d40
mov dword [ebp - 0x584], 0xfffffff9
mov dword [ebp - 0x35c], 9
mov dword [ebp - 0x2d0], 1
mov dword [ebp - 0x360], 2
mov dword [ebp - 0x2b0], 1
mov dword [ebp - 0x2c8], 0x94cf7123
mov dword [ebp - 0x2e0], 0xffffffff
mov dword [ebp - 0x370], 0x326e24e1
mov dword [ebp - 0x20], 0
jmp 0x1004b696
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1004b6ac
push dword [ebp - 0x20]
lea ecx, [ebp - 0x60]
call fcn.10018f28
or dword [eax], 0xffffffff
jmp 0x1004b68f
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x20]
push eax
push 0xce8
push 0x6157
push 0
call fcn.1004c07b
add esp, 0x14
mov dword [ebp - 0x20], 0
jmp 0x1004b6db
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1004b6f1
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x44c], 0xd895a5d7
jmp 0x1004b6d4
push 0
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov esi, eax
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1004b719
mov dword [ebp - 0x178], 1
jmp 0x1004b720
and dword [ebp - 0x178], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov eax, dword [eax]
add eax, dword [ebp - 0x178]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x2b82
jle 0x1004b756
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
cmp dword [eax], 0
jne 0x1004b756
and dword [ebp - 0x218], 0
jmp 0x1004b760
mov dword [ebp - 0x218], 1
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov eax, dword [eax]
cmp eax, dword [ebp - 0x218]
jle 0x1004b780
mov dword [ebp - 0x220], 1
jmp 0x1004b787
and dword [ebp - 0x220], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov esi, dword [ebp - 0x220]
sub esi, dword [eax]
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
sub esi, dword [eax]
jne 0x1004b7bf
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
cmp dword [eax], 0
jne 0x1004b7bf
and dword [ebp - 0x228], 0
jmp 0x1004b7c9
mov dword [ebp - 0x228], 1
mov eax, dword [ebp - 0x228]
neg eax
je 0x1004b7e4
xor eax, eax
inc eax
je 0x1004b7e4
mov dword [ebp - 0x230], 1
jmp 0x1004b7eb
and dword [ebp - 0x230], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov ecx, dword [ebp - 0x230]
cmp ecx, dword [eax]
jge 0x1004b80b
mov dword [ebp - 0x238], 1
jmp 0x1004b812
and dword [ebp - 0x238], 0
cmp dword [ebp - 0x238], 0xfffffff9
jae 0x1004b827
mov dword [ebp - 0x240], 1
jmp 0x1004b82e
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x240]
add eax, 0x4f804f83
imul esi, eax, 0xfffa
push 0
lea ecx, [ebp - 0x60]
call fcn.10018f28
add esi, dword [eax]
jne 0x1004b859
mov dword [ebp - 0x248], 1
jmp 0x1004b860
and dword [ebp - 0x248], 0
push 1
lea ecx, [ebp - 0x174]
call fcn.10018f28
mov ecx, dword [ebp - 0x248]
cmp ecx, dword [eax]
je 0x1004b883
mov dword [ebp - 0x3cc], 1
jmp 0x1004b88a
and dword [ebp - 0x3cc], 0
push 0
lea ecx, [ebp - 0x60]
call fcn.10018f28
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov esi, eax
push 1
lea ecx, [ebp - 0x174]
call fcn.10018f28
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x1004b8bf
mov dword [ebp - 0x250], 1
jmp 0x1004b8c6
and dword [ebp - 0x250], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov ecx, dword [ebp - 0x250]
cmp ecx, dword [eax]
jge 0x1004b8e6
mov dword [ebp - 0x258], 1
jmp 0x1004b8ed
and dword [ebp - 0x258], 0
push 0
lea ecx, [ebp - 0x174]
call fcn.10018f28
mov ecx, dword [ebp - 0x258]
cmp ecx, dword [eax]
jl 0x1004b910
mov dword [ebp - 0x260], 1
jmp 0x1004b917
and dword [ebp - 0x260], 0
push 0
lea ecx, [ebp - 0x174]
call fcn.10018f28
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [eax]
jl 0x1004b934
cmp dword [ebp - 0x80], 0
je 0x1004b983
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
cmp dword [eax], 0
je 0x1004b983
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x1004b96d
push 0
push 0x29d6
push 0x35ec
push 0x4ebb
push 0x1943
call fcn.1004bf59
add esp, 0x14
mov byte [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
push 0
call fcn.1004da24
pop ecx
pop ecx
jmp 0x1004bba7
push 4
lea ecx, [ebp - 0x578]
call fcn.10018e8a
mov byte [ebp - 4], 0x14
push 0x3144
push 0x48fb
push 0
lea eax, [ebp - 0x53c]
push eax
push 0x44bd
lea eax, [ebp - 0x578]
push eax
call fcn.1004cc4f
add esp, 0x18
mov dword [ebp - 0x80], 0x1c
jmp 0x1004b9cb
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xfffffff4
jl 0x1004bb98
mov dword [ebp - 0x270], 0x2684
push 4
lea ecx, [ebp - 0x4f0]
call fcn.10018e8a
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x38], 0
jmp 0x1004ba00
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1004ba16
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x154], 9
jmp 0x1004b9f9
mov dword [ebp - 0x38], 0
jmp 0x1004ba26
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x1004ba42
push dword [ebp - 0x38]
lea ecx, [ebp - 0x4f0]
call fcn.10018f28
mov dword [eax], 0xc590cb25
jmp 0x1004ba1f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
mov dword [ebp - 0x394], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x154], eax
cmp dword [ebp - 0x394], 0xaed0f12a
jb 0x1004ba88
mov dword [ebp - 0x268], 1
jmp 0x1004ba8f
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x7c], eax
or eax, 0xffffffff
je 0x1004bb68
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x154]
cmp dword [ebp + eax - 0x154], ecx
jle 0x1004bac9
mov dword [ebp - 0x280], 1
jmp 0x1004bad0
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x270]
cmp dword [ebp - 0x270], eax
jg 0x1004baee
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x154], 0
je 0x1004bafe
xor eax, eax
je 0x1004bafe
mov dword [ebp - 0x278], 1
jmp 0x1004bb05
and dword [ebp - 0x278], 0
push 2
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov ecx, dword [ebp - 0x278]
sub ecx, dword [eax]
cmp ecx, 3
je 0x1004bb28
mov dword [ebp - 0x398], 1
jmp 0x1004bb2f
and dword [ebp - 0x398], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
add eax, dword [ebp - 0x280]
je 0x1004bb68
mov dword [ebp - 0x288], 1
jmp 0x1004bb6f
and dword [ebp - 0x288], 0
push 2
lea ecx, [ebp - 0x4f0]
call fcn.10018f28
mov ecx, dword [ebp - 0x288]
mov dword [eax], ecx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4f0]
call fcn.10018f0c
jmp 0x1004b9c4
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x578]
call fcn.10018f0c
push 0
lea ecx, [ebp - 0x174]
call fcn.10018f28
xor eax, eax
inc eax
je 0x1004bbce
cmp dword [ebp - 0x2d0], 0
je 0x1004bbce
mov dword [ebp - 0x290], 1
jmp 0x1004bbd5
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x35c]
cmp dword [ebp - 0x290], eax
jle 0x1004bbef
mov dword [ebp - 0x298], 1
jmp 0x1004bbf6
and dword [ebp - 0x298], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov esi, dword [ebp - 0x298]
add esi, dword [eax]
push 1
lea ecx, [ebp - 0x174]
call fcn.10018f28
cmp esi, dword [eax]
jne 0x1004bc25
mov dword [ebp - 0x2a0], 1
jmp 0x1004bc2c
and dword [ebp - 0x2a0], 0
mov esi, dword [ebp - 0x360]
imul esi, dword [ebp - 0x2a0]
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
cmp esi, dword [eax]
jg 0x1004bc53
mov dword [ebp - 0x2a8], 1
jmp 0x1004bc5a
and dword [ebp - 0x2a8], 0
push 1
lea ecx, [ebp - 0x174]
call fcn.10018f28
mov ecx, dword [ebp - 0x2a8]
cmp ecx, dword [eax]
jl 0x1004bc7d
mov dword [ebp - 0x140], 1
jmp 0x1004bc84
and dword [ebp - 0x140], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp + eax - 0x44c], ecx
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 1
jb 0x1004bcb8
mov dword [ebp - 0x2b8], 1
jmp 0x1004bcbf
and dword [ebp - 0x2b8], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10018f28
mov ecx, dword [ebp - 0x2b8]
sub ecx, dword [eax]
cmp ecx, 0xfffffff7
jne 0x1004bce2
mov dword [ebp - 0x2c0], 1
jmp 0x1004bce9
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0xffffffff
jge 0x1004bd0a
mov dword [ebp - 0x2d8], 1
jmp 0x1004bd11
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x2d0]
cmp dword [ebp - 0x2d8], eax
jne 0x1004bd2b
mov dword [ebp - 0x368], 1
jmp 0x1004bd32
and dword [ebp - 0x368], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44c]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x370], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x174]
call fcn.10018f0c
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x60]
call fcn.10018f0c
lea eax, [ebp - 0x5e0]
push eax
mov ecx, dword [ebp + 8]
call fcn.10018d93
mov eax, dword [ebp - 0x2e8]
or eax, 1
mov dword [ebp - 0x2e8], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5e0]
call fcn.10018dec
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x604]
call fcn.10018dec
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret