Function at 0x100485f3
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100844f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9ec
push esi
and dword [ebp - 0x1c], 0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004cc5b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x524], eax
mov dword [ebp - 0x58], 0xac204e2d
mov dword [ebp - 0x2c0], 0x88753e1e
mov dword [ebp - 0x29c], 0xb90f9986
mov dword [ebp - 0x1a4], 0xbbde
mov dword [ebp - 0x58], 0x1b
jmp 0x10048666
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jne 0x100486ff
mov dword [ebp - 0xb4], 0xffffffff
mov dword [ebp - 0x144], 0
jmp 0x10048693
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 2
jge 0x100486af
mov eax, dword [ebp - 0x144]
mov dword [ebp + eax*4 - 0x8e0], 0x7f0a
jmp 0x10048686
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb4], 0
jmp 0x100486d5
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 1
jg 0x100486fa
mov byte [ebp - 0x7b], 0
movzx eax, byte [ebp - 0x7b]
test eax, eax
je 0x100486f8
push 0xdf2
push 0
call fcn.10046e00
pop ecx
pop ecx
jmp 0x100486c8
jmp 0x1004865f
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp - 0x1a4]
imul eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x1a4]
inc ecx
mov dword [ebp - 0x1a4], ecx
test eax, eax
jne 0x10048735
cmp dword [ebp - 0x58], 0
jne 0x10048735
and dword [ebp - 0x358], 0
jmp 0x1004873f
mov dword [ebp - 0x358], 1
mov eax, dword [ebp - 0x29c]
imul eax, dword [ebp - 0x2c0]
imul eax, dword [ebp - 0x358]
cmp eax, dword [ebp - 0x29c]
jg 0x10048767
mov dword [ebp - 0x4f8], 1
jmp 0x1004876e
and dword [ebp - 0x4f8], 0
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x4f8]
neg eax
cmp eax, 0x6d0811fc
jne 0x1004878c
mov dword [ebp - 0x514], 1
jmp 0x10048793
and dword [ebp - 0x514], 0
cmp dword [ebp - 0x514], 0xe7b1
jne 0x100487ab
mov dword [ebp - 0x51c], 1
jmp 0x100487b2
and dword [ebp - 0x51c], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x51c], eax
jge 0x10048836
mov dword [ebp - 0x5a4], 0x5b5cf0ad
mov dword [ebp - 0x5cc], 0xfffffff9
lea eax, [ebp - 0x1a4]
push eax
push 0x3d0c
push 0x3d63
push 0x73df
lea eax, [ebp - 0x5cc]
push eax
push 0x4a83
push 0x4a86
lea eax, [ebp - 0x29c]
push eax
push 0x1e28
lea eax, [ebp - 0x58]
push eax
push 0
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x5a4]
push eax
call fcn.10047865
add esp, 0x34
mov byte [ebp - 0x7e], 0
movzx eax, byte [ebp - 0x7e]
test eax, eax
je 0x10048834
push 0
call fcn.10046d67
pop ecx
jmp 0x10048856
mov byte [ebp - 0x80], 0
movzx eax, byte [ebp - 0x80]
test eax, eax
je 0x10048856
push 1
push 0x789b
push 0x6d9
call fcn.100467a4
add esp, 0xc
mov eax, dword [ebp - 0x524]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004886b
jmp 0x1004cc6f
push 0x1129
push 1
push 0x5916
call fcn.10046810
add esp, 0xc
mov eax, dword [ebp - 0x524]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x14c], 0xfffffffa
mov dword [ebp - 0x7dc], 0x8462751c
mov dword [ebp - 0x7f8], 0xaa43b2b7
mov dword [ebp - 0x7e4], 0xffffffff
mov dword [ebp - 0x878], 0x3880e033
mov dword [ebp - 0x808], 1
push 1
lea ecx, [ebp - 0x838]
call fcn.100171f5
and dword [ebp - 4], 0
mov dword [ebp - 0x52c], 0xb748abb7
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x60], 0
jmp 0x10048902
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x10048918
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x940], 0
jmp 0x100488fb
mov dword [ebp - 0x60], 0
jmp 0x10048928
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x10048941
push dword [ebp - 0x60]
lea ecx, [ebp - 0x838]
call fcn.10017262
or dword [eax], 0xffffffff
jmp 0x10048921
mov dword [ebp - 0x14c], 1
jmp 0x1004895a
mov eax, dword [ebp - 0x14c]
dec eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jl 0x10048a3d
mov dword [ebp - 0x814], 0xe550
mov dword [ebp - 0x880], 0x588e1b61
mov dword [ebp - 0x81c], 7
mov dword [ebp - 0x8a8], 0
mov dword [ebp - 0x784], 1
mov dword [ebp - 0x788], 0
mov dword [ebp - 0x790], 0xffffffff
mov dword [ebp - 0x798], 0
mov dword [ebp - 0x7a0], 6
mov dword [ebp - 0x7a8], 0x39d98273
push 2
lea ecx, [ebp - 0x828]
call fcn.100171f5
mov byte [ebp - 4], 1
lea eax, [ebp - 0x828]
push eax
push 0x756c
push 0x8e7
push 1
push 0x3a80
lea eax, [ebp - 0x7b0]
push eax
call fcn.10046ae1
add esp, 0x18
mov eax, dword [ebp - 0x52c]
inc eax
mov dword [ebp - 0x52c], eax
push 0x52d5
push 0x73b6
push 0
push 0x4246
call fcn.100476c8
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x828]
call fcn.1001725d
jmp 0x1004894d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.1001725d
mov eax, dword [ebp - 0x98]
cmp dword [eax], 0x4550
je 0x10048a5f
jmp 0x1004cc6f
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0x10c], 0xfffffffe
mov dword [ebp - 0xe0], 0
jmp 0x10048a9f
mov eax, dword [ebp - 0xe0]
dec eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xffffffe9
jl 0x10048b64
lea eax, [ebp - 0xe0]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
call fcn.10046bba
add esp, 0xc
mov dword [ebp - 0x10c], 0
jmp 0x10048add
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x17
je 0x10048b5f
mov dword [ebp - 0x1ac], 0x4543beb7
mov byte [ebp - 0x82], 0
movzx eax, byte [ebp - 0x82]
test eax, eax
je 0x10048b10
push 0x546c
push 0
call fcn.100473de
pop ecx
pop ecx
mov dword [ebp - 0x1ac], 0xffffffe8
jmp 0x10048b29
mov eax, dword [ebp - 0x1ac]
inc eax
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0xffffffff
jle 0x10048b5a
mov byte [ebp - 0x91], 0
movzx eax, byte [ebp - 0x91]
test eax, eax
je 0x10048b58
push 0x2f79
push 0x4277
push 1
call fcn.10046bff
add esp, 0xc
jmp 0x10048b1c
jmp 0x10048ad0
jmp 0x10048a92
mov eax, dword [ebp - 0x44]
cmp dword [eax + 4], 0
jne 0x10048b72
jmp 0x1004cc6f
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x98]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x98]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x20], 0x90be4438
mov dword [ebp - 0x6c], 0xfffffff7
mov dword [ebp - 0x48], 0xfffffff6
mov dword [ebp - 0x6d0], 0x811fc80a
mov dword [ebp - 0x6cc], 0x811fc80a
mov dword [ebp - 0x6c8], 0x811fc80a
mov dword [ebp - 0x6c4], 0x811fc80a
lea ecx, [ebp - 0x2ad]
call fcn.10008cc3
push eax
lea eax, [ebp - 0x6c0]
push eax
lea eax, [ebp - 0x6d0]
push eax
lea ecx, [ebp - 0x958]
call fcn.10017271
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x63c]
call fcn.10017237
mov dword [ebp - 4], 2
mov dword [ebp - 0x88], 0x87292079
mov dword [ebp - 0x604], 0x7aeb
mov dword [ebp - 0x154], 0
jmp 0x10048c33
mov eax, dword [ebp - 0x154]
inc eax
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 3
jge 0x10048c4f
mov eax, dword [ebp - 0x154]
mov dword [ebp + eax*4 - 0x214], 0xfdc8dfba
jmp 0x10048c26
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x20], eax
jl 0x10048c63
mov dword [ebp - 0x534], 1
jmp 0x10048c6a
and dword [ebp - 0x534], 0
cmp dword [ebp - 0x20], 0
je 0x10048c87
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x6c]
je 0x10048c87
mov dword [ebp - 0x53c], 1
jmp 0x10048c8e
and dword [ebp - 0x53c], 0
mov eax, dword [ebp - 0x534]
cmp eax, dword [ebp - 0x53c]
jg 0x10048ca8
mov dword [ebp - 0x520], 1
jmp 0x10048caf
and dword [ebp - 0x520], 0
mov eax, dword [ebp - 0x520]
sub eax, dword [ebp - 0x48]
je 0x10048cca
xor eax, eax
je 0x10048cca
mov dword [ebp - 0x42c], 1
jmp 0x10048cd1
and dword [ebp - 0x42c], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x42c], eax
jg 0x10048ce8
mov dword [ebp - 0x4f0], 1
jmp 0x10048cef
and dword [ebp - 0x4f0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4f0]
mov dword [ebp + eax - 0x214], ecx
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x214], 1
xor eax, eax
add eax, 0xfffe
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x314], eax
push 2
lea ecx, [ebp - 0x63c]
call fcn.10017262
mov ecx, dword [ebp - 0x314]
mov dword [eax], ecx
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x314], eax
jle 0x10048d4f
mov dword [ebp - 0x4bc], 1
jmp 0x10048d56
and dword [ebp - 0x4bc], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x4bc], eax
jl 0x10048d6d
mov dword [ebp - 0x31c], 1
jmp 0x10048d74
and dword [ebp - 0x31c], 0
cmp dword [ebp - 0x31c], 0x45bbbdeb
jg 0x10048d8c
mov dword [ebp - 0x434], 1
jmp 0x10048d93
and dword [ebp - 0x434], 0
cmp dword [ebp - 0x434], 0x72b9
je 0x10048dab
mov dword [ebp - 0x324], 1
jmp 0x10048db2
and dword [ebp - 0x324], 0
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x324]
imul eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x10049053
mov dword [ebp - 0x2c8], 0xa6dad3f0
mov dword [ebp - 0x88], 2
jmp 0x10048df5
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jl 0x1004904e
mov dword [ebp - 0x50c], 0x239f
mov dword [ebp - 0x2d0], 0xfffffff6
push 0
push 0x133
push 0x5b10
call fcn.10047065
add esp, 0xc
mov dword [ebp - 0x20], 0
jmp 0x10048e3a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x10049049
mov dword [ebp - 0x32c], 0xfffd
mov dword [ebp - 0x6c], 0
jmp 0x10048e5e
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jg 0x10048fa3
mov dword [ebp - 0x43c], 0x78029323
mov dword [ebp - 0x48], 0
jmp 0x10048e82
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x10048ecc
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b4], 3
jmp 0x10048eab
mov eax, dword [ebp - 0x1b4]
dec eax
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
jl 0x10048eca
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x214]
mov dword [ebp + ecx*4 - 0x214], eax
jmp 0x10048e9e
jmp 0x10048e7b
cmp dword [ebp - 0x50c], 0
jne 0x10048ee7
cmp dword [ebp - 0x50c], 0
jne 0x10048ee7
and dword [ebp - 0x5fc], 0
jmp 0x10048ef1
mov dword [ebp - 0x5fc], 1
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x7b8], eax
cmp dword [ebp - 0x32c], 0xf839
jge 0x10048f15
mov dword [ebp - 0x334], 1
jmp 0x10048f1c
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x6c]
mov eax, dword [ebp + eax*4 - 0x214]
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp + eax*4 - 0x214], ecx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x43c]
imul eax, dword [ebp - 0x334]
cmp dword [ebp - 0x4c4], eax
je 0x10048f66
mov dword [ebp - 0x33c], 1
jmp 0x10048f6d
and dword [ebp - 0x33c], 0
cmp dword [ebp - 0x33c], 0xffffffff
jne 0x10048f82
mov dword [ebp - 0x444], 1
jmp 0x10048f89
and dword [ebp - 0x444], 0
push 0
lea ecx, [ebp - 0x63c]
call fcn.10017262
mov ecx, dword [ebp - 0x444]
mov dword [eax], ecx
jmp 0x10048e57
mov eax, dword [ebp - 0x2d0]
cmp dword [ebp - 0x2c8], eax
jge 0x10048fbd
mov dword [ebp - 0x344], 1
jmp 0x10048fc4
and dword [ebp - 0x344], 0
mov eax, dword [ebp - 0x2c8]
cmp dword [ebp - 0x344], eax
je 0x10048fde
mov dword [ebp - 0x508], 1
jmp 0x10048fe5
and dword [ebp - 0x508], 0
mov eax, dword [ebp - 0x88]
mov eax, dword [ebp + eax*4 - 0x214]
cmp eax, dword [ebp - 0x508]
je 0x10049006
mov dword [ebp - 0x34c], 1
jmp 0x1004900d
and dword [ebp - 0x34c], 0
mov eax, dword [ebp - 0x2c8]
cmp dword [ebp - 0x34c], eax
jne 0x10049027
mov dword [ebp - 0x44c], 1
jmp 0x1004902e
and dword [ebp - 0x44c], 0
mov eax, dword [ebp - 0x2d0]
imul eax, dword [ebp - 0x44c]
imul eax, eax, 0
mov dword [ebp - 0x2d0], eax
jmp 0x10048e33
jmp 0x10048de8
jmp 0x100491e7
mov dword [ebp - 0x90], 0xb5bc
mov dword [ebp - 0x4cc], 0x6abe926f
mov dword [ebp - 0x20], 0
jmp 0x10049077
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x100491ab
mov eax, dword [ebp - 0x604]
mov dword [ebp - 0x7c0], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x214]
mov dword [ebp - 0x7c8], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x214]
mov dword [ebp - 0x7d0], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x214]
sub eax, 0x2446
imul eax, eax, 0
cmp eax, dword [ebp - 0x4cc]
je 0x100490d3
mov dword [ebp - 0x354], 1
jmp 0x100490da
and dword [ebp - 0x354], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x354], eax
jle 0x100490f1
mov dword [ebp - 0x35c], 1
jmp 0x100490f8
and dword [ebp - 0x35c], 0
mov eax, dword [ebp - 0x4cc]
cmp dword [ebp - 0x35c], eax
je 0x10049112
mov dword [ebp - 0x364], 1
jmp 0x10049119
and dword [ebp - 0x364], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x214]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x454], eax
push 2
lea ecx, [ebp - 0x63c]
call fcn.10017262
mov ecx, dword [ebp - 0x454]
mov dword [eax], ecx
mov eax, dword [ebp - 0x454]
cmp eax, dword [ebp - 0x364]
je 0x10049167
mov dword [ebp - 0x530], 1
jmp 0x1004916e
and dword [ebp - 0x530], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x214]
cmp eax, dword [ebp - 0x530]
jle 0x1004918c
mov dword [ebp - 0x36c], 1
jmp 0x10049193
and dword [ebp - 0x36c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x36c]
mov dword [ebp + eax - 0x214], ecx
jmp 0x10049070
mov dword [ebp - 0x90], 0
jmp 0x100491c4
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 4
jge 0x100491e7
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x63c]
push eax
push 1
call fcn.10046c77
add esp, 0xc
jmp 0x100491b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.1001725d
and dword [ebp - 0x2e8], 0
jmp 0x10049215
mov eax, dword [ebp - 0x2e8]
inc eax
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x5c]
add eax, 0x28
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x98]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x2e8], eax
jge 0x10049285
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x45c]
jb 0x10049280
mov eax, dword [ebp - 0x98]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x5c]
push dword [eax + 8]
call fcn.10046205
pop ecx
pop ecx
add eax, dword [ebp - 0x45c]
mov dword [ebp - 0x60c], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x60c]
jae 0x10049280
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x10049285
jmp 0x100491ff
mov dword [ebp - 0xc0], 0xac204e2
push 2
lea ecx, [ebp - 0x6b4]
call fcn.100171f5
mov dword [ebp - 4], 3
mov dword [ebp - 0xec], 0
jmp 0x100492bc
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 2
jge 0x100492d8
mov eax, dword [ebp - 0xec]
mov dword [ebp + eax*4 - 0x804], 2
jmp 0x100492af
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x6b4]
push eax
push 1
push 0x457e
push 0x1763
call fcn.10046cc0
add esp, 0x14
mov byte [ebp - 0x78], 0
movzx eax, byte [ebp - 0x78]
test eax, eax
je 0x10049322
push 0x88
push 0x474
push 0x21e4
push 0x726
push 0
call dword [sym.imp.USER32.dll_SetRect]
mov dword [ebp - 0xc0], 0
jmp 0x1004933b
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 5
jl 0x10049425
mov dword [ebp - 0x12c], 0xa1220985
mov dword [ebp - 0x464], 9
cmp dword [ebp - 0x12c], 0
je 0x100493f7
cmp dword [ebp - 0x12c], 0
jne 0x10049379
cmp dword [ebp - 0xc0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x804]
cmp dword [ebp - 0x12c], eax
jg 0x1004939a
mov dword [ebp - 0x374], 1
jmp 0x100493a1
and dword [ebp - 0x374], 0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x374]
lea eax, [ecx + eax + 5]
cmp eax, dword [ebp - 0x12c]
jle 0x100493c5
mov dword [ebp - 0x4d4], 1
jmp 0x100493cc
and dword [ebp - 0x4d4], 0
mov esi, dword [ebp - 0xc0]
push 1
lea ecx, [ebp - 0x6b4]
call fcn.10017262
mov ecx, dword [ebp - 0x4d4]
sub ecx, dword [eax]
cmp esi, ecx
je 0x100493f7
mov dword [ebp - 0x37c], 1
jmp 0x100493fe
and dword [ebp - 0x37c], 0
imul eax, dword [ebp - 0x37c], 9
mov dword [ebp - 0x464], eax
mov esi, dword [ebp - 0x464]
push 1
lea ecx, [ebp - 0x6b4]
call fcn.10017262
mov dword [eax], esi
jmp 0x1004932e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6b4]
call fcn.1001725d
cmp dword [ebp - 0x24], 0
jne 0x1004943f
jmp 0x1004cc6f
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], 0
push 3
lea ecx, [ebp - 0x740]
call fcn.100171f5
mov dword [ebp - 4], 4
mov dword [ebp - 0x39c], 0xfff7
mov dword [ebp - 0x15c], 0
jmp 0x1004948b
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 3
jge 0x100494ad
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x740]
call fcn.10017262
mov dword [eax], 1
jmp 0x1004947e
mov dword [ebp - 0x40], 0
jmp 0x100494bd
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x12
jge 0x1004965b
push 3
lea ecx, [ebp - 0x704]
call fcn.100171f5
mov byte [ebp - 4], 5
mov dword [ebp - 0x614], 0xc0223dec
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x61c], 0
mov dword [ebp - 0x1bc], 0
jmp 0x1004950f
mov eax, dword [ebp - 0x1bc]
inc eax
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 3
jge 0x10049531
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x704]
call fcn.10017262
mov dword [eax], 0xde1fc657
jmp 0x10049502
cmp dword [ebp - 0x40], 0
jne 0x100495c1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x384], eax
push 1
lea ecx, [ebp - 0x740]
call fcn.10017262
mov ecx, dword [ebp - 0x384]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x704]
call fcn.10017262
mov ecx, dword [ebp - 0x384]
add ecx, dword [eax]
imul ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x40]
je 0x10049583
mov dword [ebp - 0x510], 1
jmp 0x1004958a
and dword [ebp - 0x510], 0
mov eax, dword [ebp - 0x510]
inc eax
cmp eax, dword [ebp - 0x40]
jl 0x100495a2
mov dword [ebp - 0x38c], 1
jmp 0x100495a9
and dword [ebp - 0x38c], 0
imul eax, dword [ebp - 0x38c], 0x53a3
add eax, dword [ebp - 0x40]
jne 0x100495c1
and dword [ebp - 0x46c], 0
jmp 0x100495cb
mov dword [ebp - 0x46c], 1
mov eax, dword [ebp - 0x614]
mov eax, dword [ebp - 0x394]
sub eax, dword [ebp - 0x394]
cmp eax, dword [ebp - 0x40]
jl 0x100495ee
mov dword [ebp - 0x4dc], 1
jmp 0x100495f5
and dword [ebp - 0x4dc], 0
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x39c], eax
jl 0x10049618
mov dword [ebp - 0x474], 1
jmp 0x1004961f
and dword [ebp - 0x474], 0
cmp dword [ebp - 0x474], 0
jl 0x10049634
mov dword [ebp - 0x3a4], 1
jmp 0x1004963b
and dword [ebp - 0x3a4], 0
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x61c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x704]
call fcn.1001725d
jmp 0x100494b6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x740]
call fcn.1001725d
xor ecx, ecx
call fcn.1002fff6
push eax
call fcn.1006beb8
pop ecx
mov dword [ebp - 0x164], 0x8cff0ea7
mov dword [ebp - 0x164], 0xfffffffe
jmp 0x1004969b
mov eax, dword [ebp - 0x164]
inc eax
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 7
jle 0x100496da
mov byte [ebp - 0x7d], 0
movzx eax, byte [ebp - 0x7d]
test eax, eax
je 0x100496b8
push 1
call fcn.10046d67
pop ecx
mov byte [ebp - 0xac], 0
movzx eax, byte [ebp - 0xac]
test eax, eax
je 0x100496d8
push 0x56c6
push 0
call fcn.100485f3
pop ecx
pop ecx
jmp 0x1004968e
mov byte [ebp - 0x208], 6
mov byte [ebp - 0x207], 0x19
mov byte [ebp - 0x206], 4
mov byte [ebp - 0x205], 9
mov byte [ebp - 0x204], 2
mov byte [ebp - 0x203], 0xf
mov byte [ebp - 0x202], 1
mov byte [ebp - 0x201], 2
mov byte [ebp - 0x200], 8
mov byte [ebp - 0x1ff], 5
mov byte [ebp - 0x1fe], 5
mov byte [ebp - 0x1fd], 1
mov byte [ebp - 0x1fc], 9
mov byte [ebp - 0x1fb], 1
mov byte [ebp - 0x1fa], 0x2c
mov byte [ebp - 0x1f9], 0xbb
mov byte [ebp - 0x1f8], 0x69
mov byte [ebp - 0x1f7], 0x2f
mov byte [ebp - 0x1f6], 0x99
mov byte [ebp - 0x1f5], 0x71
mov byte [ebp - 0x1f4], 0x82
mov byte [ebp - 0x1f3], 0xb2
mov byte [ebp - 0x1f2], 0xb3
mov byte [ebp - 0x1f1], 2
mov byte [ebp - 0x1f0], 0xcf
mov byte [ebp - 0x1ef], 0x7f
mov byte [ebp - 0x1ee], 0xa6
mov byte [ebp - 0x1ed], 0x3e
mov byte [ebp - 0x1ec], 0x7d
mov byte [ebp - 0x1eb], 0x72
mov byte [ebp - 0x1ea], 0xf4
mov byte [ebp - 0x1e9], 0x17
mov byte [ebp - 0x1e8], 0xd
mov byte [ebp - 0x1e7], 0xc9
mov byte [ebp - 0x1e6], 0x53
mov byte [ebp - 0x1e5], 0x4e
mov byte [ebp - 0x1e4], 0x52
mov byte [ebp - 0x1e3], 3
mov byte [ebp - 0x1e2], 0x33
mov byte [ebp - 0x1e1], 0xaf
mov byte [ebp - 0x1e0], 0xd9
mov byte [ebp - 0x1df], 0x6c
mov byte [ebp - 0x1de], 0x82
mov byte [ebp - 0x1dd], 0x12
mov byte [ebp - 0x1dc], 0xee
mov byte [ebp - 0x1db], 0x68
mov byte [ebp - 0x1da], 0x84
mov byte [ebp - 0x1d9], 0xac
mov byte [ebp - 0x1d8], 0x34
mov byte [ebp - 0x1d7], 0x77
mov byte [ebp - 0x1d6], 0xc4
mov byte [ebp - 0x1d5], 0x7c
mov byte [ebp - 0x1d4], 0x84
mov byte [ebp - 0x1d3], 0x65
mov byte [ebp - 0x1d2], 0x91
mov byte [ebp - 0x1d1], 0xbe
mov byte [ebp - 0x1d0], 0x85
mov byte [ebp - 0x1cf], 0xd8
mov byte [ebp - 0x1ce], 0xec
mov byte [ebp - 0x1cd], 0
mov byte [ebp - 0x1cc], 1
mov byte [ebp - 0x1cb], 3
mov byte [ebp - 0x1ca], 6
mov byte [ebp - 0x1c9], 7
mov byte [ebp - 0x1c8], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x208]
or eax, 0x28
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x208]
and ecx, 0x28
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x208]
mov byte [ebp + ecx - 0x554], al
mov dword [ebp - 0x38], 2
and dword [ebp - 0x1c4], 0
jmp 0x100498f2
mov eax, dword [ebp - 0x38]
inc eax
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x41
jae 0x100499a8
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x208]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x38], eax
jne 0x1004993c
mov eax, dword [ebp - 0x38]
movzx eax, byte [ebp + eax - 0x208]
inc eax
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [ebp + eax - 0x208]
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x38], eax
jmp 0x100498ea
mov eax, dword [ebp - 0x38]
movzx eax, byte [ebp + eax - 0x207]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x1c4]
movzx ecx, byte [ebp + ecx - 0x20a]
movsx ecx, byte [ebp + ecx - 0x554]
or eax, ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, byte [ebp + ecx - 0x207]
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x1c4]
movzx edx, byte [ebp + edx - 0x20a]
movsx edx, byte [ebp + edx - 0x554]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, byte [ebp + ecx - 0x208]
mov byte [ebp + ecx - 0x554], al
and dword [ebp - 0x1c4], 0
jmp 0x100498ea
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x554], 0
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x970]
call fcn.10025223
mov dword [ebp - 0x624], eax
mov eax, dword [ebp - 0x624]
mov dword [ebp - 0x62c], eax
mov dword [ebp - 4], 6
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x62c]
call fcn.1002ffb6
pop ecx
mov dword [ebp - 0x578], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x970]
call fcn.10017157
and dword [ebp - 0x170], 0
jmp 0x10049a1c
mov eax, dword [ebp - 0x170]
inc eax
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0xb
jae 0x10049a35
mov eax, dword [ebp - 0x170]
mov byte [ebp + eax - 0x554], 0
jmp 0x10049a0f
push 2
lea ecx, [ebp - 0x64c]
call fcn.100171f5
mov dword [ebp - 4], 7
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x7d8]
push eax
push 1
call fcn.10046d95
add esp, 0xc
push 1
lea ecx, [ebp - 0x64c]
call fcn.10017262
mov dword [eax], 0x1d
jmp 0x10049a9a
push 1
lea ecx, [ebp - 0x64c]
call fcn.10017262
mov dword [ebp - 0x528], eax
mov eax, dword [ebp - 0x528]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x528]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x64c]
call fcn.10017262
cmp dword [eax], 0x10
jge 0x10049ade
mov dword [ebp - 0x3ac], 0xfffffff8
mov dword [ebp - 0x680], 6
lea eax, [ebp - 0x3ac]
push eax
push 1
call fcn.10046e00
pop ecx
pop ecx
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x680], eax
jmp 0x10049a76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64c]
call fcn.1001725d
mov byte [ebp - 0x280], 7
mov byte [ebp - 0x27f], 0x33
mov byte [ebp - 0x27e], 9
mov byte [ebp - 0x27d], 6
mov byte [ebp - 0x27c], 8
mov byte [ebp - 0x27b], 0
mov byte [ebp - 0x27a], 3
mov byte [ebp - 0x279], 2
mov byte [ebp - 0x278], 6
mov byte [ebp - 0x277], 0xb
mov byte [ebp - 0x276], 5
mov byte [ebp - 0x275], 8
mov byte [ebp - 0x274], 2
mov byte [ebp - 0x273], 6
mov byte [ebp - 0x272], 0
mov byte [ebp - 0x271], 6
mov byte [ebp - 0x270], 0x57
mov byte [ebp - 0x26f], 0x8e
mov byte [ebp - 0x26e], 0xfe
mov byte [ebp - 0x26d], pe_nt_image_headers32
mov byte [ebp - 0x26c], 0x8d
mov byte [ebp - 0x26b], 0x83
mov byte [ebp - 0x26a], 0x20
mov byte [ebp - 0x269], 0x96
mov byte [ebp - 0x268], 0xbb
mov byte [ebp - 0x267], 0x2f
mov byte [ebp - 0x266], 0x66
mov byte [ebp - 0x265], 0x2c
mov byte [ebp - 0x264], 4
mov byte [ebp - 0x263], 0x69
mov byte [ebp - 0x262], 0x67
mov byte [ebp - 0x261], 0xc3
mov byte [ebp - 0x260], 0xd6
mov byte [ebp - 0x25f], 0x72
mov byte [ebp - 0x25e], 3
mov byte [ebp - 0x25d], 0x36
mov byte [ebp - 0x25c], 0xfb
mov byte [ebp - 0x25b], 0x24
mov byte [ebp - 0x25a], 0xc4
mov byte [ebp - 0x259], 0xc9
mov byte [ebp - 0x258], 0x2a
mov byte [ebp - 0x257], 7
mov byte [ebp - 0x256], 0xc1
mov byte [ebp - 0x255], 0x66
mov byte [ebp - 0x254], 0xea
mov byte [ebp - 0x253], 2
mov byte [ebp - 0x252], 0x24
mov byte [ebp - 0x251], 0x4b
mov byte [ebp - 0x250], 0x92
mov byte [ebp - 0x24f], 0x9e
mov byte [ebp - 0x24e], 0xd6
mov byte [ebp - 0x24d], 0xd0
mov byte [ebp - 0x24c], 0
mov byte [ebp - 0x24b], 0x3d
mov byte [ebp - 0x24a], 0x8a
mov byte [ebp - 0x249], 0x35
mov byte [ebp - 0x248], 0x56
mov byte [ebp - 0x247], 0x29
mov byte [ebp - 0x246], 0x80
mov byte [ebp - 0x245], 0x7f
mov byte [ebp - 0x244], 0xd6
mov byte [ebp - 0x243], 0x5c
mov byte [ebp - 0x242], 0x5a
mov byte [ebp - 0x241], 0xec
mov byte [ebp - 0x240], 0xab
mov byte [ebp - 0x23f], 0x6c
mov byte [ebp - 0x23e], 0x53
mov byte [ebp - 0x23d], 0x88
mov byte [ebp - 0x23c], 0xb5
mov byte [ebp - 0x23b], 0x72
mov byte [ebp - 0x23a], 0xa8
mov byte [ebp - 0x239], 0x4a
mov byte [ebp - 0x238], 0x37
mov byte [ebp - 0x237], 0x62
mov byte [ebp - 0x236], 0x97
mov byte [ebp - 0x235], 0x71
mov byte [ebp - 0x234], 0x62
mov byte [ebp - 0x233], 0x25
mov byte [ebp - 0x232], 0xa6
mov byte [ebp - 0x231], 0x66
mov byte [ebp - 0x230], 0x30
mov byte [ebp - 0x22f], 0xe7
mov byte [ebp - 0x22e], 0x3b
mov byte [ebp - 0x22d], 0x65
mov byte [ebp - 0x22c], 5
mov byte [ebp - 0x22b], 0
mov byte [ebp - 0x22a], 0x16
mov byte [ebp - 0x229], 0x37
mov byte [ebp - 0x228], 0x84
mov byte [ebp - 0x227], 0xbe
mov byte [ebp - 0x226], 0xcc
mov byte [ebp - 0x225], 0xb7
mov byte [ebp - 0x224], 0x1a
mov byte [ebp - 0x223], 0x26
mov byte [ebp - 0x222], 0x4f
mov byte [ebp - 0x221], 0x7a
mov byte [ebp - 0x220], 0x97
mov byte [ebp - 0x21f], 0x5d
mov byte [ebp - 0x21e], 0x8d
mov byte [ebp - 0x21d], 0xba
mov byte [ebp - 0x21c], 0xf4
mov byte [ebp - 0x21b], 0xc2
mov byte [ebp - 0x21a], 0xd9
mov byte [ebp - 0x219], 0x77
mov byte [ebp - 0x218], 4
mov byte [ebp - 0x217], 5
mov byte [ebp - 0x216], 1
mov byte [ebp - 0x215], 2
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x280]
or eax, 5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x280]
and ecx, 5
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x280]
mov byte [ebp + ecx - 0x548], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xf4], 0
jmp 0x10049e32
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6c
jae 0x10049f24
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x280]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x10049e7c
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x280]
inc eax
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x280]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x10049e2a
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x27f]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0xf4]
movzx ecx, byte [ebp + ecx - 0x282]
movsx ecx, byte [ebp + ecx - 0x548]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x27f]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xf4]
movzx edx, byte [ebp + edx - 0x282]
movsx edx, byte [ebp + edx - 0x548]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x27f]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xf4]
movzx edx, byte [ebp + edx - 0x282]
movsx edx, byte [ebp + edx - 0x548]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x280]
mov byte [ebp + ecx - 0x548], al
push 1
push 0x3789
push 0x419e
lea eax, [ebp - 0xf4]
push eax
call fcn.10046e37
add esp, 0x10
jmp 0x10049e2a
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x548], 0
push 1
lea ecx, [ebp - 0x560]
call fcn.100171f5
mov dword [ebp - 4], 8
push 0x6885
push 0x23da
lea eax, [ebp - 0x560]
push eax
push 0x611a
lea eax, [ebp - 0x7e0]
push eax
push 0x4383
push 0x11a9
push 1
call fcn.10046ea8
add esp, 0x20
push 0
lea ecx, [ebp - 0x560]
call fcn.10017262
mov dword [eax], 0xfffffffa
jmp 0x10049fb0
push 0
lea ecx, [ebp - 0x560]
call fcn.10017262
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x47c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x47c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x560]
call fcn.10017262
cmp dword [eax], 0x13
jle 0x10049fea
mov byte [ebp - 0x7a], 0
movzx eax, byte [ebp - 0x7a]
test eax, eax
je 0x10049fd4
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
push 0
lea ecx, [ebp - 0x560]
call fcn.10017262
cmp dword [eax], 0
je 0x10049fe8
jmp 0x10049f8c
jmp 0x10049f8c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x560]
call fcn.1001725d
lea eax, [ebp - 0x548]
push eax
lea ecx, [ebp - 0x9d0]
call fcn.10025223
mov dword [ebp - 0x698], eax
mov eax, dword [ebp - 0x698]
mov dword [ebp - 0x618], eax
mov dword [ebp - 4], 9
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x618]
call fcn.1002ffb6
pop ecx
mov dword [ebp - 0x67c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9d0]
call fcn.10017157
mov dword [ebp - 0x114], 0xd4e06482
mov dword [ebp - 0x610], 0x4c59cdc3
mov dword [ebp - 0x59c], 0xfffffffd
mov dword [ebp - 0x17c], 0
jmp 0x1004a080
mov eax, dword [ebp - 0x17c]
inc eax
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 2
jge 0x1004a09c
mov eax, dword [ebp - 0x17c]
mov dword [ebp + eax*4 - 0x948], 0xfffffff7
jmp 0x1004a073
mov dword [ebp - 0x114], 0
jmp 0x1004a0b5
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0x1b
jg 0x1004a1ef
push 3
lea ecx, [ebp - 0x848]
call fcn.100171f5
mov dword [ebp - 4], 0xa
mov dword [ebp - 0xfc], 0xffffffff
mov dword [ebp - 0x1b0], 0
jmp 0x1004a0f9
mov eax, dword [ebp - 0x1b0]
inc eax
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 3
jge 0x1004a11b
push dword [ebp - 0x1b0]
lea ecx, [ebp - 0x848]
call fcn.10017262
mov dword [eax], 1
jmp 0x1004a0ec
mov dword [ebp - 0xfc], 2
jmp 0x1004a134
mov eax, dword [ebp - 0xfc]
dec eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jl 0x1004a1bc
mov dword [ebp - 0x178], 0xdc9ed9ba
mov dword [ebp - 0x178], 0
jmp 0x1004a160
mov eax, dword [ebp - 0x178]
inc eax
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 2
jg 0x1004a1b7
mov byte [ebp - 0xaa], 0
movzx eax, byte [ebp - 0xaa]
test eax, eax
je 0x1004a194
push 0
push 0x724f
push 0x7a80
push 0x64ec
call fcn.10047649
add esp, 0x10
mov byte [ebp - 0x99], 0
movzx eax, byte [ebp - 0x99]
test eax, eax
je 0x1004a1b5
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x1004a153
jmp 0x1004a127
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0xfc]
push eax
push 1
call fcn.10046ff5
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x848]
call fcn.1001725d
jmp 0x1004a0a8
push 0x6803
push 0
lea eax, [ebp - 0x59c]
push eax
push 0x77bd
push 0x3020
push 0x276e
push 0x3495
call fcn.10048431
add esp, 0x1c
and dword [ebp - 0x1a0], 0
jmp 0x1004a22f
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xb
jae 0x1004a248
mov eax, dword [ebp - 0x1a0]
mov byte [ebp + eax - 0x548], 0
jmp 0x1004a222
mov dword [ebp - 0x7e8], 1
push 2
lea ecx, [ebp - 0x858]
call fcn.100171f5
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x570], 0xb564
mov dword [ebp - 0x124], 0
jmp 0x1004a289
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 4
jge 0x1004a2a5
mov eax, dword [ebp - 0x124]
mov dword [ebp + eax*4 - 0x9f8], 0
jmp 0x1004a27c
push 1
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.10047065
add esp, 0xc
lea eax, [ebp - 0x570]
push eax
push 0x6f96
push 0x6901
push 1
call fcn.100470e3
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x858]
call fcn.1001725d
push dword [ebp - 0x67c]
push dword [ebp - 0x578]
call fcn.10043364
pop ecx
pop ecx
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x11c], 0xfffffffe
mov dword [ebp - 0x104], 0
jmp 0x1004a32d
mov eax, dword [ebp - 0x104]
dec eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0xffffffe9
jl 0x1004a3e7
push 1
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x2c98
call fcn.10047179
add esp, 0x10
mov dword [ebp - 0x11c], 0
jmp 0x1004a370
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0x17
je 0x1004a3e2
mov dword [ebp - 0x180], 0x4543beb7
mov byte [ebp - 0x7f], 0
movzx eax, byte [ebp - 0x7f]
test eax, eax
je 0x1004a39b
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_UnionRect]
mov dword [ebp - 0x180], 0xffffffe8
jmp 0x1004a3b4
mov eax, dword [ebp - 0x180]
inc eax
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0xffffffff
jle 0x1004a3e0
mov byte [ebp - 0x75], 0
push 0x1a9b
push 0
push 0x4e0a
lea eax, [ebp - 0x75]
push eax
push 0x7c79
call fcn.10048234
add esp, 0x14
jmp 0x1004a3a7
jmp 0x1004a363
jmp 0x1004a320
lea eax, [ebp - 0x494]
push eax
push 0x6d72
push 0
push 0x3287
lea eax, [ebp - 0x98]
push eax
call fcn.100475c5
add esp, 0x14
push 1
lea ecx, [ebp - 0x28c]
call fcn.100171f5
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x580], 0xd065835a
mov dword [ebp - 0x34], 0
jmp 0x1004a437
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1004a453
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28c]
call fcn.10017262
mov dword [eax], 7
jmp 0x1004a430
mov dword [ebp - 0x34], 0
jmp 0x1004a463
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1004a479
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x4ec], 0x9acd4098
jmp 0x1004a45c
mov dword [ebp - 0x34], 0
jmp 0x1004a489
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1004a49f
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x5b8], 0xb7b83196
jmp 0x1004a482
push 0
lea ecx, [ebp - 0x28c]
call fcn.10017262
push 0
lea ecx, [ebp - 0x28c]
call fcn.10017262
cmp dword [eax], 1
jne 0x1004a4ca
mov dword [ebp - 0x3b4], 1
jmp 0x1004a4d1
and dword [ebp - 0x3b4], 0
cmp dword [ebp - 0x3b4], 0
jle 0x1004a4e6
mov dword [ebp - 0x4e4], 1
jmp 0x1004a4ed
and dword [ebp - 0x4e4], 0
push 0
lea ecx, [ebp - 0x28c]
call fcn.10017262
mov ecx, dword [ebp - 0x4e4]
cmp ecx, dword [eax]
jl 0x1004a510
mov dword [ebp - 0x3bc], 1
jmp 0x1004a517
and dword [ebp - 0x3bc], 0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x4ec], 0x9f49
cmp dword [ebp - 0x3bc], 0x9f49
jg 0x1004a54f
push 0
lea ecx, [ebp - 0x28c]
call fcn.10017262
cmp dword [eax], 0
jne 0x1004a54f
and dword [ebp - 0x484], 0
jmp 0x1004a559
mov dword [ebp - 0x484], 1
cmp dword [ebp - 0x484], 0xfffffff7
jle 0x1004a56e
mov dword [ebp - 0x3c4], 1
jmp 0x1004a575
and dword [ebp - 0x3c4], 0
push 0
lea ecx, [ebp - 0x28c]
call fcn.10017262
mov ecx, dword [ebp - 0x3c4]
cmp ecx, dword [eax]
jne 0x1004a598
mov dword [ebp - 0x518], 1
jmp 0x1004a59f
and dword [ebp - 0x518], 0
push 0
lea ecx, [ebp - 0x28c]
call fcn.10017262
mov ecx, dword [ebp - 0x518]
cmp ecx, dword [eax]
je 0x1004a5c2
mov dword [ebp - 0x3cc], 1
jmp 0x1004a5c9
and dword [ebp - 0x3cc], 0
push 0
lea ecx, [ebp - 0x28c]
call fcn.10017262
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3cc]
jg 0x1004a5ec
mov dword [ebp - 0x48c], 1
jmp 0x1004a5f3
and dword [ebp - 0x48c], 0
cmp dword [ebp - 0x48c], 0xdf8e3bf1
jne 0x1004a60b
mov dword [ebp - 0x2a4], 1
jmp 0x1004a612
and dword [ebp - 0x2a4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp + eax - 0x5b8], ecx
push 0
lea ecx, [ebp - 0x28c]
call fcn.10017262
mov esi, dword [ebp - 0x2a4]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x28c]
call fcn.10017262
add esi, dword [eax]
cmp esi, 0x477ae271
jg 0x1004a65d
mov dword [ebp - 0x3d4], 1
jmp 0x1004a664
and dword [ebp - 0x3d4], 0
push 0
lea ecx, [ebp - 0x28c]
call fcn.10017262
mov ecx, dword [ebp - 0x3d4]
sub ecx, dword [eax]
je 0x1004a697
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4ec], 0
je 0x1004a697
mov dword [ebp - 0x3dc], 1
jmp 0x1004a69e
and dword [ebp - 0x3dc], 0
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x580], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.1001725d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x494]
push eax
push 1
call fcn.100471d3
add esp, 0xc
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x1c0], 0
jmp 0x1004a6f1
mov eax, dword [ebp - 0x1c0]
inc eax
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 2
jge 0x1004a70d
mov eax, dword [ebp - 0x1c0]
mov dword [ebp + eax*4 - 0x7f0], 0x3198a8f9
jmp 0x1004a6e4
mov dword [ebp - 0xd8], 1
jmp 0x1004a726
mov eax, dword [ebp - 0xd8]
dec eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jl 0x1004a743
mov eax, dword [ebp - 0xd8]
cmp dword [ebp + eax*4 - 0x7f0], 0
je 0x1004a741
jmp 0x1004a743
jmp 0x1004a719
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1004a768
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xf0]
push eax
push 0
call fcn.10047db6
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
push 2
lea ecx, [ebp - 0x710]
call fcn.100171f5
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x5c4], 0x6b6eb6b9
mov dword [ebp - 0x5bc], 0xadd5d088
mov dword [ebp - 0x588], 1
mov dword [ebp - 0x590], 0
mov dword [ebp - 0x564], 1
mov dword [ebp - 0x7f4], 0x624b
push 0x6a55
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x710]
push eax
push 0x38cb
push 0
call fcn.10047427
add esp, 0x14
lea eax, [ebp - 0x5bc]
push eax
lea eax, [ebp - 0x710]
push eax
lea eax, [ebp - 0x588]
push eax
push 1
lea eax, [ebp - 0x5c4]
push eax
lea eax, [ebp - 0x590]
push eax
lea eax, [ebp - 0x564]
push eax
call fcn.10047226
add esp, 0x1c
mov byte [ebp - 0xa1], 0
lea eax, [ebp - 0xa1]
push eax
push 1
call fcn.100473de
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x710]
call fcn.1001725d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0xf0]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x598], 0x4dd03248
mov dword [ebp - 0x4c], 1
push 1
lea ecx, [ebp - 0x304]
call fcn.100171f5
mov dword [ebp - 4], 0xe
mov dword [ebp - 0xdc], 0x21f9
mov dword [ebp - 0x2cc], 0xa3d7f191
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x884], 0x8ff05c8a
lea eax, [ebp - 0x304]
push eax
push 0x7e43
push 0x3fe
lea eax, [ebp - 0x88c]
push eax
push 1
call fcn.10047427
add esp, 0x14
mov dword [ebp - 0x188], 0xffffffff
mov eax, dword [ebp - 0x188]
cmp dword [ebp - 0x4c], eax
jg 0x1004a8e9
mov dword [ebp - 0x3e4], 1
jmp 0x1004a8f0
and dword [ebp - 0x3e4], 0
push 0
lea ecx, [ebp - 0x304]
call fcn.10017262
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3e4]
jne 0x1004a913
mov dword [ebp - 0x538], 1
jmp 0x1004a91a
and dword [ebp - 0x538], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x538]
jg 0x1004a937
cmp dword [ebp - 0x598], 0
jne 0x1004a937
and dword [ebp - 0x3ec], 0
jmp 0x1004a941
mov dword [ebp - 0x3ec], 1
mov eax, dword [ebp - 0x3ec]
sub eax, dword [ebp - 0x4c]
jne 0x1004a953
cmp dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0xa0]
cmp eax, 0xfff6
jb 0x1004a96f
mov dword [ebp - 0x49c], 1
jmp 0x1004a976
and dword [ebp - 0x49c], 0
push 0
lea ecx, [ebp - 0x304]
call fcn.10017262
mov ecx, dword [ebp - 0x49c]
cmp ecx, dword [eax]
jl 0x1004a999
mov dword [ebp - 0x3f4], 1
jmp 0x1004a9a0
and dword [ebp - 0x3f4], 0
mov eax, dword [ebp - 0x2cc]
inc eax
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
cmp eax, dword [ebp - 0x3f4]
jl 0x1004a9cd
cmp dword [ebp - 0xa0], 0
jne 0x1004a9cd
and dword [ebp - 0x4f4], 0
jmp 0x1004a9d7
mov dword [ebp - 0x4f4], 1
push 0
lea ecx, [ebp - 0x304]
call fcn.10017262
mov ecx, dword [ebp - 0x4f4]
mov dword [eax], ecx
mov dword [ebp - 0x4c], 0
jmp 0x1004a9fc
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x1004ab5c
mov dword [ebp - 0x3fc], 0x68d2
mov dword [ebp - 0xa0], 0
jmp 0x1004aa29
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jg 0x1004ab57
mov dword [ebp - 0x5d4], 0xdf667985
mov dword [ebp - 0xdc], 0
jmp 0x1004aa59
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 1
jge 0x1004aa81
lea eax, [ebp - 0x304]
push eax
push 0
lea eax, [ebp - 0xdc]
push eax
push 0x44be
call fcn.1004756d
add esp, 0x10
jmp 0x1004aa4c
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x304]
call fcn.10017262
cmp dword [eax], 0
jne 0x1004ab32
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x304]
call fcn.10017262
cmp dword [eax], 0
je 0x1004ab29
cmp dword [ebp - 0x3fc], 0xcb06a9be
ja 0x1004aac6
mov dword [ebp - 0x4a4], 1
jmp 0x1004aacd
and dword [ebp - 0x4a4], 0
mov eax, dword [ebp - 0x3fc]
cmp dword [ebp - 0x4a4], eax
jne 0x1004aae7
mov dword [ebp - 0x404], 1
jmp 0x1004aaee
and dword [ebp - 0x404], 0
cmp dword [ebp - 0x404], 1
jne 0x1004ab03
mov dword [ebp - 0x2ac], 1
jmp 0x1004ab0a
and dword [ebp - 0x2ac], 0
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x304]
call fcn.10017262
mov ecx, dword [ebp - 0x2ac]
mov dword [eax], ecx
cmp dword [ebp - 0x2ac], 0
jne 0x1004ab32
and dword [ebp - 0x500], 0
jmp 0x1004ab3c
mov dword [ebp - 0x500], 1
mov eax, dword [ebp - 0x500]
sub eax, dword [ebp - 0x188]
xor ecx, ecx
sub ecx, eax
mov dword [ebp - 0x5d4], ecx
jmp 0x1004aa1c
jmp 0x1004a9f5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x304]
call fcn.1001725d
and dword [ebp - 0xe8], 0
jmp 0x1004ab81
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0xc4]
jge 0x1004ac21
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0xe8], eax
jae 0x1004abd2
lea eax, [ebp - 0x40c]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push 0x371c
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.100474d1
add esp, 0x1c
jmp 0x1004abf2
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x5c]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x5c]
push dword [eax + 0x14]
call fcn.10043364
pop ecx
pop ecx
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x40c]
mov dword [ecx + eax], edx
push 0x90e
push 1
push 0x758f
lea eax, [ebp - 0x10]
push eax
call fcn.1004756d
add esp, 0x10
jmp 0x1004ab74
push 2
lea ecx, [ebp - 0x71c]
call fcn.100171f5
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x5b4], 0x6b6eb6b9
mov dword [ebp - 0x5dc], 0xadd5d088
mov dword [ebp - 0x5a8], 1
mov dword [ebp - 0x5a0], 0
mov dword [ebp - 0x5e4], 1
mov dword [ebp - 0x894], 0x624b
push 0x3130
lea eax, [ebp - 0x71c]
push eax
push 1
lea eax, [ebp - 0x89c]
push eax
push 0x4014
call fcn.100475c5
add esp, 0x14
lea eax, [ebp - 0x5a0]
push eax
lea eax, [ebp - 0x5dc]
push eax
push 0
lea eax, [ebp - 0x5a8]
push eax
push 0x1c4
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x71c]
push eax
push 0x4668
lea eax, [ebp - 0x5b4]
push eax
call fcn.10047bd8
add esp, 0x24
mov byte [ebp - 0x81], 0
movzx eax, byte [ebp - 0x81]
test eax, eax
je 0x1004acf7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EndDoc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x71c]
call fcn.1001725d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
push 1
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10047649
add esp, 0x10
mov dword [ebp - 0x18], 0xcecb
mov dword [ebp - 0x4fc], 0x16ea3de8
mov dword [ebp - 0x13c], 0
jmp 0x1004ad5e
mov eax, dword [ebp - 0x13c]
inc eax
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 4
jge 0x1004ad7a
mov eax, dword [ebp - 0x13c]
mov dword [ebp + eax*4 - 0x2f8], 0xd149febb
jmp 0x1004ad51
mov dword [ebp - 0x18], 0x841b3c69
mov dword [ebp - 0x18], 3
jmp 0x1004ad91
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1004af75
mov dword [ebp - 0x414], 0xffffffff
mov dword [ebp - 0x41c], 4
mov dword [ebp - 0x30c], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x2f8]
mov dword [ebp + ecx*4 - 0x2f8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x8a4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2f8]
mov ecx, dword [ebp - 0x18]
add eax, dword [ebp + ecx*4 - 0x2f8]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ebp + ecx*4 - 0x2f8]
jle 0x1004ae05
mov dword [ebp - 0x4ac], 1
jmp 0x1004ae0c
and dword [ebp - 0x4ac], 0
mov eax, dword [ebp - 0x4ac]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x2f8]
cmp dword [ebp - 0x414], eax
je 0x1004ae36
mov dword [ebp - 0x5ec], 1
jmp 0x1004ae3d
and dword [ebp - 0x5ec], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x2f8]
mov dword [ebp - 0x8ac], eax
mov dword [ebp - 0x4fc], 0xfbd10caa
mov eax, dword [ebp - 0x4fc]
mov dword [ebp - 0x41c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2f8]
cmp eax, dword [ebp - 0x41c]
jge 0x1004ae84
mov dword [ebp - 0x4b4], 1
jmp 0x1004ae8b
and dword [ebp - 0x4b4], 0
mov eax, dword [ebp - 0x4b4]
sub eax, 0xa
mov ecx, dword [ebp - 0x18]
imul eax, dword [ebp + ecx*4 - 0x2f8]
cmp eax, 0x82b357f0
ja 0x1004aeb2
mov dword [ebp - 0x424], 1
jmp 0x1004aeb9
and dword [ebp - 0x424], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x424]
sub ecx, dword [ebp + eax*4 - 0x2f8]
push 4
pop eax
imul eax, eax, 3
sub ecx, dword [ebp + eax - 0x2f8]
cmp ecx, 6
jl 0x1004aef1
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x2f8], 0
jne 0x1004aef1
and dword [ebp - 0x504], 0
jmp 0x1004aefb
mov dword [ebp - 0x504], 1
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x2f8]
cmp dword [ebp - 0x30c], eax
jge 0x1004af25
mov dword [ebp - 0x310], 1
jmp 0x1004af2c
and dword [ebp - 0x310], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x310]
cmp eax, dword [ebp - 0x18]
jle 0x1004af46
mov dword [ebp - 0x5f4], 1
jmp 0x1004af4d
and dword [ebp - 0x5f4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x8b4], eax
mov eax, dword [ebp - 0x18]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0x2f8]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + ecx*4 - 0x2f8], eax
jmp 0x1004ad8a
and dword [ebp - 0x2e0], 0
jmp 0x1004af8b
mov eax, dword [ebp - 0x2e0]
inc eax
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
cmp eax, dword [ebp - 0xc4]
jge 0x1004afc4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.100476c8
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0
push 0x5bec
call fcn.100485af
add esp, 0xc
jmp 0x1004af7e
mov dword [ebp - 0x70], 1
mov dword [ebp - 0xbc], 0xfffffffa
mov dword [ebp - 0x360], 4
mov dword [ebp - 0x68], 0
jmp 0x1004afef
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x1004b005
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0xb8], 0x648261f
jmp 0x1004afe8
mov dword [ebp - 0x68], 0
jmp 0x1004b015
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1004b02b
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x77c], 0xfff8
jmp 0x1004b00e
mov dword [ebp - 0x70], 0
jmp 0x1004b03b
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jl 0x1004b276
mov dword [ebp - 0x1a8], 0
jmp 0x1004b05e
mov eax, dword [ebp - 0x1a8]
inc eax
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 3
jge 0x1004b07a
mov eax, dword [ebp - 0x1a8]
mov dword [ebp + eax*4 - 0x758], 1
jmp 0x1004b051
mov eax, dword [ebp - 0x70]
mov eax, dword [ebp + eax*4 - 0xb8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [ebp + eax*4 - 0xb8]
cmp eax, dword [ebp - 0xbc]
jne 0x1004b0a8
mov dword [ebp - 0x338], 1
jmp 0x1004b0af
and dword [ebp - 0x338], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb8], 0
jne 0x1004b154
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x77c], 1
je 0x1004b0e5
push 5
pop eax
test eax, eax
je 0x1004b0e5
mov dword [ebp - 0x318], 1
jmp 0x1004b0ec
and dword [ebp - 0x318], 0
mov eax, dword [ebp - 0x70]
mov eax, dword [ebp + eax*4 - 0xb8]
cmp dword [ebp - 0x318], eax
jl 0x1004b10a
mov dword [ebp - 0x320], 1
jmp 0x1004b111
and dword [ebp - 0x320], 0
mov eax, dword [ebp - 0x70]
mov eax, dword [ebp + eax*4 - 0xb8]
cmp eax, dword [ebp - 0x320]
je 0x1004b12f
mov dword [ebp - 0x328], 1
jmp 0x1004b136
and dword [ebp - 0x328], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x77c]
cmp dword [ebp - 0x328], eax
jl 0x1004b154
and dword [ebp - 0x330], 0
jmp 0x1004b15e
mov dword [ebp - 0x330], 1
cmp dword [ebp - 0x330], 0x77cc
jne 0x1004b176
mov dword [ebp - 0x340], 1
jmp 0x1004b17d
and dword [ebp - 0x340], 0
mov eax, dword [ebp - 0x338]
cmp eax, dword [ebp - 0x340]
jne 0x1004b197
mov dword [ebp - 0x2b4], 1
jmp 0x1004b19e
and dword [ebp - 0x2b4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp + eax - 0xb8], ecx
cmp dword [ebp - 0x2b4], 0x703a
jne 0x1004b1c9
mov dword [ebp - 0x348], 1
jmp 0x1004b1d0
and dword [ebp - 0x348], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x758]
add eax, dword [ebp - 0x348]
jne 0x1004b1f5
push 4
pop eax
test eax, eax
jne 0x1004b1f5
and dword [ebp - 0x350], 0
jmp 0x1004b1ff
mov dword [ebp - 0x350], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x77c]
cmp dword [ebp - 0x350], eax
je 0x1004b220
mov dword [ebp - 0x308], 1
jmp 0x1004b227
and dword [ebp - 0x308], 0
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x360]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0x758]
cmp eax, dword [ebp - 0x70]
jg 0x1004b257
mov dword [ebp - 0x368], 1
jmp 0x1004b25e
and dword [ebp - 0x368], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x368]
mov dword [ebp + eax - 0x758], ecx
jmp 0x1004b034
mov dword [ebp - 0xbc], 0
jmp 0x1004b28f
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jg 0x1004b2b4
mov byte [ebp - 0xab], 0
movzx eax, byte [ebp - 0xab]
test eax, eax
je 0x1004b2b2
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1004b282
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10047731
add esp, 0x10
push 0x7111
push 0
lea eax, [ebp - 0xf0]
push eax
push 0x3e59
push 0x36ea
lea eax, [ebp - 0x14]
push eax
push 0x5155
push 0x1c6d
push 0x677f
push 0x10cd
call fcn.10047e13
add esp, 0x28
mov dword [ebp - 0x5c0], 0xffffffff
mov dword [ebp - 0x370], 0xfffffffa
mov dword [ebp - 0x190], 0
jmp 0x1004b332
mov eax, dword [ebp - 0x190]
inc eax
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 2
jge 0x1004b34e
mov eax, dword [ebp - 0x190]
mov dword [ebp + eax*4 - 0x810], 1
jmp 0x1004b325
mov eax, dword [ebp - 0x5c0]
mov dword [ebp - 0x370], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x370]
mov dword [ebp + eax - 0x810], ecx
mov byte [ebp - 0x83], 0
movzx eax, byte [ebp - 0x83]
test eax, eax
je 0x1004b38a
push 0x1886
call dword [sym.imp.GDI32.dll_GetStockObject]
and dword [ebp - 0x1b8], 0
jmp 0x1004b3a0
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0xc4]
jge 0x1004b3de
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x1b8]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov ax, word [esi + eax]
mov word [edx + ecx], ax
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x1004b393
mov dword [ebp - 0x54], 0x5f36f6dd
push 2
lea ecx, [ebp - 0x734]
call fcn.100171f5
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x3a0], 0x470ed99e
mov dword [ebp - 0x660], 0xfffffff8
mov dword [ebp - 0xf8], 0
jmp 0x1004b426
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 3
jge 0x1004b442
mov eax, dword [ebp - 0xf8]
mov dword [ebp + eax*4 - 0x8c0], 2
jmp 0x1004b419
push 0x6d36
push 0x7d4b
push 1
lea eax, [ebp - 0x734]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.100477be
add esp, 0x14
cmp dword [ebp - 0x54], 0
jne 0x1004b479
cmp dword [ebp - 0x54], 0
jne 0x1004b479
and dword [ebp - 0x390], 0
jmp 0x1004b483
mov dword [ebp - 0x390], 1
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x54], eax
jg 0x1004b49d
mov eax, 0x9ddcef98
test eax, eax
jne 0x1004b49d
and dword [ebp - 0x378], 0
jmp 0x1004b4a7
mov dword [ebp - 0x378], 1
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x378], eax
jl 0x1004b4ca
cmp dword [ebp - 0x54], 0
jne 0x1004b4ca
mov dword [ebp - 0x380], 1
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x380]
jl 0x1004b4eb
push 0
push 0x11c0
push 0x1345
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret