Function at 0x10019852
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
push ebx
push esi
push edi
mov dword [ebp - 0xcc], edx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0x252cb136
mov dword [ebp - 0xc], 0xfffffff6
push 2
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], 0xa862252
mov eax, dword [ebp - 0x14]
pop esi
push 1
mov dword [ebp - 4], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x14], edx
pop ebx
jmp 0x10019a38
mov dword [ebp - 0x18], 0xc295a527
mov dword [ebp - 4], edx
jmp 0x100198b5
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x60], 0x129b8575
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x100198a7
mov dword [ebp - 4], edx
jmp 0x100198d1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x124], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x100198c0
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 7
jle 0x10019963
mov dword [ebp - 0x18], 9
mov dword [ebp - 0xc], 0xfffffffe
mov eax, dword [ebp - 0x18]
dec dword [ebp - 0x18]
cmp dword [ebp - 0x58], edx
je 0x100198fe
mov edx, ebx
mov eax, dword [ebp - 0x58]
xor ecx, ecx
cmp eax, 0x7dcd
setg cl
sub edx, ecx
je 0x10019919
cmp dword [ebp - 0x58], 0
je 0x10019919
mov ecx, ebx
jmp 0x1001991b
xor ecx, ecx
mov eax, dword [ebp - 0xc]
xor edx, edx
add ecx, 0x8319
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setne dl
sub eax, edx
cmp eax, dword [ebp - 0x2c]
jne 0x10019938
mov eax, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
inc edx
neg edx
push 0
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
pop edx
setne cl
add ecx, 8
mov dword [ebp - 0x18], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 7
jg 0x100198e3
mov dword [ebp - 4], edx
jmp 0x10019a2b
mov dword [ebp - 0x1c], 0x96f77d90
mov dword [ebp - 0x20], 0xe0c42ef3
cmp dword [ebp - 0x60], edx
jne 0x10019983
cmp dword [ebp - 0x58], edx
je 0x10019985
mov edx, ebx
mov eax, dword [ebp - 0x58]
mov ecx, 0x11771b70
sub ecx, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp ecx, eax
setge dl
sub edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setge cl
cmp dword [ebp - 0xc], ecx
jl 0x10019a15
mov dword [ebp - 0x10], 0x84865e5a
cmp dword [ebp - 0x1c], 0
je 0x100199d7
mov dword [ebp - 0x20], 0xab95
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], 0
je 0x100199d7
mov eax, ebx
jmp 0x100199d9
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
neg edx
sbb edx, edx
sub ecx, 5
neg edx
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, edx
mov ecx, dword [ebp - 0x120]
setle al
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0xc], ecx
jmp 0x10019a26
xor edx, edx
mov byte [ebp - 5], dl
cmp byte [ebp - 5], dl
je 0x10019a28
push edx
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
xor edx, edx
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffe6
jne 0x1001996b
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x16
jne 0x1001989b
mov dword [ebp - 0xc], edx
jmp 0x10019a51
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x74], edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x10019a47
mov dword [ebp - 0x74], edx
jmp 0x10019a97
mov dword [ebp - 0x14], 0xfffffff7
mov dword [ebp - 0xc], edx
jmp 0x10019a74
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xbc], edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jl 0x10019a67
mov dword [ebp - 0x14], edx
jmp 0x10019a8f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xbc], 0x3248
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x10019a7e
dec dword [ebp - 0x74]
cmp dword [ebp - 0x74], 0xfffffff3
jne 0x10019a5b
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x10019ab7
call ebx
push eax
call dword [sym.imp.USER32.dll_SetCapture]
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x10], 0x51d69f42
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x10], 0xa1836ccb
mov dword [ebp - 0x10], 0xfffffffa
mov dword [ebp - 0x10], 0xe4b28306
mov dword [ebp - 0x1c], 0xe6b
mov dword [ebp - 0xc], edx
jmp 0x10019b01
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x170], 0x327439cb
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x10019af0
mov esi, dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
mov edi, dword [sym.imp.USER32.dll_GetDC]
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x10019b30
push edx
push 0xa40
push 0x1408
call ebx
push eax
call edi
push eax
call esi
xor edx, edx
dec dword [ebp - 0x1c]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x10], 0xaec2b2a8
mov dword [ebp - 4], edx
jmp 0x10019b56
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1bc], 0xf825
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x10019b45
mov dword [ebp - 4], edx
jmp 0x10019b6e
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1a8], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x10019b61
mov dword [ebp - 0x1c], 0xd65121ac
inc dword [ebp - 0x1c]
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x10019b91
push edx
push edx
call dword [sym.imp.USER32.dll_LoadMenuW]
xor edx, edx
mov dword [ebp - 0x14], 0xda115252
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x10], 0x51d69f42
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x10], 0xa1836ccb
mov dword [ebp - 0x10], 0xfffffffa
mov dword [ebp - 0x10], 0xe4b28306
mov dword [ebp - 0x1c], 0xe6b
mov dword [ebp - 0xc], edx
jmp 0x10019be2
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x188], 0x327439cb
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x10019bd1
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x10019c06
push edx
push 0xa40
push 0x1408
call ebx
push eax
call edi
push eax
call esi
xor edx, edx
dec dword [ebp - 0x1c]
push 4
mov dword [ebp - 4], edx
pop esi
jmp 0x10019c22
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x104], 0xfffffffc
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x10019c11
push 3
mov dword [ebp - 4], edx
pop ecx
jmp 0x10019c3c
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x15c], esi
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x10019c2f
xor esi, esi
inc esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], ecx
jg 0x10019dc0
push 0xfffffffffffffffb
pop esi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], 0xc4779d44
mov dword [ebp - 0xc], edx
jmp 0x10019c7d
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x13c], 0xfcc8af95
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 1
jl 0x10019c6c
mov dword [ebp - 0x18], edx
jmp 0x10019d9c
mov dword [ebp - 0xc], 6
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x10], 9
mov dword [ebp - 0x10], 0xfffffff8
mov dword [ebp - 0x10], 0xfffffffd
mov dword [ebp - 4], edx
jmp 0x10019cc7
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x178], 0x7221ebc5
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x10019cb6
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x158], ecx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
cmp eax, 0xba7b7e83
mov eax, dword [ebp - 0x18]
setg cl
sub eax, ecx
neg eax
push 3
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + eax*4 - 0x104]
sub edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp edx, eax
setge cl
xor eax, eax
cmp ecx, 0x5f27
pop ecx
setl al
xor edx, edx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xc], edx
jmp 0x10019d94
mov dword [ebp - 0x10], 0xb09b37d0
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x10], 0x2f4e55b6
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x10], 0x7aebb1bb
mov dword [ebp - 0x10], 0xd3709e8e
mov dword [ebp - 0x10], 0xe183a099
mov dword [ebp - 4], edx
jmp 0x10019d6e
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x180], 0x705618d7
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x10019d5d
mov dword [ebp - 4], edx
jmp 0x10019d86
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x110], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x10019d79
inc dword [ebp - 0x108]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jle 0x10019d28
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ecx
jle 0x10019c8b
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x104], edx
jne 0x10019dbd
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jle 0x10019c56
xor esi, esi
inc esi
mov dword [ebp - 0x10], esi
mov eax, 0x237ddc4e
mov dword [ebp - 4], 0x666a
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x10], 0xb7466640
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0xe56b76af
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x10], edx
cmp dword [ebp - 4], edx
je 0x10019e28
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, edx
cmp dword [ebp - 4], edx
je 0x10019e34
mov ecx, esi
mov eax, dword [ebp - 4]
add eax, ecx
xor ecx, ecx
cmp eax, 0x5205300c
mov eax, dword [ebp - 4]
setle cl
imul eax, ecx
test eax, eax
je 0x10019e7a
mov dword [ebp - 0x10], 0x9ebef9f3
mov dword [ebp - 0xc], edx
jmp 0x10019e66
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x198], esi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x10019e59
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x10], eax
jmp 0x10019fff
mov dword [ebp - 0x10], 0xe27dfdee
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x10], 0x795bcd59
mov dword [ebp - 0x10], 8
mov dword [ebp - 0x10], 0x4db59fb1
push 0xfffffffffffffff9
pop esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
jmp 0x10019ebf
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x11c], 0xc77e2192
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x10019eae
mov dword [ebp - 4], edx
jmp 0x10019edb
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x14c], 1
inc dword [ebp - 4]
cmp dword [ebp - 4], 1
jl 0x10019eca
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 2
jg 0x10019ff9
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0x497a847e
mov dword [ebp - 0xc], 0xfffffffc
cmp dword [ebp - 0xc], 9
jle 0x10019fe6
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], edx
jmp 0x10019f27
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3c], 0x2be2ff5
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10019f19
mov dword [ebp - 0x30], edx
jmp 0x10019f89
mov dword [ebp - 0x1c], 0xc710
mov dword [ebp - 0x10], 0xd9132e88
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x30]
jl 0x10019f63
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x114]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x114]
mov eax, dword [ebp - 0x30]
xor edx, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
mov eax, 0xdbb7a2e2
setg dl
sub eax, edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 5
jge 0x10019f32
mov eax, dword [ebp - 0x88]
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, esi
mov eax, dword [ebp - 0x38]
setg cl
dec eax
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x30]
setge dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x38]
push 0
setge bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp - 0x30]
pop edx
setne cl
add eax, 0x6cbc8ca9
add eax, ecx
xor ecx, ecx
cmp eax, 0xfffffff7
setg cl
mov dword [ebp - 0x10], ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 9
jg 0x10019f0d
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jle 0x10019eee
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
inc dword [ebp - 0x18]
xor esi, esi
inc esi
cmp dword [ebp - 0x88], edx
je 0x1001a074
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x84]
sub ecx, eax
mov eax, dword [ebp - 0x20]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, 0x7d4e0d3b
setg dl
xor ecx, ecx
cmp edx, eax
setne cl
cmp ecx, dword [ebp - 0x18]
jg 0x1001a03e
cmp dword [ebp - 0x88], 0
jne 0x1001a03e
xor ecx, ecx
jmp 0x1001a040
mov ecx, esi
mov eax, dword [ebp - 0x18]
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x20]
add eax, 0xffff
add eax, ecx
imul eax, dword [ebp - 0x18]
neg eax
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
mov eax, esi
setg dl
mov dword [ebp - 0x1c], edx
xor edx, edx
cmp dword [ebp - 0x1c], edx
jne 0x1001a076
mov eax, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x43cdf98a
mov dword [ebp - 0x1c], 0x25d2d915
mov dword [ebp - 0x14], 0x1874da86
mov dword [ebp - 0xc], edx
jmp 0x1001a0a1
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x80], 0xc93b4e1a
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x1001a093
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 2
jg 0x1001a140
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a0ca
push 0x263
call dword [sym.imp.GDI32.dll_GetStockObject]
xor edx, edx
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x80], edx
je 0x1001a0d8
cmp dword [ebp - 0x7c], edx
jne 0x1001a0da
mov esi, edx
mov eax, dword [ebp - 0x80]
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x78]
push 0
lea edx, [ecx + 1]
sub edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x80]
mov eax, dword [ebp - 0x1c]
add eax, edx
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 4]
setge dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x80]
cmp eax, edx
mov eax, dword [ebp - 4]
setg cl
cmp ecx, 9
sbb ecx, ecx
xor edx, edx
neg ecx
sub ecx, dword [ebp + eax*4 - 0x80]
mov eax, dword [ebp - 4]
cmp esi, ecx
setl dl
xor ecx, ecx
cmp edx, eax
pop edx
setg cl
mov dword [ebp - 0x14], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
push 1
pop esi
jle 0x1001a0b4
push 3
mov dword [ebp - 0x14], edx
pop esi
jmp 0x1001a152
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x80], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1001a148
mov dword [ebp - 0x10], 0x56915a13
mov dword [ebp - 0xc], 0xe75d5f8d
mov dword [ebp - 4], edx
jmp 0x1001a17b
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xb0], 0xffff
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001a16a
mov dword [ebp - 4], edx
jmp 0x1001a196
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xa0], 0xe83c773
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x1001a185
mov dword [ebp - 0x94], 2
cmp dword [ebp - 0x94], edx
jl 0x1001a1f8
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a1d6
push edx
push 0x5a6
push edx
push 0x246d
push 0x1cbd
push edx
push 0x24f3
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
xor edx, edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp + eax*4 - 0xb0]
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0xb0], ecx
dec dword [ebp - 0x94]
jns 0x1001a1ae
mov eax, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
sub edx, eax
inc ecx
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp edx, ecx
sete al
add eax, 0x5034859b
imul eax, dword [ebp - 0xb0]
xor edx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0xe434392f
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
jmp 0x1001a259
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xc8], 0x9841b3c6
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001a248
xor esi, esi
mov dword [ebp - 4], edx
inc esi
jmp 0x1001a274
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x28], 0x1cecb457
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001a266
mov dword [ebp - 4], edx
jmp 0x1001a28f
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xb8], 0xa0c8d467
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001a27e
mov dword [ebp - 0x28], edx
jmp 0x1001a35f
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], 0xfff8
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 2
cmp dword [ebp - 4], edx
jl 0x1001a2f3
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + eax*4 - 0xc8]
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xc8], ecx
test ecx, ecx
je 0x1001a2dd
mov dword [ebp - 0x1c], 6
dec dword [ebp - 0x1c]
jmp 0x1001a2e9
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0xc8], edx
jne 0x1001a2f3
cmp dword [ebp - 0x20], edx
jne 0x1001a2f3
dec dword [ebp - 4]
jns 0x1001a2b9
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a310
push edx
push 0x66e
push 0x1140
push edx
call dword [sym.imp.GDI32.dll_SetPaletteEntries]
xor edx, edx
mov dword [ebp - 4], 2
cmp dword [ebp - 4], edx
jl 0x1001a35c
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebp - 4]
push 6
mov ecx, dword [ebp + eax*4 - 0xc8]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xc8], ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
imul ecx, eax
pop eax
sub eax, ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x10], eax
dec dword [ebp - 4]
jns 0x1001a31c
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 2
jle 0x1001a29c
mov dword [ebp - 0x10], 0x99ac
mov dword [ebp - 0xc], edx
push 3
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], edx
pop ecx
jmp 0x1001a38b
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x168], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1001a37e
mov dword [ebp - 4], edx
jmp 0x1001a3a6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1a0], 0xd19ac196
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x1001a395
inc dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
jmp 0x1001a3c1
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x168], edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x1001a3b4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 6
mov dword [ebp - 0xc], edx
jmp 0x1001a3e6
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x128], edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1001a3d9
mov dword [ebp - 4], edx
jmp 0x1001a452
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a436
push 0x99a
push edx
push edx
call ebx
push eax
call edi
push eax
call dword [sym.imp.GDI32.dll_PolyPolyline]
xor edx, edx
mov dword [ebp - 0x18], 5
jmp 0x1001a449
mov dword [ebp - 0x10], 0xf59172dd
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x15
jne 0x1001a43f
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
je 0x1001a3f0
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a46c
call ebx
push eax
call edi
push eax
call dword [sym.imp.GDI32.dll_EndDoc]
mov dword [ebp - 0x10], 0xebf0
xor ebx, ebx
mov dword [ebp - 0x10], 0x80eec299
mov dword [ebp - 0xb4], 0xc4dd
mov dword [ebp - 0x10], 0xfffffffa
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], ebx
jmp 0x1001a4a6
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1b0], 0x7c7ce53d
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x1001a495
inc dword [ebp - 0x1c]
mov byte [ebp - 5], bl
cmp byte [ebp - 5], bl
je 0x1001a4c2
push 0x420
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 3
mov dword [ebp - 4], ebx
pop edi
jmp 0x1001a4d8
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x48], 0xfffffffc
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x1001a4ca
mov dword [ebp - 4], ebx
jmp 0x1001a4f3
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xe4], 0x9849b76e
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x1001a4e2
mov dword [ebp - 0x44], ebx
jmp 0x1001a5f2
mov dword [ebp - 0xc], 0xc4d1454b
xor edx, edx
mov dword [ebp - 0x10], 0xfffffffe
mov dword [ebp - 0x1c], 0x16e289aa
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
cmp ecx, eax
mov eax, dword [ebp - 0x40]
setle dl
cmp edx, 0xfffc
sbb ecx, ecx
xor ebx, ebx
neg ecx
cmp eax, ecx
mov eax, dword [ebp - 0xc]
setl bl
xor edx, edx
cmp ebx, eax
mov eax, dword [ebp - 0x44]
sete dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0xc]
setl cl
xor edx, edx
cmp ecx, 0x2afa
setge dl
imul eax, edx
test eax, eax
je 0x1001a5c2
mov dword [ebp - 0x24], 0x1320
xor edx, edx
mov dword [ebp - 0x10], 4
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
setge dl
xor ebx, ebx
sub edx, 7
je 0x1001a5ab
mov byte [ebp - 5], bl
cmp byte [ebp - 5], bl
je 0x1001a5ba
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
jmp 0x1001a5ba
mov dword [ebp - 0x10], 0x5faf
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x24], ebx
jne 0x1001a5fc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
jmp 0x1001a5d2
mov dword [ebp - 0x10], 0xc7e12fd8
xor ebx, ebx
mov dword [ebp - 0x10], 0xffffffff
mov byte [ebp - 5], bl
cmp byte [ebp - 5], 0
je 0x1001a5ef
push ebx
push ebx
push 0x689
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
dec dword [ebp - 0x44]
cmp dword [ebp - 0x44], 0xfffffff7
jle 0x1001a500
mov byte [ebp - 5], bl
cmp byte [ebp - 5], 0
je 0x1001a60b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x10], 0x11d01887
mov dword [ebp - 0x20], 0x206dd2cc
mov dword [ebp - 0x10], 0xef70
mov dword [ebp - 0x14], ebx
jmp 0x1001a640
cmp dword [ebp - 0x14], 2
jl 0x1001a62f