Function at 0x10049a96
Capabilities:
Get file size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082cf5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b0
push esi
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x27c], 0xffffffff
mov dword [ebp - 0x20c], 0xfffffffb
mov dword [ebp - 0x214], 0x69576881
mov dword [ebp - 0x278], 9
mov dword [ebp - 0x274], 9
mov dword [ebp - 0x270], 9
mov dword [ebp - 0x26c], 9
mov dword [ebp - 0x21c], 0x9b46
mov dword [ebp - 0x64], 0xfffffff0
jmp 0x10049b1c
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 8
jl 0x10049c2e
mov dword [ebp - 0x68], 0xa12b57e8
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x22c], 0xb64b5c6f
mov dword [ebp - 0x234], 0xfffffffd
mov dword [ebp - 0x25c], 0xa75a592c
mov dword [ebp - 0x264], 0xbae0fc36
mov dword [ebp - 0x280], 0x678e045d
mov dword [ebp - 0x288], 0xffffffff
mov dword [ebp - 0x68], 0xffffffed
jmp 0x10049b83
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xfffffff4
jl 0x10049c29
mov dword [ebp - 0x200], 0x2c9cc141
mov dword [ebp - 0x204], 0xfa5f9c71
mov dword [ebp - 0x238], 0x3f0d3ecf
push 2
lea ecx, [ebp - 0x244]
call fcn.100177e6
and dword [ebp - 4], 0
mov dword [ebp - 0x100], 0xb7e2
mov dword [ebp - 0x58], 0
jmp 0x10049bd6
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x10049bf2
push dword [ebp - 0x58]
lea ecx, [ebp - 0x244]
call fcn.10017853
mov dword [eax], 0xfffffff8
jmp 0x10049bcf
mov eax, dword [ebp - 0x100]
dec eax
mov dword [ebp - 0x100], eax
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x10049c15
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.1001784e
jmp 0x10049b7c
jmp 0x10049b15
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x208], 0xffffffff
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x210], 0x6524f204
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 0
jmp 0x10049c9c
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffe7
jg 0x10049e2c
mov dword [ebp - 0x13c], 0xffffffff
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x248], 0x12af04
mov dword [ebp - 0x218], 0x368a9017
mov dword [ebp - 0x268], 0xfffffffe
push 3
lea ecx, [ebp - 0x180]
call fcn.100177e6
mov dword [ebp - 4], 1
mov dword [ebp - 0x220], 0x7e318b47
mov dword [ebp - 0x164], 0x69e8a28d
mov dword [ebp - 0x5c], 0
jmp 0x10049d10
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x10049d2c
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x180]
call fcn.10017853
mov dword [eax], 0xa63a74ad
jmp 0x10049d09
cmp dword [ebp - 0x13c], 0
jne 0x10049d98
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jl 0x10049d4e
mov dword [ebp - 0x120], 1
jmp 0x10049d55
and dword [ebp - 0x120], 0
mov esi, dword [ebp - 0x164]
imul esi, dword [ebp - 0x120]
neg esi
push 1
lea ecx, [ebp - 0x180]
call fcn.10017853
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x190]
mov eax, dword [eax]
lea eax, [eax + ecx + 3]
imul eax, dword [ebp - 0xa4]
add esi, eax
jne 0x10049d98
and dword [ebp - 0x9c], 0
jmp 0x10049da2
mov dword [ebp - 0x9c], 1
push 1
lea ecx, [ebp - 0x180]
call fcn.10017853
mov ecx, dword [ebp - 0x9c]
sub ecx, dword [eax]
add ecx, 0x2b29
cmp ecx, 0x2614f5c6
jl 0x10049dd1
mov dword [ebp - 0x118], 1
jmp 0x10049dd8
and dword [ebp - 0x118], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x190]
cmp dword [ebp - 0x118], eax
jl 0x10049df9
mov dword [ebp - 0x98], 1
jmp 0x10049e00
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xa4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.1001784e
jmp 0x10049c95
mov dword [ebp - 0x30], 0xfffffffd
mov dword [ebp - 0xac], 7
mov dword [ebp - 0x104], 0xf7e44142
mov dword [ebp - 0xbc], 0xfff7
mov dword [ebp - 0x38], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x30], 0
jne 0x10049e89
push 9
pop eax
test eax, eax
jne 0x10049e89
and dword [ebp - 0xe4], 0
jmp 0x10049e93
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xac], eax
mov eax, 0x1e6e2bfb
sub eax, dword [ebp - 0xac]
imul eax, eax, 0xf1fd
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x10049ed4
mov eax, 0xffff
test eax, eax
je 0x10049ed4
mov dword [ebp - 0xb4], 1
jmp 0x10049edb
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xb4], eax
jge 0x10049ef2
mov dword [ebp - 0xec], 1
jmp 0x10049ef9
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xbc]
imul eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0xbc]
je 0x10049f1a
mov dword [ebp - 0x114], 1
jmp 0x10049f21
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0xffffffff
jl 0x10049f36
mov dword [ebp - 0xc4], 1
jmp 0x10049f3d
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add eax, 0xe584
cmp eax, 0x8cb6
jg 0x10049f61
mov dword [ebp - 0xf4], 1
jmp 0x10049f68
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0xf4]
jg 0x10049f7f
mov dword [ebp - 0xcc], 1
jmp 0x10049f86
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0
jmp 0x10049f9f
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffff8
jne 0x10049fd7
mov dword [ebp - 0x10c], 0x4179
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x10049fd5
push 0x11e7
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
jmp 0x10049f98
push 1
lea ecx, [ebp - 0x12c]
call fcn.100177e6
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], 0
jmp 0x10049ffb
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1004a011
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2b0], 0xdc85
jmp 0x10049ff4
mov dword [ebp - 0x1c], 0
jmp 0x1004a021
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1004a03d
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x12c]
call fcn.10017853
mov dword [eax], 0xe76f5020
jmp 0x1004a01a
push 0
lea ecx, [ebp - 0x12c]
call fcn.10017853
mov dword [eax], 3
jmp 0x1004a076
push 0
lea ecx, [ebp - 0x12c]
call fcn.10017853
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x12c]
call fcn.10017853
cmp dword [eax], 0
jl 0x1004a0cc
push 0
lea ecx, [ebp - 0x12c]
call fcn.10017853
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x2b0], 0
je 0x1004a0a3
jmp 0x1004a0cc
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004a0ca
push 0x2131
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
jmp 0x1004a052
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.1001784e
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004a7be
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1b4], 1
mov dword [ebp - 0x1b0], 1
mov dword [ebp - 0x1ac], 1
lea ecx, [ebp - 0x89]
call fcn.1000acc3
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x298]
call fcn.10017862
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10017828
mov dword [ebp - 4], 3
mov dword [ebp - 0x1cc], 0xd444182b
mov dword [ebp - 0x1c8], 0xd444182b
mov dword [ebp - 0x1c4], 0xd444182b
mov dword [ebp - 0x1c0], 0xd444182b
lea ecx, [ebp - 0x8a]
call fcn.1000acc3
push eax
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x290]
call fcn.10017862
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x54]
call fcn.10017828
mov byte [ebp - 4], 4
mov dword [ebp - 0xa8], 2
mov dword [ebp - 0x174], 0xfffffffa
mov dword [ebp - 0xb8], 7
mov dword [ebp - 0x1f4], 0x19f8c517
mov dword [ebp - 0x1f0], 0x19f8c517
mov dword [ebp - 0x1ec], 0x19f8c517
mov dword [ebp - 0x1e8], 0x19f8c517
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
and dword [eax], 0
jmp 0x1004a21f
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xfc]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
cmp dword [eax], 3
jg 0x1004a4d1
mov dword [ebp - 0x3c], 0xfffffff7
mov dword [ebp - 0xdc], 0xe60e7790
mov dword [ebp - 0xc0], 0xe60be628
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10017853
mov esi, eax
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10017853
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [ebp - 0x3c], 3
jmp 0x1004a291
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x1004a4cc
mov dword [ebp - 0x60], 1
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10017853
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10017853
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x1004a2eb
push 1
lea ecx, [ebp - 0x54]
call fcn.10017853
push 1
lea ecx, [ebp - 0x88]
call fcn.10017853
imul esi, dword [eax], 0xffffffff
push 3
lea ecx, [ebp - 0x54]
call fcn.10017853
cmp esi, dword [eax]
jg 0x1004a315
mov dword [ebp - 0x94], 1
jmp 0x1004a31c
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0xc6fe
jle 0x1004a33d
mov eax, 0xd365
test eax, eax
je 0x1004a33d
mov dword [ebp - 0xa0], 1
jmp 0x1004a344
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov esi, dword [ebp - 0xa8]
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10017853
cmp dword [eax], esi
jge 0x1004a37d
mov dword [ebp - 0x16c], 1
jmp 0x1004a384
and dword [ebp - 0x16c], 0
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10017853
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xae65c342
jb 0x1004a3b9
mov dword [ebp - 0xb0], 1
jmp 0x1004a3c0
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov esi, dword [ebp - 0xc0]
push 3
lea ecx, [ebp - 0x54]
call fcn.10017853
cmp esi, dword [eax]
jg 0x1004a3fb
cmp dword [ebp - 0x60], 0
jne 0x1004a3fb
and dword [ebp - 0xc8], 0
jmp 0x1004a405
mov dword [ebp - 0xc8], 1
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10017853
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [eax]
jge 0x1004a42f
mov dword [ebp - 0x74], 1
jmp 0x1004a433
and dword [ebp - 0x74], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp + eax - 0x1f4], ecx
imul esi, dword [ebp - 0x74], 0xaead
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10017853
imul esi, dword [eax]
test esi, esi
je 0x1004a482
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1004a480
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
jmp 0x1004a4ab
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1004a4a0
push 0x625
push 0x1946
push 0
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
cmp dword [ebp - 0x3c], 0
je 0x1004a4ab
jmp 0x1004a28a
push 2
lea ecx, [ebp - 0x54]
call fcn.10017853
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10017853
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
jmp 0x1004a28a
jmp 0x1004a1fe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.1001784e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.1001784e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x40], 0x17571177
mov dword [ebp - 0x40], 0
jmp 0x1004a515
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffea
jle 0x1004a539
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1004a52f
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x40], 0
je 0x1004a537
jmp 0x1004a539
jmp 0x1004a50e
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x14], 0
jmp 0x1004a565
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff3
jl 0x1004a783
mov dword [ebp - 0x18], 0xeb71
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
jge 0x1004a598
mov dword [ebp - 0x140], 1
jmp 0x1004a59f
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x14], 0
je 0x1004a5b8
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x1004a5b8
mov dword [ebp - 0xd0], 1
jmp 0x1004a5bf
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x18]
je 0x1004a5d9
mov dword [ebp - 0x160], 1
jmp 0x1004a5e0
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x14], 0
je 0x1004a600
xor eax, eax
inc eax
je 0x1004a600
mov dword [ebp - 0xd8], 1
jmp 0x1004a607
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0x14]
je 0x1004a627
cmp dword [ebp - 0x18], 0
je 0x1004a627
mov dword [ebp - 0xe0], 1
jmp 0x1004a62e
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xe0], eax
jne 0x1004a645
mov dword [ebp - 0xe8], 1
jmp 0x1004a64c
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x148]
cmp eax, dword [ebp - 0x170]
jl 0x1004a682
mov dword [ebp - 0xf0], 1
jmp 0x1004a689
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xf0]
imul eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x78]
jne 0x1004a6a5
cmp dword [ebp - 0x24], 0
je 0x1004a726
mov dword [ebp - 0x150], 0x42b6
mov dword [ebp - 0x168], 0x68e10d32
cmp dword [ebp - 0x150], 0xb607
jl 0x1004a6d1
mov dword [ebp - 0xf8], 1
jmp 0x1004a6d8
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x24], 0
jmp 0x1004a6f4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3b
jl 0x1004a724
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x1004a71a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
cmp dword [ebp - 0x14], 0
je 0x1004a722
jmp 0x1004a6ed
jmp 0x1004a6ed
jmp 0x1004a778
mov dword [ebp - 0x18], 0x16
jmp 0x1004a736
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1f
jl 0x1004a753
mov dword [ebp - 0x158], 1
cmp dword [ebp - 0x158], 0
je 0x1004a751
jmp 0x1004a753
jmp 0x1004a72f
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1004a778
push 0x8d0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
jmp 0x1004a55e
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
jmp 0x1004a799
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 2
jge 0x1004a7b9
mov eax, dword [ebp - 0x44]
push dword [eax]
mov ecx, dword [ebp - 0x138]
call fcn.10017853
mov dword [eax], 0xd594484f
jmp 0x1004a78e
jmp 0x1004aa13
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x48], eax
push 2
lea ecx, [ebp - 0x254]
call fcn.100177e6
mov dword [ebp - 4], 5
mov dword [ebp - 0x260], 0x38ecf54c
push 1
lea ecx, [ebp - 0x1d8]
call fcn.100177e6
mov byte [ebp - 4], 6
mov dword [ebp - 0x10], 0
jmp 0x1004a818
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1004a834
push dword [ebp - 0x10]
lea ecx, [ebp - 0x254]
call fcn.10017853
mov dword [eax], 0xb90d
jmp 0x1004a811
mov dword [ebp - 0x10], 0
jmp 0x1004a844
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004a85a
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2bc], 0xd23b6182
jmp 0x1004a83d
mov dword [ebp - 0x10], 0
jmp 0x1004a86a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1004a886
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1d8]
call fcn.10017853
mov dword [eax], 0xddd1
jmp 0x1004a863
push 0
lea ecx, [ebp - 0x1d8]
call fcn.10017853
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1d8]
call fcn.1001784e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.1001784e
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x154], eax
and dword [ebp - 0x1a4], 0
and dword [ebp - 0x1a0], 0
and dword [ebp - 0x19c], 0
and dword [ebp - 0x198], 0
lea ecx, [ebp - 0x79]
call fcn.1000acc3
push eax
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.10017862
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1e4]
call fcn.10017828
mov dword [ebp - 4], 7
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], 0
jmp 0x1004a940
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x1004a9ce
mov dword [ebp - 0x1fc], 0xf2e96673
mov dword [ebp - 0x134], 0xdbd0176d
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1e4]
call fcn.10017853
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax]
lea eax, [ecx + eax + 1]
test eax, eax
jne 0x1004a988
cmp dword [ebp - 0x20], 0
jne 0x1004a988
and dword [ebp - 0x108], 0
jmp 0x1004a992
mov dword [ebp - 0x108], 1
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1e4]
call fcn.10017853
mov eax, dword [eax]
cmp eax, dword [ebp - 0x108]
jl 0x1004a9b6
mov dword [ebp - 0x110], 1
jmp 0x1004a9bd
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x134], eax
jmp 0x1004a939
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.1001784e
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
jmp 0x1004a9f3
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
cmp dword [eax], 3
jge 0x1004aa13
mov eax, dword [ebp - 0x48]
push dword [eax]
mov ecx, dword [ebp - 0x154]
call fcn.10017853
mov dword [eax], 0x16971db9
jmp 0x1004a9e8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret