Function at 0x100184a1
Capabilities:
Delete file
Get geographical location
Query environment variable
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov dword [ebp - 0x7c], edx
mov eax, 0x799a
mov dword [ebp - 0x114], eax
xor edx, edx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
mov eax, 0xa12b57e8
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
push ebx
mov dword [ebp - 0x9c], eax
mov ebx, ecx
mov dword [ebp - 0x2c], 0x73bf
push esi
mov dword [ebp - 0x20], 0x733e34b6
push edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], edx
jmp 0x10018515
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xd8], 0xa50b5f0b
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jl 0x10018504
mov edi, dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0xa8], edx
jmp 0x10018593
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + eax*4 - 0x114]
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x114], ecx
test ecx, ecx
je 0x10018552
inc dword [ebp - 0x2c]
jmp 0x10018575
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x1001856b
push edx
push 1
push 0x22c7
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
xor edx, edx
mov dword [ebp - 0xd8], 0x596a8978
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x1001858d
push edx
call esi
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
xor edx, edx
inc dword [ebp - 0xa8]
cmp dword [ebp - 0xa8], 3
jle 0x1001852f
mov dword [ebp - 0x14], 7
mov dword [ebp - 8], 0x60f57a7c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], 0x67f5ed9a
mov dword [ebp - 0x20], 0xd4a0d461
mov dword [ebp - 0x20], 0x3a065c2d
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 4], edx
jmp 0x100185f0
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x17c], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x100185e3
mov dword [ebp - 4], edx
jmp 0x1001860c
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x98], 0x4499c77e
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x100185fb
dec dword [ebp - 0x94]
cmp dword [ebp - 0x14], edx
jne 0x1001865b
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov eax, dword [ebp - 0x17c]
neg ecx
sbb ecx, ecx
add eax, dword [ebp - 0x14]
inc ecx
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x14]
je 0x1001865b
mov eax, edx
jmp 0x1001865e
xor eax, eax
inc eax
xor ecx, ecx
cmp eax, 0xfffa
mov eax, dword [ebp - 0x94]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setg dl
xor ecx, ecx
cmp edx, eax
setne cl
xor edx, edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0xa420452a
mov dword [ebp - 0x18], 0xfffffffd
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x18], edx
jmp 0x10018741
mov dword [ebp - 4], 0xfffffffa
mov dword [ebp - 4], 0x15
jmp 0x10018734
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], edx
jmp 0x100186d0
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xf4], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x100186c3
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x100186ed
call esi
push eax
call edi
push eax
call dword [sym.imp.GDI32.dll_EndPage]
xor edx, edx
mov dword [ebp - 0xc], edx
jmp 0x1001872b
mov dword [ebp - 0x28], 0xfffffff8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + eax*4 - 0xf4]
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xf4], ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x10018728
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edx, edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 1
jle 0x100186f2
dec dword [ebp - 4]
cmp dword [ebp - 4], 7
jle 0x100186b7
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xffffffef
jne 0x100186a7
push 4
mov dword [ebp - 4], edx
pop ecx
jmp 0x10018761
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x54], 0xc64a6847
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x10018753
mov dword [ebp - 4], edx
jmp 0x10018779
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x64], 0xfffffffd
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1001876b
mov dword [ebp - 0x58], 3
cmp dword [ebp - 0x58], edx
jl 0x10019162
xor ebx, ebx
mov dword [ebp - 0x14], 0x27b1aa43
mov dword [ebp - 0x20], 0xfffffffb
mov dword [ebp - 0xc], 0xf5a9
mov dword [ebp - 0x18], 0xcd49598a
mov dword [ebp - 0x6c], 0x535dd253
mov dword [ebp - 8], ebx
mov dword [ebp - 0x2c], 0x2f3a
mov dword [ebp - 0x28], 0xfffffffd
mov dword [ebp - 0x20], 0xfffffff8
mov dword [ebp - 4], ebx
jmp 0x100187de
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x38], 0xfffffff6
inc dword [ebp - 4]
cmp dword [ebp - 4], 1
jl 0x100187d0
mov dword [ebp - 4], ebx
jmp 0x100187f6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xec], ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x100187e9
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
neg edx
mov eax, dword [ebp - 0xc]
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, edx
setl cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
dec eax
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp eax, 0xfffffffc
mov eax, dword [ebp - 0xc]
setle cl
sub eax, ecx
or ecx, 0xffffffff
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
sub ecx, eax
mov eax, dword [ebp - 0x38]
add eax, ecx
cmp eax, dword [ebp - 0x38]
je 0x1001889c
mov dword [ebp - 0x28], 0xab65
mov eax, 0xac1e0f75
mov dword [ebp - 0x20], 0xfffffff7
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x20], 0x132d38ca
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
dec dword [ebp - 8]
mov eax, dword [ebp - 8]
neg eax
mov dword [ebp - 0x28], eax
jmp 0x100189a3
mov dword [ebp - 0xc], 0x1fa4
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0xfffffff9
mov ecx, dword [ebp - 0x6c]
sub ecx, 0x153b
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, 0xffffffff
setle al
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xc], 0x6fef
sub eax, dword [ebp - 0x2c]
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
setne dl
sub edx, 0x656345d1
neg edx
sbb edx, edx
inc edx
sub edx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp - 0xec]
setne cl
sub eax, ecx
jne 0x10018946
cmp dword [ebp - 0x28], ebx
jne 0x10018946
mov eax, ebx
jmp 0x10018949
xor eax, eax
inc eax
mov edx, dword [ebp - 0x28]
sub edx, 0x3ffe
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
imul edx, eax
mov eax, dword [ebp - 0xc]
cmp edx, eax
mov eax, dword [ebp - 8]
setle cl
xor edx, edx
cmp ecx, 0x8356
setg dl
inc eax
add eax, edx
jne 0x10018980
cmp dword [ebp - 0x18], ebx
jne 0x10018980
mov edx, ebx
jmp 0x10018983
xor edx, edx
inc edx
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [ebp - 0xe8], ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 0xe475996e
mov dword [ebp - 0x18], 0xffffffff
push 2
mov dword [ebp - 4], 0xd32ffab8
mov dword [ebp - 8], ebx
pop ecx
jmp 0x100189ca
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x104], 0xa2fafd11
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x100189b9
mov dword [ebp - 0x18], 0xfffffffe
jmp 0x10018a21
mov dword [ebp - 0x20], 0xde0369bd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 4], ebx
jmp 0x10018a18
mov dword [ebp - 0xc], 0xfffffff6
mov dword [ebp - 0xc], ebx
jmp 0x10018a07
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x104], 0xa835a23e
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x100189f6
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x104], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x13
jne 0x100189ea
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xa
jne 0x100189d8
mov eax, dword [ebp - 0x58]
cmp dword [ebp + eax*4 - 0x54], ebx
je 0x10018a48
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp + eax*4 - 0x54]
cmp eax, dword [ebp - 0x48]
jl 0x10018fde
mov dword [ebp - 4], 0xfffffff9
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 8], ebx
jmp 0x10018a80
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x78], 0x69fdf99f
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x10018a72
mov dword [ebp - 0x70], 0xffffffef
jmp 0x10018be0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
jmp 0x10018aa8
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x40], 0xfffffffd
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x10018a9a
mov dword [ebp - 0x40], 0xfffffffe
cmp dword [ebp - 0x40], 8
je 0x10018bdd
mov dword [ebp - 0x20], 0x400765e4
mov eax, 0x1137
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x70], ebx
jne 0x10018b73
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
cmp eax, 0x42b622b6
mov eax, dword [ebp - 0x70]
setle cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x20]
setge dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x70]
setg bl
xor ecx, ecx
cmp eax, ebx
mov eax, dword [ebp - 0x70]
setge cl
xor edx, edx
cmp ecx, 0x88ca
setle dl
xor ecx, ecx
cmp edx, eax
setl cl
xor ebx, ebx
cmp ecx, dword [ebp - 0x13c]
jg 0x10018b3f
cmp dword [ebp - 0x40], ebx
je 0x10018b3f
xor edx, edx
inc edx
jmp 0x10018b41
mov edx, ebx
mov eax, dword [ebp - 0x70]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x70]
sete cl
imul eax, ecx
xor ecx, ecx
cmp eax, 0x8968
mov eax, dword [ebp - 0x40]
setle cl
add ecx, eax
mov eax, dword [ebp - 0x40]
add eax, ecx
mov ecx, dword [ebp - 0x3c]
imul ecx, eax
test ecx, ecx
jne 0x10018b73
mov ecx, ebx
jmp 0x10018b76
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x40]
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x40]
add ecx, eax
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
mov eax, dword [ebp - 0x74]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x40]
setne cl
sub ecx, eax
cmp ecx, dword [ebp - 0x70]
je 0x10018ba3
cmp dword [ebp - 0x78], ebx
je 0x10018ba6
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x24], ebx
jmp 0x10018bc7
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10018bc4
call esi
push eax
call dword [sym.imp.USER32.dll_SetCapture]
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x32
jl 0x10018bb2
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 8
jne 0x10018abe
push 2
pop ecx
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x1d
je 0x10018a92
mov dword [ebp - 8], ebx
jmp 0x10018c00
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x14c], 0xb1ad
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x10018bef
mov dword [ebp - 0x18], 0xf69f7fd1
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10018c2f
push ebx
push 0xc87
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [ebp - 0x18], ebx
jne 0x10018c44
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, ebx
jmp 0x10018c47
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
add ecx, eax
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setne dl
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
je 0x10018c96
mov dword [ebp - 8], ebx
jmp 0x10018c74
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xe0], 0x392f
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jl 0x10018c63
mov eax, dword [ebp - 0x24]
xor ecx, ecx
add eax, dword [ebp - 0xc]
cmp eax, 0x5206
setle cl
imul ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xc], ecx
jmp 0x10018cee
mov dword [ebp - 0x20], 0xc5540fff
mov dword [ebp - 0x6c], 0xfffffff9
mov dword [ebp - 0xc], 0xcadd635
mov dword [ebp - 0x24], ebx
jmp 0x10018ce8
mov dword [ebp - 0x18], 0xffffffec
jmp 0x10018cdf
mov dword [ebp - 0xc], 0xfffffff6
jmp 0x10018cd6
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
inc edx
cmp eax, edx
setne cl
mov dword [ebp - 0x6c], ecx
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffe6
jl 0x10018cc2
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x16
jne 0x10018cb9
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xb
jle 0x10018cb0
mov eax, dword [ebp - 0x50]
xor edx, edx
mov ecx, dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp - 0x58]
cmp ecx, 0x13b2
push 2
setne dl
mov dword [ebp + eax*4 - 0x54], edx
mov dword [ebp - 4], 0x97a4a12b
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 8], ebx
pop ecx
jmp 0x10018d2f
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x11c], 0xe2799ac7
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x10018d1e
mov dword [ebp - 4], ebx
jmp 0x10018d4a
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x11c], 0xe8b72fd4
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x10018d39
mov dword [ebp - 4], 0xfffffffa
jmp 0x10018d7d
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10018d71
push ebx
push ebx
push 0x1989
call esi
push eax
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x20], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 7
je 0x10018d58
mov dword [ebp - 0x24], ebx
jmp 0x10018fcf
mov dword [ebp - 0xc], 0x2961
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x6c], 0xde9a
mov dword [ebp - 8], ebx
jmp 0x10018db6
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xbc], 0xf1860ec0
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x10018da5
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10018dd0
push 0x1279
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp dword [ebp - 0xc], ebx
je 0x10018e14
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xbc]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0xb8]
setne dl
sub eax, 0xfffffff6
neg eax
sbb eax, eax
lea ecx, [eax + 1]
mov eax, dword [ebp - 0xc]
add ecx, edx
xor edx, edx
cmp ecx, eax
setl dl
add edx, 0x38390e03
cmp edx, dword [ebp - 0x20]
jne 0x10018e1a
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xc], ebx
je 0x10018e25
mov eax, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xbc], 0xfffffff8
mov dword [ebp - 0x2c], 8
mov dword [ebp - 0xc], 0xfffffff9
mov dword [ebp - 0x18], 0xba028ea3
mov dword [ebp - 8], 0x3e45bbbd
mov dword [ebp - 0x28], 0x6b719d87
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x20], 0x268dd2ac
mov dword [ebp - 0x20], 0xbecc33ba
mov dword [ebp - 0x20], 0x6660b256
mov dword [ebp - 0x20], 0xc8c6dcff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x20], 0x9fa1
mov dword [ebp - 0x20], 0xd978029
mov dword [ebp - 0x20], 0xd700d1a0
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
jmp 0x10018ead
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1b0], 0x7f20bab1
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x10018e9c
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp ecx, eax
setg dl
imul edx, dword [ebp - 8]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
inc dword [ebp - 4]
mov dword [ebp - 4], ebx
jmp 0x10018fc2
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 4]
je 0x10018f25
cmp dword [ebp - 0x2c], ebx
jne 0x10018f25
mov edx, ebx
jmp 0x10018f28
xor edx, edx
inc edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x54]
cmp edx, eax
setne cl
sub ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
neg ecx
sbb ecx, ecx
inc ecx
mov eax, dword [ebp + eax*4 - 0x54]
imul eax, ecx
test eax, eax
je 0x10018f53
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp + eax*4 - 0x54]
mov dword [ebp - 0x14], 0x1552b9cb
mov eax, dword [ebp - 4]
mov edx, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
neg eax
cmp eax, edx
mov eax, dword [ebp - 4]
setle cl
cmp ecx, dword [ebp + eax*4 - 0x54]
jg 0x10018f8c
cmp dword [ebp - 0x2c], ebx
je 0x10018f8c
xor eax, eax
inc eax
jmp 0x10018f8e
mov eax, ebx
xor ecx, ecx
cmp eax, 0x1d70
mov eax, dword [ebp - 0x64]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x58]
setl dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x54]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x54]
cmp eax, edx
setle cl
mov dword [ebp - 0x148], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jle 0x10018f0e
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x1f
jne 0x10018d8b
jmp 0x10019127
cmp dword [ebp - 0x48], ebx
jne 0x1001915a
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 4
mov dword [ebp - 0x28], 0xcc099843
mov dword [ebp - 0x18], ebx
jmp 0x10019109
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x20], 0xbedfa90e
mov dword [ebp - 8], ebx
jmp 0x10019023
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x10019012
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x8c]
cmp eax, ecx
mov eax, dword [ebp - 0x90]
setne dl
add eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc], 0x13
cmp dword [ebp - 0xc], 0xfffffff6
jl 0x10019103
xor edx, edx
inc edx
mov dword [ebp - 8], 0x905b8b78
mov dword [ebp - 4], ebx
jmp 0x100190de
mov dword [ebp - 0x28], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x90]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xc]
jge 0x100190c8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x90]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x90], ecx
test ecx, ecx
jne 0x100190bf
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 8], ebx
jne 0x100190ab
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 8], 0xfff7
sbb eax, eax
inc eax
cmp eax, dword [ebp - 4]
mov eax, ebx
jg 0x100190c1
mov eax, edx
cmp eax, dword [ebp - 8]
mov eax, edx
jle 0x100190ca
mov eax, ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 8], ebx
jne 0x100190e3
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jle 0x10019069
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x100190f6
push edx
call dword [sym.imp.USER32.dll_ShowCursor]
xor edx, edx
inc edx
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xfffffff6
jge 0x1001905d
inc dword [ebp - 0x18]
push 2
pop ecx
cmp dword [ebp - 0x18], 0xa
je 0x10019003
cmp byte [ebp - 0x19], 0
je 0x10019127
push 0x339
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
test eax, eax
setns cl
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
dec dword [ebp - 0x58]
jns 0x10018790
mov ebx, dword [ebp - 0x30]
xor edx, edx
push 4
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], edx
jmp 0x1001917b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1a0], 1
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1001916a
mov dword [ebp - 8], edx
jmp 0x10019196
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1a0], 0xfe7d
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x10019185
mov byte [ebp - 0x19], dl
cmp byte [ebp - 0x19], 0
je 0x100191b2
call esi
push eax
call edi
push eax
call dword [sym.imp.GDI32.dll_GetBkColor]
xor edx, edx
xor edi, edi
mov byte [ebp - 0xd], dl
inc edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], 0xfffffffa
mov dword [ebp - 4], edx
jmp 0x100191d8
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x144], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x100191c7
mov dword [ebp - 4], edx
jmp 0x100191f4
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x170], 0xfffffffc
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x100191e3
mov byte [ebp - 0x19], dl
cmp byte [ebp - 0x19], 0
je 0x10019212
push 0x1ddd
push edx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
cmp dword [ebp - 0x14], edx
je 0x10019265
cmp dword [ebp - 0xc], edx
jne 0x1001923f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
neg ecx
sbb ecx, ecx
neg ecx
imul eax, ecx
sub eax, 7
je 0x10019241
mov edx, edi
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp edx, eax
setne cl
cmp ecx, dword [ebp - 0xc]
je 0x10019257
xor eax, eax
inc eax
xor edx, edx
jmp 0x1001925b
xor edx, edx
mov eax, edx
cmp eax, dword [ebp - 0xc]
jl 0x10019265
xor eax, eax
inc eax
jmp 0x10019267
mov eax, edx
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x16c], eax
cmp byte [ebp - 0xd], 0
je 0x10019280
push edx
call fcn.1001a668
pop ecx
xor ecx, ecx
mov dword [ebp - 0x14], 0x42c70bb7
mov dword [ebp - 0x14], ecx
jmp 0x1001929b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x188], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1001928e
push 2
pop edi
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], ecx
jl 0x100192bd
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x188], ecx
jne 0x100192bd
dec dword [ebp - 0x14]
jns 0x100192ac
mov byte [ebp - 0x19], cl
cmp byte [ebp - 0x19], cl
je 0x100192dc
push ecx
push ecx
push 0xc1b
push 0x123
call esi
push eax
call dword [sym.imp.USER32.dll_ScrollWindow]
xor ecx, ecx
cmp dword [ebx + 0x10], ecx
jne 0x100192e8
xor al, al
jmp 0x100197b8
mov dword [ebp - 0x14], ecx
jmp 0x100192fe
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xcc], 0x540d7f82
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x100192ed
mov dword [ebp - 0xc4], 0x19
cmp dword [ebp - 0xc4], 0x14
je 0x10019330
push ecx
call fcn.1001ae12
dec dword [ebp - 0xc4]
cmp dword [ebp - 0xc4], 0x14
pop ecx
push 0
pop ecx
jne 0x10019317
mov eax, dword [ebp - 0x7c]
push 0xfffffffffffffffe
pop esi
mov dword [eax], ecx
mov dword [ebp - 0x34], 0x110c93b4
mov dword [ebp - 8], esi
mov dword [ebp - 0x2c], 0xe815
mov dword [ebp - 0x34], ecx
jmp 0x1001939a
push 0x201a
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xc0], 0xfffffffd
push eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xdc], 0x672ca3c0
push eax
push ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0xd4], ecx
push eax
lea eax, [ebp - 0xc0]
push 0xac4
push eax
call fcn.10019842
add esp, 0x1c
inc dword [ebp - 0x34]
push 0
pop ecx
cmp dword [ebp - 0x34], 0x17
jg 0x1001934e
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
imul edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp edx, eax
setle cl
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x24], 0xd32ffab8
mov dword [ebp - 0x14], 0
jmp 0x100193f1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xfc], 0xa2fafd11
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x100193e0
mov dword [ebp - 0xc], esi
jmp 0x1001944c
mov dword [ebp - 0x30], 0xde0369bd
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 0
jmp 0x10019443
mov dword [ebp - 8], 0xfffffff6
mov dword [ebp - 8], 0
jmp 0x10019432
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xfc], 0xa835a23e
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x10019421
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xfc], eax
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x13
jne 0x10019411
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xa
jne 0x100193fb
cmp dword [ebx + 0x14], 0x10
jb 0x1001945c
mov ecx, dword [ebx]
jmp 0x1001945e
mov ecx, ebx
push 9
pop esi
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x68], ecx
jb 0x1001946e
mov edx, dword [ebx]
jmp 0x10019470
mov edx, ebx
mov eax, dword [ebx + 0x10]
add eax, edx
cmp ecx, eax
je 0x100197b6
xor edx, edx
inc edx
xor ecx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x30], 0xd65f
mov dword [ebp - 4], ecx
jmp 0x100194a2
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xb0], 0xd3df75dc
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jl 0x10019491
mov dword [ebp - 4], ecx
jmp 0x100194b9
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x190], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x100194ac
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], ecx
jg 0x10019537
mov dword [ebp - 0x30], 0x11c1
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x30], 0x4ad72d76
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0xac], edx
push eax
mov dword [ebp - 0x30], 0x711e7bff
mov dword [ebp - 0x30], esi
mov dword [ebp - 0xd0], 0xfffffffa
push ecx
call fcn.1001ad33
mov eax, dword [ebp - 8]
pop ecx
pop ecx
xor ecx, ecx
cmp dword [ebp + eax*4 - 0xb0], ecx
jne 0x1001952c
lea eax, [ebp - 0xac]
push eax
push 0x1c36
push ecx
call fcn.1002009d
add esp, 0xc
xor ecx, ecx
inc dword [ebp - 8]
push 1
pop edx
cmp dword [ebp - 8], ecx
jle 0x100194c6
mov eax, dword [ebp - 0x68]
mov al, byte [eax]
cmp al, 0x30
jl 0x100197a5
cmp al, 0x39
jg 0x100197a5
mov dword [ebp - 8], 0xfffffff8
mov dword [ebp - 0x30], 0x5d7249aa
mov dword [ebp - 0x28], 0x5720b963
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], 0x66d210ec
mov dword [ebp - 0x28], 0xd6525681
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x2c], 0xd270c173
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], 0xffff
mov dword [ebp - 4], ecx
jmp 0x1001959d
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x44], 0xd49598aa
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jl 0x1001958f
mov dword [ebp - 4], ecx
jmp 0x100195b4
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x88], edi
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x100195a7
dec dword [ebp - 0x2c]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x80]
neg eax
sub ecx, eax
mov eax, dword [ebp - 0x24]
neg ecx
sbb ecx, ecx
inc ecx
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, ecx
mov eax, dword [ebp - 0x2c]
setl dl
xor ecx, ecx
cmp eax, edx
setl cl
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x100195f7
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
xor edx, edx
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
imul ecx, eax, 0xf6d7
mov eax, dword [ebp - 0x80]
cmp ecx, eax
mov eax, dword [ebp - 8]
setg dl
sub eax, edx
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, dword [ebp - 0x14]
jg 0x100196bb
push 3
pop ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], 0x988ed9e8
cmp dword [ebp - 8], edx
je 0x10019665
mov byte [ebp - 0x19], dl
cmp byte [ebp - 0x19], dl
je 0x1001964c
push edx
call fcn.100197fd
pop ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setle cl
xor edx, edx
mov dword [ebp - 0x14], ecx
jmp 0x100196ad
mov dword [ebp - 0x28], 0x104f36cc
mov dword [ebp - 0xc], edx
jmp 0x10019682
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x88], 0xfffffffc
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x10019671
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
cmp eax, 0x4f612466
mov eax, dword [ebp - 0x20]
setg cl
sub ecx, 0xc97d
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x14], edx
jmp 0x1001978b
mov dword [ebp - 0x2c], 0xe26160d4
mov dword [ebp - 0x28], 0x6105796d
mov dword [ebp - 4], edx
jmp 0x100196df
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x12c], 0xfffffffd
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x100196ce
mov dword [ebp - 4], edx
jmp 0x100196fb
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x164], 0x475996e2
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x100196ea
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x14], edx
je 0x1001972e
cmp dword [ebp - 0x80], edx
jne 0x10019725
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x120]
mov eax, dword [ebp - 0x120]
mov eax, dword [ebp - 0x128]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x120]
mov eax, dword [ebp - 0x80]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x160]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0xfff6
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x84]
test eax, eax
je 0x10019786
cmp dword [ebp - 0xc], 0xffffffff
sbb eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov eax, dword [ebp - 0x88]
neg ecx
sbb ecx, ecx
inc ecx
sub eax, ecx
cmp eax, 0xfffb
jne 0x10019786
xor eax, eax
inc eax
jmp 0x10019788
mov eax, edx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x7c]
push eax
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.1001ac43
mov ecx, dword [ebp - 0x68]
add esp, 0xc
inc ecx
jmp 0x10019461
lea eax, [ebp - 0x7c]
push eax
push ecx
call fcn.1001ad72
pop ecx
pop ecx
jmp 0x100192e1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret