Function at 0x100550cb
Capabilities:
Create thread
Enumerate gui resources
Get disk size
Get file system object information
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bddc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x580
push esi
push edi
mov dword [ebp - 0x24], 0xfffffff9
mov dword [ebp - 0x24], 0xfffffff3
jmp 0x10055102
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x100556ac
mov dword [ebp - 0x28], 1
push 1
lea ecx, [ebp - 0x3ac]
call fcn.10018d3c
and dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
jmp 0x10055134
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1005514a
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x434], 0xfe6e
jmp 0x1005512d
mov dword [ebp - 0x3c], 0
jmp 0x1005515a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x10055173
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x3ac]
call fcn.10018dda
and dword [eax], 0
jmp 0x10055153
mov dword [ebp - 0x28], 2
jmp 0x10055183
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10055406
push 3
lea ecx, [ebp - 0x4b8]
call fcn.10018d3c
mov byte [ebp - 4], 1
mov dword [ebp - 0xfc], 1
mov dword [ebp - 0xf4], 0
jmp 0x100551c1
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 3
jge 0x100551e3
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x4b8]
call fcn.10018dda
mov dword [eax], 0x8af066b
jmp 0x100551b4
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x434], 0xab1d
jg 0x10055201
mov dword [ebp - 0x270], 1
jmp 0x10055208
and dword [ebp - 0x270], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x270]
sub ecx, dword [ebp + eax - 0x434]
push 4
pop eax
shl eax, 1
cmp ecx, dword [ebp + eax - 0x434]
jne 0x10055235
mov dword [ebp - 0x350], 1
jmp 0x1005523c
and dword [ebp - 0x350], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x350]
add eax, 0xfffffff6
mov dword [ebp - 0x358], eax
push 2
lea ecx, [ebp - 0x4b8]
call fcn.10018dda
mov ecx, dword [ebp - 0x358]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x358]
jge 0x1005527b
mov dword [ebp - 0x360], 1
jmp 0x10055282
and dword [ebp - 0x360], 0
cmp dword [ebp - 0x360], 0xfffffff7
jg 0x10055297
mov dword [ebp - 0x368], 1
jmp 0x1005529e
and dword [ebp - 0x368], 0
cmp dword [ebp - 0x368], 1
jne 0x100552b3
mov dword [ebp - 0x370], 1
jmp 0x100552ba
and dword [ebp - 0x370], 0
mov eax, dword [ebp - 0x370]
neg eax
add eax, 4
je 0x100552d9
cmp dword [ebp - 0x24], 0
je 0x100552d9
mov dword [ebp - 0x378], 1
jmp 0x100552e0
and dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x378]
neg eax
imul eax, eax, 9
test eax, eax
je 0x10055301
cmp dword [ebp - 0x24], 0
je 0x10055301
mov dword [ebp - 0x380], 1
jmp 0x10055308
and dword [ebp - 0x380], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x434]
add eax, dword [ebp - 0x380]
cmp dword [ebp - 0x24], eax
jle 0x10055329
mov dword [ebp - 0x388], 1
jmp 0x10055330
and dword [ebp - 0x388], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x388], eax
jle 0x10055347
mov dword [ebp - 0x284], 1
jmp 0x1005534e
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp + eax*4 - 0x434]
sub esi, dword [ebp - 0x284]
push 0
lea ecx, [ebp - 0x3ac]
call fcn.10018dda
mov dword [eax], esi
mov dword [ebp - 0xfc], 0
jmp 0x10055386
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 2
jg 0x100553f2
mov dword [ebp - 0x90], 0xffffffff
mov byte [ebp - 0x53], 0
movzx eax, byte [ebp - 0x53]
test eax, eax
je 0x100553b4
push 0
push 0x55a
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov dword [ebp - 0x90], 0
jmp 0x100553cd
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jg 0x100553f0
push dword [ebp - 0x90]
lea ecx, [ebp - 0x3ac]
call fcn.10018dda
cmp dword [eax], 0
je 0x100553ee
jmp 0x100553f0
jmp 0x100553c0
jmp 0x10055379
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b8]
call fcn.10018dbe
jmp 0x1005517c
mov dword [ebp - 0x28], 0xffffffe9
jmp 0x10055416
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffef
jne 0x10055698
mov dword [ebp - 0x6c], 0x35cb5140
mov dword [ebp - 0x6c], 0
jmp 0x10055437
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 9
jle 0x10055680
push 2
lea ecx, [ebp - 0x150]
call fcn.10018d3c
mov byte [ebp - 4], 2
mov dword [ebp - 0x100], 0xfffffff9
mov dword [ebp - 0xe0], 0
jmp 0x10055475
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 2
jge 0x10055497
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x150]
call fcn.10018dda
mov dword [eax], 5
jmp 0x10055468
push 0
lea ecx, [ebp - 0x150]
call fcn.10018dda
mov dword [eax], 0xfffffff2
jmp 0x100554d0
push 0
lea ecx, [ebp - 0x150]
call fcn.10018dda
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x160]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x150]
call fcn.10018dda
cmp dword [eax], 0x12
jl 0x10055509
mov byte [ebp - 0x56], 0
movzx eax, byte [ebp - 0x56]
test eax, eax
je 0x10055507
push 0x2561
push 0x1023
push 0
push 0x20dc
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x100554ac
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x500], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x518], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x520], eax
mov esi, dword [ebp - 0x24]
push 1
lea ecx, [ebp - 0x150]
call fcn.10018dda
mov eax, dword [eax]
add eax, 0xee52
cmp esi, eax
jge 0x10055551
mov dword [ebp - 0x28c], 1
jmp 0x10055558
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28c]
lea eax, [ecx + eax - 5]
test eax, eax
je 0x1005557e
cmp dword [ebp - 0x100], 0
je 0x1005557e
mov dword [ebp - 0x168], 1
jmp 0x10055585
and dword [ebp - 0x168], 0
cmp dword [ebp - 0x168], 0
jne 0x100555a4
xor eax, eax
jne 0x100555a4
mov eax, 0x83d96456
test eax, eax
jne 0x100555a4
and dword [ebp - 0x294], 0
jmp 0x100555ae
mov dword [ebp - 0x294], 1
push 0
lea ecx, [ebp - 0x150]
call fcn.10018dda
mov ecx, dword [ebp - 0x294]
cmp ecx, dword [eax]
jne 0x100555d7
cmp dword [ebp - 0x24], 0
je 0x100555d7
mov dword [ebp - 0x170], 1
jmp 0x100555de
and dword [ebp - 0x170], 0
mov esi, dword [ebp - 0x6c]
add esi, dword [ebp - 0x170]
push 0
lea ecx, [ebp - 0x150]
call fcn.10018dda
cmp esi, dword [eax]
jle 0x10055613
push 0
lea ecx, [ebp - 0x3ac]
call fcn.10018dda
cmp dword [eax], 0
jne 0x10055613
and dword [ebp - 0x29c], 0
jmp 0x1005561d
mov dword [ebp - 0x29c], 1
cmp dword [ebp - 0x29c], 1
jg 0x10055632
mov dword [ebp - 0x178], 1
jmp 0x10055639
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x178], eax
jg 0x10055650
mov dword [ebp - 0x2a4], 1
jmp 0x10055657
and dword [ebp - 0x2a4], 0
push 0
lea ecx, [ebp - 0x150]
call fcn.10018dda
mov ecx, dword [ebp - 0x2a4]
mov dword [eax], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x150]
call fcn.10018dbe
jmp 0x10055430
push 0
lea ecx, [ebp - 0x3ac]
call fcn.10018dda
mov dword [eax], 1
jmp 0x1005540f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3ac]
call fcn.10018dbe
jmp 0x100550fb
mov dword [ebp - 0x198], 0xfffffff9
mov dword [ebp - 0x2bc], 0xffffffff
mov dword [ebp - 0x40c], 9
mov dword [ebp - 0xb4], 0
jmp 0x100556e3
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 2
jge 0x100556ff
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x9c], 0xfffffff6
jmp 0x100556d6
mov byte [ebp - 0x66], 0
movzx eax, byte [ebp - 0x66]
test eax, eax
je 0x10055719
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x528], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x56c], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x9c]
cmp dword [ebp + eax - 0x9c], ecx
je 0x10055767
mov dword [ebp - 0x180], 1
jmp 0x1005576e
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0
je 0x10055783
mov dword [ebp - 0x2ac], 1
jmp 0x1005578a
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x2ac]
neg eax
cmp eax, 0x72d7
jge 0x100557a5
mov dword [ebp - 0x188], 1
jmp 0x100557ac
and dword [ebp - 0x188], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x188]
sub ecx, dword [ebp + eax - 0x9c]
cmp ecx, 0xa32f
jl 0x100557d3
mov dword [ebp - 0x2b4], 1
jmp 0x100557da
and dword [ebp - 0x2b4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
add eax, dword [ebp - 0x2b4]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x9c]
cmp eax, dword [ebp - 0x198]
jl 0x1005580e
mov dword [ebp - 0x3b0], 1
jmp 0x10055815
and dword [ebp - 0x3b0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x4f0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x4f4], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x190], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x190]
mov dword [ebp + eax - 0x9c], ecx
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x4fc], eax
mov eax, 0x8d8ef068
test eax, eax
jne 0x1005589a
mov dword [ebp - 0x2c4], 1
jmp 0x100558a1
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x1a0], 0
push 3
lea ecx, [ebp - 0x4d0]
call fcn.10018d3c
mov dword [ebp - 4], 3
mov dword [ebp - 0x54c], 0x185a1fa1
mov dword [ebp - 0x48], 0
jmp 0x100558e5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x100558fb
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x468], 4
jmp 0x100558de
mov dword [ebp - 0x48], 0
jmp 0x1005590b
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x10055927
push dword [ebp - 0x48]
lea ecx, [ebp - 0x4d0]
call fcn.10018dda
mov dword [eax], 7
jmp 0x10055904
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x468], 0
jmp 0x10055955
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x468]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x468], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x468], 0xffffffee
jg 0x1005597d
mov dword [ebp - 0x3b8], 0x5e00
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x1a0], eax
jmp 0x1005593a
mov esi, dword [ebp - 0x1a0]
push 2
lea ecx, [ebp - 0x4d0]
call fcn.10018dda
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.10018dbe
mov dword [ebp - 0x40], 0xb26bdde0
mov dword [ebp - 0x158], 0xfffffff6
push 2
lea ecx, [ebp - 0x334]
call fcn.10018d3c
mov dword [ebp - 4], 4
mov dword [ebp - 0x30], 0xaabecba2
mov dword [ebp - 0x3c4], 1
mov dword [ebp - 0x504], 0x5b36
mov dword [ebp - 0xdc], 0
jmp 0x100559fa
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 2
jge 0x10055a1c
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x334]
call fcn.10018dda
mov dword [eax], 0x13dd33a4
jmp 0x100559ed
mov dword [ebp - 0x30], 1
jmp 0x10055a2c
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x10055b75
mov dword [ebp - 0x2d4], 0x40ca7005
mov dword [ebp - 0xbc], 0
jmp 0x10055a59
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 1
jge 0x10055a75
mov eax, dword [ebp - 0xbc]
mov dword [ebp + eax*4 - 0x3b4], 0xfffffff9
jmp 0x10055a4c
push dword [ebp - 0x30]
lea ecx, [ebp - 0x334]
call fcn.10018dda
mov esi, eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x334]
call fcn.10018dda
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x10055aa5
mov dword [ebp - 0x3bc], 1
jmp 0x10055aac
and dword [ebp - 0x3bc], 0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x334]
call fcn.10018dda
mov esi, eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x334]
call fcn.10018dda
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x10055adc
mov dword [ebp - 0x2cc], 1
jmp 0x10055ae3
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x3c4]
cmp dword [ebp - 0x2cc], eax
jle 0x10055b0d
push dword [ebp - 0x30]
lea ecx, [ebp - 0x334]
call fcn.10018dda
cmp dword [eax], 0
jne 0x10055b0d
and dword [ebp - 0x1a8], 0
jmp 0x10055b17
mov dword [ebp - 0x1a8], 1
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
add eax, 0xb783
imul esi, eax, 3
push dword [ebp - 0x30]
lea ecx, [ebp - 0x334]
call fcn.10018dda
cmp esi, dword [eax]
jne 0x10055b53
push 0xfffffffffffffff8
pop eax
test eax, eax
jne 0x10055b53
and dword [ebp - 0x1b0], 0
jmp 0x10055b5d
mov dword [ebp - 0x1b0], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp + eax - 0x3b4], ecx
jmp 0x10055a25
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call fcn.10018dbe
mov dword [ebp - 0x164], 0xf126c7f0
mov dword [ebp - 0x70], 0x5a136951
push 3
lea ecx, [ebp - 0x480]
call fcn.10018d3c
mov dword [ebp - 4], 5
push 1
lea ecx, [ebp - 0x4ac]
call fcn.10018d3c
mov byte [ebp - 4], 6
push 3
lea ecx, [ebp - 0x444]
call fcn.10018d3c
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], 0
jmp 0x10055bdb
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10055bee
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x50], 0x8ec0ae97
jmp 0x10055bd4
mov dword [ebp - 0x10], 0
jmp 0x10055bfe
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10055c1a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x480]
call fcn.10018dda
mov dword [eax], 0xe61780ee
jmp 0x10055bf7
mov dword [ebp - 0x10], 0
jmp 0x10055c2a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10055c43
push dword [ebp - 0x10]
lea ecx, [ebp - 0x4ac]
call fcn.10018dda
and dword [eax], 0
jmp 0x10055c23
mov dword [ebp - 0x10], 0
jmp 0x10055c53
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10055c6f
push dword [ebp - 0x10]
lea ecx, [ebp - 0x444]
call fcn.10018dda
mov dword [eax], 0xfffffffd
jmp 0x10055c4c
mov dword [ebp - 0x70], 0
jmp 0x10055c7f
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jg 0x10055ca3
mov byte [ebp - 0x58], 0
movzx eax, byte [ebp - 0x58]
test eax, eax
je 0x10055ca1
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x10055c78
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
mov dword [ebp - 0x2dc], eax
push 1
lea ecx, [ebp - 0x480]
call fcn.10018dda
mov ecx, dword [ebp - 0x2dc]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
cmp eax, dword [ebp - 0x2dc]
jge 0x10055ce6
mov dword [ebp - 0x1b8], 1
jmp 0x10055ced
and dword [ebp - 0x1b8], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x50], 0
je 0x10055d0f
mov eax, 0xd5943e2f
test eax, eax
je 0x10055d0f
mov dword [ebp - 0x2e4], 1
jmp 0x10055d16
and dword [ebp - 0x2e4], 0
mov dword [ebp - 0x70], 9
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x1b8]
imul eax, eax, 0
cmp eax, dword [ebp - 0x2e4]
jle 0x10055d3d
mov dword [ebp - 0x1c0], 1
jmp 0x10055d44
and dword [ebp - 0x1c0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
add eax, dword [ebp - 0x1c0]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x50]
jne 0x10055d6c
mov dword [ebp - 0x3d4], 1
jmp 0x10055d73
and dword [ebp - 0x3d4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
mov dword [ebp - 0x52c], eax
push 1
lea ecx, [ebp - 0x480]
call fcn.10018dda
cmp dword [eax], 1
ja 0x10055da1
mov dword [ebp - 0x2ec], 1
jmp 0x10055da8
and dword [ebp - 0x2ec], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2ec]
add ecx, dword [ebp + eax - 0x50]
mov dword [ebp - 0x1c8], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp + eax - 0x50], ecx
push 0
lea ecx, [ebp - 0x4ac]
call fcn.10018dda
mov ecx, dword [ebp - 0x1c8]
mov dword [eax], ecx
push 2
lea ecx, [ebp - 0x444]
call fcn.10018dda
push 2
lea ecx, [ebp - 0x444]
call fcn.10018dda
mov esi, eax
push 2
lea ecx, [ebp - 0x444]
call fcn.10018dda
mov ecx, dword [esi]
mov dword [eax], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x444]
call fcn.10018dbe
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4ac]
call fcn.10018dbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.10018dbe
mov dword [ebp - 0x4e0], 0x8ea2c39d
mov dword [ebp - 0x4dc], 0x8ea2c39d
mov dword [ebp - 0x4d8], 0x8ea2c39d
mov dword [ebp - 0x4d4], 0x8ea2c39d
or dword [ebp - 0x4a0], 0xffffffff
or dword [ebp - 0x49c], 0xffffffff
or dword [ebp - 0x498], 0xffffffff
or dword [ebp - 0x494], 0xffffffff
lea ecx, [ebp - 0x101]
call fcn.100092b3
push eax
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x580]
call fcn.10018de9
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x420]
call fcn.10018d98
mov dword [ebp - 4], 8
push 1
lea ecx, [ebp - 0x45c]
call fcn.10018d3c
mov byte [ebp - 4], 9
mov dword [ebp - 0x12c], 7
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0xc8], 0x167c28ca
mov dword [ebp - 0x2d0], 9
mov dword [ebp - 0xe4], 0
jmp 0x10055f0f
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 1
jge 0x10055f31
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x45c]
call fcn.10018dda
mov dword [eax], 0xb905
jmp 0x10055f02
push 0
lea ecx, [ebp - 0x420]
call fcn.10018dda
and dword [eax], 0
jmp 0x10055f67
push 0
lea ecx, [ebp - 0x420]
call fcn.10018dda
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2f4]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x420]
call fcn.10018dda
cmp dword [eax], 0xfffffff2
jne 0x10056416
push 2
lea ecx, [ebp - 0x84]
call fcn.10018d3c
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x8c], 0xfffffff8
mov dword [ebp - 0x1c], 0xc2076acb
mov dword [ebp - 0x3e4], 0x179b
mov dword [ebp - 0xec], 0
jmp 0x10055fc2
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 2
jge 0x10055fe4
push dword [ebp - 0xec]
lea ecx, [ebp - 0x84]
call fcn.10018dda
mov dword [eax], 0x111738ab
jmp 0x10055fb5
push 1
lea ecx, [ebp - 0x84]
call fcn.10018dda
and dword [eax], 0
jmp 0x1005601a
push 1
lea ecx, [ebp - 0x84]
call fcn.10018dda
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x84]
call fcn.10018dda
cmp dword [eax], 0
jg 0x100560fc
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x3dc], 0xf0720718
mov dword [ebp - 0x2fc], 0xaa9dade6
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x94]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2fc]
cmp dword [ebp - 0x12c], eax
je 0x10056086
mov dword [ebp - 0x1d8], 1
jmp 0x1005608d
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
push 1
lea ecx, [ebp - 0x84]
call fcn.10018dda
push dword [eax]
lea ecx, [ebp - 0x45c]
call fcn.10018dda
and dword [eax], 0
imul eax, dword [ebp - 0x1d8], 0
cmp dword [ebp - 0x110], eax
jge 0x100560d2
mov dword [ebp - 0x304], 1
jmp 0x100560d9
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc8], eax
jmp 0x10055ff6
mov dword [ebp - 0x1c], 0
jmp 0x1005610c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jg 0x10056402
mov dword [ebp - 0x340], 1
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x84]
call fcn.10018dda
cmp dword [eax], 0
jne 0x10056299
push 9
pop eax
test eax, eax
je 0x10056299
mov eax, dword [ebp - 0x12c]
cmp dword [ebp - 0x94], eax
jne 0x1005615c
mov dword [ebp - 0x1f8], 1
jmp 0x10056163
and dword [ebp - 0x1f8], 0
push 0
lea ecx, [ebp - 0x84]
call fcn.10018dda
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x84]
call fcn.10018dda
cmp dword [eax], 0
jl 0x1005618f
mov dword [ebp - 0x1e0], 1
jmp 0x10056196
and dword [ebp - 0x1e0], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x84]
call fcn.10018dda
mov ecx, dword [ebp - 0x1e0]
cmp ecx, dword [eax]
je 0x100561ba
mov dword [ebp - 0x30c], 1
jmp 0x100561c1
and dword [ebp - 0x30c], 0
mov esi, dword [ebp - 0x30c]
add esi, 0xa2f
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x84]
call fcn.10018dda
cmp esi, dword [eax]
jle 0x100561eb
mov dword [ebp - 0x1e8], 1
jmp 0x100561f2
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0xe13cd4fe
jb 0x1005620a
mov dword [ebp - 0x314], 1
jmp 0x10056211
and dword [ebp - 0x314], 0
push 0
lea ecx, [ebp - 0x45c]
call fcn.10018dda
mov ecx, dword [ebp - 0x314]
cmp ecx, dword [eax]
jge 0x10056234
mov dword [ebp - 0x1f0], 1
jmp 0x1005623b
and dword [ebp - 0x1f0], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x84]
call fcn.10018dda
mov ecx, dword [ebp - 0x1f0]
cmp ecx, dword [eax]
jl 0x1005625f
mov dword [ebp - 0x31c], 1
jmp 0x10056266
and dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x31c]
test eax, eax
jne 0x1005628f
push 0
lea ecx, [ebp - 0x84]
call fcn.10018dda
cmp dword [eax], 0
jne 0x1005628f
and dword [ebp - 0x324], 0
jmp 0x10056299
mov dword [ebp - 0x324], 1
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x200], eax
push 1
lea ecx, [ebp - 0x84]
call fcn.10018dda
mov ecx, dword [ebp - 0x200]
mov dword [eax], ecx
cmp dword [ebp - 0x200], 0xb7
jle 0x100562d8
mov eax, 0x8d029b4c
test eax, eax
jne 0x100562d8
and dword [ebp - 0x338], 0
jmp 0x100562e2
mov dword [ebp - 0x338], 1
mov eax, dword [ebp - 0x94]
imul eax, dword [ebp - 0x338]
cmp eax, 0xe2cc
jge 0x10056302
mov dword [ebp - 0x208], 1
jmp 0x10056309
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x340]
imul eax, dword [ebp - 0x208]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0x3e4], 0
je 0x10056332
push 1
lea ecx, [ebp - 0x84]
call fcn.10018dda
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x8c], eax
jl 0x1005634c
mov dword [ebp - 0x348], 1
jmp 0x10056353
and dword [ebp - 0x348], 0
mov esi, dword [ebp - 0x340]
add esi, dword [ebp - 0x348]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x84]
call fcn.10018dda
add esi, dword [eax]
mov dword [ebp - 0x8c], esi
jne 0x10056385
or eax, 0xffffffff
jne 0x10056385
and dword [ebp - 0x214], 0
jmp 0x1005638f
mov dword [ebp - 0x214], 1
push 0
lea ecx, [ebp - 0x420]
call fcn.10018dda
mov ecx, dword [ebp - 0x214]
neg ecx
cmp dword [eax], ecx
jge 0x100563b4
mov dword [ebp - 0x218], 1
jmp 0x100563bb
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x2d0], eax
jge 0x100563e1
mov dword [ebp - 0x220], 1
jmp 0x100563e8
and dword [ebp - 0x220], 0
push 1
lea ecx, [ebp - 0x84]
call fcn.10018dda
mov ecx, dword [ebp - 0x220]
mov dword [eax], ecx
jmp 0x10056105
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x84]
call fcn.10018dbe
jmp 0x10055f43
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x45c]
call fcn.10018dbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x420]
call fcn.10018dbe
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x20], 0x20f89b54
mov dword [ebp - 0x240], 9
mov dword [ebp - 0x3ec], 0xfffffff7
mov dword [ebp - 0x50c], 0xfffffffd
mov dword [ebp - 0xf0], 0
jmp 0x1005647c
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 3
jge 0x10056498
mov eax, dword [ebp - 0xf0]
mov dword [ebp + eax*4 - 0x144], 0x5f70ad6f
jmp 0x1005646f
mov dword [ebp - 0x20], 2
jmp 0x100564a8
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10056644
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x550], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x144]
cmp dword [ebp - 0x20], eax
jne 0x100564d9
mov dword [ebp - 0x328], 1
jmp 0x100564e0
and dword [ebp - 0x328], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x144]
cmp dword [ebp - 0x328], eax
jl 0x100564fe
mov dword [ebp - 0x228], 1
jmp 0x10056505
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x228], eax
jle 0x1005651c
mov dword [ebp - 0x2d8], 1
jmp 0x10056523
and dword [ebp - 0x2d8], 0
cmp dword [ebp - 0x2d8], 6
je 0x10056538
mov dword [ebp - 0x230], 1
jmp 0x1005653f
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x144]
cmp eax, dword [ebp - 0x230]
je 0x1005655d
mov dword [ebp - 0x374], 1
jmp 0x10056564
and dword [ebp - 0x374], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x144]
imul eax, dword [ebp - 0x374]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x144]
jl 0x10056590
mov dword [ebp - 0x238], 1
jmp 0x10056597
and dword [ebp - 0x238], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x144]
imul eax, dword [ebp - 0x238]
test eax, eax
jne 0x100565c1
mov eax, 0x8787d636
test eax, eax
jne 0x100565c1
and dword [ebp - 0x2e0], 0
jmp 0x100565cb
mov dword [ebp - 0x2e0], 1
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x144]
cmp eax, dword [ebp - 0x240]
jg 0x100565f5
mov dword [ebp - 0x33c], 1
jmp 0x100565fc
and dword [ebp - 0x33c], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x144]
cmp eax, dword [ebp - 0x33c]
jg 0x1005661a
mov dword [ebp - 0x248], 1
jmp 0x10056621
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x144], 0
je 0x1005663f
jmp 0x100564a1
jmp 0x100564a1
mov byte [ebp - 0x55], 0
mov dword [ebp - 0x18], 0xa4a9bdba
push 2
lea ecx, [ebp - 0x3a0]
call fcn.10018d3c
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x424], 9
mov dword [ebp - 0x38], 0
jmp 0x1005667d
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10056699
push dword [ebp - 0x38]
lea ecx, [ebp - 0x3a0]
call fcn.10018dda
mov dword [eax], 0xfe01
jmp 0x10056676
mov dword [ebp - 0x38], 0
jmp 0x100566a9
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x100566bf
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x11c], 0xfffffff6
jmp 0x100566a2
cmp dword [ebp - 0x18], 0
je 0x100566f2
mov byte [ebp - 0x57], 0
movzx eax, byte [ebp - 0x57]
test eax, eax
je 0x100566d9
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov byte [ebp - 0x52], 0
movzx eax, byte [ebp - 0x52]
test eax, eax
je 0x100566ed
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x10056c3c
push 3
lea ecx, [ebp - 0x138]
call fcn.10018d3c
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xd0], 0
jmp 0x1005671c
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 3
jge 0x1005673e
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x138]
call fcn.10018dda
mov dword [eax], 1
jmp 0x1005670f
mov dword [ebp - 0x18], 0
jmp 0x1005674e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x10056890
mov dword [ebp - 0xe8], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3a0]
call fcn.10018dda
mov esi, eax
push 1
lea ecx, [ebp - 0x138]
call fcn.10018dda
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [ebp - 0xe8], 0
jmp 0x1005679c
mov eax, dword [ebp - 0xe8]
dec eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0xffffffeb
jl 0x1005688b
mov dword [ebp - 0x3f4], 0x57a6
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3a0]
call fcn.10018dda
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3a0]
call fcn.10018dda
mov esi, eax
push 1
lea ecx, [ebp - 0x138]
call fcn.10018dda
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x100567f0
mov dword [ebp - 0x2e8], 1
jmp 0x100567f7
and dword [ebp - 0x2e8], 0
push 0
lea ecx, [ebp - 0x3a0]
call fcn.10018dda
mov eax, dword [eax]
add eax, 0xd62e652
jne 0x10056819
mov dword [ebp - 0x250], 1
jmp 0x10056820
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x2e8]
cmp eax, dword [ebp - 0x250]
jne 0x1005683a
mov dword [ebp - 0x364], 1
jmp 0x10056841
and dword [ebp - 0x364], 0
mov eax, dword [ebp - 0x364]
neg eax
cmp eax, 0xffffffff
jle 0x1005685e
push 4
pop eax
test eax, eax
jne 0x1005685e
and dword [ebp - 0x258], 0
jmp 0x10056868
mov dword [ebp - 0x258], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x258]
mov dword [ebp + eax - 0x11c], ecx
cmp dword [ebp - 0x3f4], 0
je 0x10056886
jmp 0x1005688b
jmp 0x1005678f
jmp 0x10056747
mov dword [ebp - 0x18], 0
jmp 0x100568a0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xe
jle 0x10056c2d
mov dword [ebp - 0xd8], 0x67bbda73
mov dword [ebp - 0x44], 0
jmp 0x100568c4
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x100568da
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x128], 0x7e3bc4ae
jmp 0x100568bd
mov dword [ebp - 0x44], 0
jmp 0x100568ea
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x10056900
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x108], 0xd413053b
jmp 0x100568e3
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x128], 0xfffffffa
jmp 0x1005692e
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x128]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x128], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x128], 0xffffffe7
jg 0x10056c28
mov dword [ebp - 0x344], 0xc0b8072
mov dword [ebp - 0x5c], 0xfffffffa
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x11c]
mov dword [ebp - 0x514], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x10056a82
push 2
lea ecx, [ebp - 0x138]
call fcn.10018dda
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x11c]
cmp dword [ebp + eax - 0x11c], ecx
jg 0x100569b1
mov dword [ebp - 0x2f0], 1
jmp 0x100569b8
and dword [ebp - 0x2f0], 0
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x2f0], eax
jge 0x100569d2
mov dword [ebp - 0x3fc], 1
jmp 0x100569d9
and dword [ebp - 0x3fc], 0
push 1
lea ecx, [ebp - 0x138]
call fcn.10018dda
mov eax, dword [ebp - 0xd8]
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x128]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x11c]
test eax, eax
jne 0x10056a25
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x11c], 0
jne 0x10056a25
and dword [ebp - 0x260], 0
jmp 0x10056a2f
mov dword [ebp - 0x260], 1
push 1
lea ecx, [ebp - 0x138]
call fcn.10018dda
mov eax, dword [eax]
neg eax
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x260]
lea eax, [ecx + eax - 1]
cmp dword [ebp - 0x344], eax
jle 0x10056a67
mov dword [ebp - 0x268], 1
jmp 0x10056a6e
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x268], eax
jg 0x10056a82
and dword [ebp - 0x154], 0
jmp 0x10056a8c
mov dword [ebp - 0x154], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x128]
mov dword [ebp - 0x2f8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2f8]
mov dword [ebp + eax - 0x108], ecx
mov eax, dword [ebp - 0x2f8]
add eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x5c]
jl 0x10056ad2
cmp dword [ebp - 0x18], 0
jne 0x10056ad2
and dword [ebp - 0x384], 0
jmp 0x10056adc
mov dword [ebp - 0x384], 1
mov eax, dword [ebp - 0x5c]
imul eax, dword [ebp - 0x384]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x11c]
jl 0x10056b01
mov dword [ebp - 0x278], 1
jmp 0x10056b08
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x424]
cmp dword [ebp - 0x278], eax
jne 0x10056b29
push 3
pop eax
test eax, eax
je 0x10056b29
mov dword [ebp - 0x300], 1
jmp 0x10056b30
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x5c], eax
push 1
lea ecx, [ebp - 0x138]
call fcn.10018dda
mov esi, eax
push 1
lea ecx, [ebp - 0x138]
call fcn.10018dda
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x10056b67
mov dword [ebp - 0x280], 1
jmp 0x10056b6e
and dword [ebp - 0x280], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x128]
sub eax, dword [ebp - 0x280]
cmp eax, 1
jge 0x10056b92
mov dword [ebp - 0x34c], 1
jmp 0x10056b99
and dword [ebp - 0x34c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x108]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xd9258c0f
je 0x10056bbe
mov dword [ebp - 0x288], 1
jmp 0x10056bc5
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x34c]
cmp eax, dword [ebp - 0x288]
je 0x10056bdf
mov dword [ebp - 0x308], 1
jmp 0x10056be6
and dword [ebp - 0x308], 0
push 1
lea ecx, [ebp - 0x138]
call fcn.10018dda
mov ecx, dword [ebp - 0x308]
cmp ecx, dword [eax]
jle 0x10056c09
mov dword [ebp - 0x290], 1
jmp 0x10056c10
and dword [ebp - 0x290], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x290]
mov dword [ebp + eax - 0x108], ecx
jmp 0x10056913
jmp 0x10056899
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x138]
call fcn.10018dbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3a0]
call fcn.10018dbe
lea eax, [ebp - 0x55]
push eax
call fcn.10051699
pop ecx
mov dword [ebp - 0x53c], 0x8345
push 3
lea ecx, [ebp - 0x548]
call fcn.10018d3c
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x51c], 0xffffffff
mov dword [ebp - 0x4ec], 7
mov dword [ebp - 0x4c], 0
jmp 0x10056c97
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x10056cb0
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x548]
call fcn.10018dda
or dword [eax], 0xffffffff
jmp 0x10056c90
mov dword [ebp - 0x4c], 0
jmp 0x10056cc0
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x10056cd6
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x538], 3
jmp 0x10056cb9
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x538]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x538], eax
mov byte [ebp - 0x54], 0
movzx eax, byte [ebp - 0x54]
test eax, eax
je 0x10056d03
call dword [sym.imp.KERNEL32.dll_GetLastError]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x548]
call fcn.10018dbe
mov dword [ebp - 0x40], 0xfffffffe
jmp 0x10056d22
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x17
jne 0x1005753f
mov dword [ebp - 0x64], 0
push 4
lea ecx, [ebp - 0x394]
call fcn.10018d3c
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x310], 0x51f1e283
mov dword [ebp - 0x10c], 0x5878ed7c
mov dword [ebp - 0xf8], 0
jmp 0x10056d74
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 4
jge 0x10056d96
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x394]
call fcn.10018dda
mov dword [eax], 0x833fcb50
jmp 0x10056d67
cmp dword [ebp - 0x64], 0
je 0x1005707f
mov dword [ebp - 0x408], 0x7f6c
mov dword [ebp - 0x20c], 2
mov dword [ebp - 0x4e8], 5
mov dword [ebp - 0x3f8], 0xfffffff6
mov dword [ebp - 0x3cc], 0x81c3
mov dword [ebp - 0x64], 0
jmp 0x10056de2
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jg 0x10057068
mov dword [ebp - 0x3c8], 0xffffffff
mov dword [ebp - 0x210], 0xa3735b26
mov dword [ebp - 0x354], 0xfffffffd
mov dword [ebp - 0x568], 0x7b051af7
mov dword [ebp - 0x564], 0x7b051af7
mov dword [ebp - 0x560], 0x7b051af7
mov dword [ebp - 0x55c], 0x7b051af7
mov byte [ebp - 0x65], 0
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x10056e48
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
mov eax, 0x6b471dfd
test eax, eax
je 0x10056fea
push dword [ebp - 0x64]
lea ecx, [ebp - 0x394]
call fcn.10018dda
mov esi, eax
push 2
lea ecx, [ebp - 0x394]
call fcn.10018dda
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x10056e88
xor eax, eax
je 0x10056e88
mov dword [ebp - 0x36c], 1
jmp 0x10056e8f
and dword [ebp - 0x36c], 0
mov eax, dword [ebp - 0x36c]
add eax, 0xffff
cmp eax, dword [ebp - 0x310]
jle 0x10056eae
mov dword [ebp - 0x298], 1
jmp 0x10056eb5
and dword [ebp - 0x298], 0
imul eax, dword [ebp - 0x298], 0xffffffff
cmp eax, dword [ebp - 0x310]
jge 0x10056ed7
push 4
pop eax
test eax, eax
je 0x10056ed7
mov dword [ebp - 0x2a0], 1
jmp 0x10056ede
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x2a0]
inc eax
cmp dword [ebp - 0x354], eax
jl 0x10056f05
mov dword [ebp - 0x2a8], 1
jmp 0x10056f0c
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x2a8]
sub eax, dword [ebp - 0x3f8]
cmp eax, dword [ebp - 0x3cc]
je 0x10056f2c
mov dword [ebp - 0x318], 1
jmp 0x10056f33
and dword [ebp - 0x318], 0
push 3
lea ecx, [ebp - 0x394]
call fcn.10018dda
mov ecx, dword [ebp - 0x318]
cmp ecx, dword [eax]
jl 0x10056f56
mov dword [ebp - 0x2b0], 1
jmp 0x10056f5d
and dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x2b0], 1
jae 0x10056f72
mov dword [ebp - 0x37c], 1
jmp 0x10056f79
and dword [ebp - 0x37c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x3c0], eax
push dword [ebp - 0x64]
lea ecx, [ebp - 0x394]
call fcn.10018dda
mov eax, dword [eax]
imul eax, dword [ebp - 0x37c]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x3c0]
cmp eax, dword [ebp - 0x414]
jge 0x10056fc9
mov dword [ebp - 0x2b8], 1
jmp 0x10056fd0
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x3c8]
cmp dword [ebp - 0x2b8], eax
jl 0x10056fea
mov dword [ebp - 0x320], 1
jmp 0x10056ff1
and dword [ebp - 0x320], 0
mov eax, 0x2972
sub eax, dword [ebp - 0x320]
cmp eax, dword [ebp - 0x408]
jge 0x10057010
mov dword [ebp - 0x2c0], 1
jmp 0x10057017
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x210]
cmp dword [ebp - 0x2c0], eax
je 0x10057031
mov dword [ebp - 0x35c], 1
jmp 0x10057038
and dword [ebp - 0x35c], 0
cmp dword [ebp - 0x35c], 0xfff7
jae 0x10057050
mov dword [ebp - 0x2c8], 1
jmp 0x10057057
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x210], eax
jmp 0x10056ddb
push 2
lea ecx, [ebp - 0x394]
call fcn.10018dda
mov eax, dword [eax]
mov dword [ebp - 0x20c], eax
jmp 0x10057097
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x10057097
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov byte [ebp - 0x5d], 0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x100570bb
push 0
push 0x911
push 0
push 0
push 0xfcc
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x394]
call fcn.10018dbe
mov dword [ebp - 0x184], 4
mov dword [ebp - 0x18c], 0x2324
mov dword [ebp - 0xac], 0
jmp 0x100570f7
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 2
jge 0x10057113
mov eax, dword [ebp - 0xac]
mov dword [ebp + eax*4 - 0x558], 0xffffffff
jmp 0x100570ea
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x558], 0
je 0x10057128
jmp 0x1005753f
mov dword [ebp - 0x2c], 0x5d16df25
mov dword [ebp - 0x34], 0x439cb61d
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0xc4], 0x33356370
mov dword [ebp - 0x3d0], 0xb323
mov dword [ebp - 0xc0], 0
jmp 0x1005716d
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 2
jge 0x10057189
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0xa8], 0xc6a5
jmp 0x10057160
mov dword [ebp - 0x2c], 1
jmp 0x10057199
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x100573d2
mov dword [ebp - 0x120], 0x2ae45661
mov dword [ebp - 0x438], 0xeb945924
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ebp + ecx*4 - 0xa8]
add ecx, 0xffff
cmp dword [ebp + eax - 0xa8], ecx
jge 0x100571e2
mov dword [ebp - 0x21c], 1
jmp 0x100571e9
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0xa8]
cmp eax, dword [ebp - 0x21c]
je 0x10057207
mov dword [ebp - 0x224], 1
jmp 0x1005720e
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x224], 0xfffb
jne 0x10057226
mov dword [ebp - 0x22c], 1
jmp 0x1005722d
and dword [ebp - 0x22c], 0
cmp dword [ebp - 0x22c], 0x3187110e
jne 0x10057245
mov dword [ebp - 0x234], 1
jmp 0x1005724c
and dword [ebp - 0x234], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x234]
jne 0x1005727f
mov dword [ebp - 0x23c], 1
jmp 0x10057286
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0xa8]
imul eax, dword [ebp - 0x23c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x100572be
mov dword [ebp - 0x244], 1
jmp 0x100572c5
and dword [ebp - 0x244], 0
cmp dword [ebp - 0xc4], 0
je 0x100572ff
cmp dword [ebp - 0x34], 0
je 0x100572ff
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0xa8]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x100572ff
cmp dword [ebp - 0x34], 0
je 0x100572ff
mov dword [ebp - 0x24c], 1
jmp 0x10057306
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x244]
neg eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24c]
sub edx, dword [ebp + ecx*4 - 0xa8]
cmp eax, edx
jle 0x1005732e
mov dword [ebp - 0x254], 1
jmp 0x10057335
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0xa8]
cmp dword [ebp - 0x254], eax
jg 0x10057358
xor eax, eax
inc eax
je 0x10057358
mov dword [ebp - 0x25c], 1
jmp 0x1005735f
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x818264d9
jb 0x10057383
mov dword [ebp - 0x264], 1
jmp 0x1005738a
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0xa8]
cmp dword [ebp - 0x264], eax
jg 0x100573ae
cmp dword [ebp - 0x120], 0
jne 0x100573ae
and dword [ebp - 0x26c], 0
jmp 0x100573b8
mov dword [ebp - 0x26c], 1
mov eax, dword [ebp - 0x3d0]
add eax, dword [ebp - 0x26c]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x438], eax
jmp 0x10057192
mov dword [ebp - 0x34], 0
jmp 0x100573e2
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x100573f8
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xa8], 1
jmp 0x100573db
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4f8], eax
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x40], eax
je 0x10057415
mov dword [ebp - 0x274], 1
jmp 0x1005741c
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x274]
test eax, eax
jne 0x10057436
mov dword [ebp - 0x27c], 1
jmp 0x1005743d
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0xa760
jle 0x10057461
mov dword [ebp - 0x15c], 1
jmp 0x10057468
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0xffffffff
jbe 0x1005747d
mov dword [ebp - 0x3d8], 1
jmp 0x10057484
and dword [ebp - 0x3d8], 0
mov eax, dword [ebp - 0x164]
cmp dword [ebp - 0x164], eax
jne 0x1005749e
mov dword [ebp - 0x16c], 1
jmp 0x100574a5
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
neg eax
cmp dword [ebp - 0x40], eax
jg 0x100574be
mov dword [ebp - 0x174], 1
jmp 0x100574c5
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0x8e1b8814
je 0x100574dd
mov dword [ebp - 0x17c], 1
jmp 0x100574e4
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x184], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x184]
mov dword [ebp + eax - 0x4e0], ecx
cmp dword [ebp - 0x18c], 0
jne 0x1005751d
mov eax, 0xfb26
test eax, eax
jne 0x1005751d
and dword [ebp - 0x194], 0
jmp 0x10057527
mov dword [ebp - 0x194], 1
mov eax, dword [ebp - 0x18c]
imul eax, dword [ebp - 0x194]
mov dword [ebp - 0x410], eax
jmp 0x10056d1b
mov dword [ebp - 0x78], 0xffff
mov dword [ebp - 0xd4], 0xfffffff8
mov dword [ebp - 0x74], 1
push 1
lea ecx, [ebp - 0x4c4]
call fcn.10018d3c
mov dword [ebp - 4], 0xf
push 2
lea ecx, [ebp - 0x48c]
call fcn.10018d3c
mov byte [ebp - 4], 0x10
mov dword [ebp - 0xcc], 0xffffffff
mov dword [ebp - 0x1cc], 0xfffffff6
push 1
lea ecx, [ebp - 0x474]
call fcn.10018d3c
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x1fc], 0xfffffffb
mov dword [ebp - 0x204], 0x36511f0b
mov dword [ebp - 0x14], 0
jmp 0x100575c5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x100575de
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4c4]
call fcn.10018dda
or dword [eax], 0xffffffff
jmp 0x100575be
mov dword [ebp - 0x14], 0
jmp 0x100575ee
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1005760a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48c]
call fcn.10018dda
mov dword [eax], 0x7392
jmp 0x100575e7
mov dword [ebp - 0x14], 0
jmp 0x1005761a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10057633
push dword [ebp - 0x14]
lea ecx, [ebp - 0x474]
call fcn.10018dda
and dword [eax], 0
jmp 0x10057613
mov dword [ebp - 0x14], 0
jmp 0x10057643
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10057659
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3f0], 1
jmp 0x1005763c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4e4], eax
push 0
lea ecx, [ebp - 0x4c4]
call fcn.10018dda
mov dword [eax], 5
mov eax, 0xffff
imul eax, eax, 5
cmp dword [ebp - 0xcc], eax
jne 0x10057691
mov dword [ebp - 0x19c], 1
jmp 0x10057698
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x19c], eax
je 0x100576b2
mov dword [ebp - 0x1a4], 1
jmp 0x100576b9
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 0
jge 0x100576ce
mov dword [ebp - 0x1ac], 1
jmp 0x100576d5
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x1ac], eax
jne 0x100576ec
mov dword [ebp - 0x1b4], 1
jmp 0x100576f3
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x1b4]
je 0x1005770a
mov dword [ebp - 0x1bc], 1
jmp 0x10057711
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 6
je 0x10057732
mov dword [ebp - 0x1c4], 1
jmp 0x10057739
and dword [ebp - 0x1c4], 0
push 0
lea ecx, [ebp - 0x48c]
call fcn.10018dda
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x114]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3e0]
cmp eax, dword [ebp - 0x428]
je 0x10057791
mov dword [ebp - 0x3e8], 1
jmp 0x10057798
and dword [ebp - 0x3e8], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x508], eax
push 0
lea ecx, [ebp - 0x48c]
call fcn.10018dda
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x74], eax
jg 0x100577c7
mov dword [ebp - 0x400], 1
jmp 0x100577ce
and dword [ebp - 0x400], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x510], eax
mov dword [ebp - 0x1cc], 0xa75e
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d4], eax
push 0
lea ecx, [ebp - 0x474]
call fcn.10018dda
mov ecx, dword [ebp - 0x1d4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x1d4], eax
jne 0x1005781c
mov dword [ebp - 0x1dc], 1
jmp 0x10057823
and dword [ebp - 0x1dc], 0
imul eax, dword [ebp - 0x1dc], 0x8a1b
cmp dword [ebp - 0x78], eax
jle 0x1005783e
mov dword [ebp - 0x1e4], 1
jmp 0x10057845
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0x1e4]
neg eax
cmp eax, dword [ebp - 0x78]
jne 0x10057864
mov dword [ebp - 0x1ec], 1
jmp 0x1005786b
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x1ec], eax
jl 0x1005788b
mov eax, 0x3239
test eax, eax
jne 0x1005788b
and dword [ebp - 0x1f4], 0
jmp 0x10057895
mov dword [ebp - 0x1f4], 1
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x204], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x204]
mov dword [ebp + eax - 0x3f0], ecx
mov esi, dword [ebp - 0xd4]
push 0
lea ecx, [ebp - 0x474]
call fcn.10018dda
mov dword [eax], esi
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x474]
call fcn.10018dbe
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48c]
call fcn.10018dbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c4]
call fcn.10018dbe
push 1
lea eax, [ebp - 0x58c]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10050efe
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x578]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x578]
lea edi, [ebp - 0x450]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb8], 0x571177e8
mov dword [ebp - 0xb0], 0
jmp 0x10057954
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 1
jge 0x10057970
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x404], 0x1dbe
jmp 0x10057947
mov dword [ebp - 0xb8], 0xffffffff
jmp 0x10057989
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x19
je 0x100579d4
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x88], 0
jmp 0x100579b5
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jl 0x100579d2
mov eax, dword [ebp - 0x88]
cmp dword [ebp + eax*4 - 0x404], 0
je 0x100579d0
jmp 0x100579d2
jmp 0x100579a8
jmp 0x1005797c
cmp dword [ebp - 0x450], 0
je 0x100579f1
push 2
push dword [ebp - 0x448]
push dword [ebp - 0x44c]
call dword [ebp - 0x450]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret