Function at 0x1001b551
Capabilities:
Identify system language via api
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1008bd5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
push ebx
push esi
push edi
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x10], 0xfe7d8a87
push 3
mov dword [esp + 0x110], edx
call fcn.10019794
mov dword [esp + 0xc], 0xfffffffe
xor ebx, ebx
mov dword [esp + 0x2c], 0x57a55752
mov dword [esp + 0x14], ebx
jmp 0x1001b5c4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x88]
mov dword [eax + ecx*4], 0x2304
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x1001b5ae
mov dword [esp + 0x14], ebx
jmp 0x1001b5e0
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x1dc], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x1001b5d1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], 2
push 1
pop esi
cmp dword [esp + 0x10], ebx
jl 0x1001b725
mov dword [esp + 0x1c], 0xfffffff8
xor edx, edx
mov dword [esp + 0x24], 0x92f1e5c8
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x88]
mov eax, dword [eax + ecx*4]
mov dword [esi + edi*4], eax
mov dword [esp + 0xc], 0x2184
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp eax, ecx
setg dl
xor eax, eax
cmp eax, edx
sbb eax, eax
xor edx, edx
neg eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
cmp eax, ecx
mov eax, dword [esp + 0x24]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x10]
setg cl
xor edx, edx
dec ecx
cmp eax, ecx
setne dl
sub edx, dword [esp + 0x24]
neg edx
sbb edx, edx
cmp dword [esi + edi*4], edx
jne 0x1001b691
cmp dword [esp + 0xc], ebx
je 0x1001b691
xor eax, eax
inc eax
jmp 0x1001b693
mov eax, ebx
dec eax
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
inc ecx
cmp ecx, eax
sbb eax, eax
xor ecx, ecx
sub eax, 2
mov dword [esp + 0x1dc], eax
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp eax, 0x48792891
mov eax, dword [esp + 0x88]
setne cl
xor edx, edx
cmp ecx, dword [eax + esi*4]
mov eax, dword [esp + 0x10]
setl dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [esp + 0x2c]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x88]
setl dl
add edx, dword [eax + edi*4]
je 0x1001b6ff
cmp dword [esp + 0x2c], ebx
je 0x1001b6ff
xor eax, eax
lea esi, [eax + 1]
jmp 0x1001b701
mov esi, ebx
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x88]
cmp dword [eax + ecx*4], esi
setne dl
mov dword [esp + 0x24], edx
dec dword [esp + 0x10]
jns 0x1001b604
xor esi, esi
inc esi
lea ecx, [esp + 0x88]
call fcn.10019816
mov dword [esp + 0x10], 0x462d5e48
or eax, 0xffffffff
mov dword [esp + 0x1c], 8
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], 0x88c83b91
mov dword [esp + 0x10], ebx
jmp 0x1001b9e1
push dword [esp + 0x74]
movdqa xmm0, xmmword [0x10008080]
lea eax, [esp + 0x1b4]
push eax
lea eax, [esp + 0x1a8]
mov dword [esp + 0xdc], ebx
push eax
push ebx
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe8], ebx
movdqu xmmword [esp + 0x1b0], xmm0
mov dword [esp + 0xec], ebx
call fcn.1001acab
push 3
lea ecx, [esp + 0xa8]
mov dword [esp + 0x220], ebx
call fcn.10019794
mov dword [esp + 0xc], ebx
jmp 0x1001b7e7
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
mov dword [eax + ecx*4], 0x8f15
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x1001b7d1
mov eax, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esp + 0x10]
inc edi
mov esi, dword [esp + 0xd4]
mov ecx, edi
mov eax, dword [esp + 0x10]
xor edx, edx
sub ecx, dword [esi + 8]
cmp ecx, eax
mov eax, dword [esp + 0xd4]
setg dl
xor ecx, ecx
cmp dword [eax + 0xc], edx
sete cl
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp dword [esi + 8], ebx
je 0x1001b83c
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0xa4]
mov eax, dword [eax]
add eax, 0xfff9
add eax, dword [esi + 8]
je 0x1001b904
mov dword [esp + 0xc], 0xad540778
xor esi, esi
mov dword [esp + 0x24], 0x53ebff78
inc esi
mov dword [esp + 0x24], 0xce724d25
xor edx, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], 0xc012777f
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
cmp ecx, eax
setge dl
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], ebx
jne 0x1001b8aa
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
neg eax
sbb eax, eax
xor edx, edx
neg eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x1c]
cmp dword [ecx + 8], eax
mov eax, dword [esp + 0x30]
setg dl
add eax, edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001b9bd
push 0x2bc
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
jmp 0x1001b9bd
mov eax, dword [esi + 8]
mov dword [esp + 0x30], 0x9a7b
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], 0xfffffff8
cmp dword [esp + 0x14], 0x22
jl 0x1001b9ba
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0xc], 0x7762be97
cmp dword [esp + 0x30], ebx
je 0x1001b953
mov ecx, edi
cmp dword [esp + 0x7c], ebx
jne 0x1001b955
mov ecx, ebx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
dec dword [esp + 0x24]
cmp eax, edi
cmovl eax, ebx
xor edx, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esi + 4]
cmp ecx, eax
mov eax, dword [esp + 0xa4]
setl dl
sub edx, dword [eax]
mov eax, dword [esp + 0xc]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [esp + 0xc]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x2c]
setl dl
xor ecx, ecx
cmp eax, edx
setle cl
mov dword [esp + 0xc], ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x22
jge 0x1001b935
xor esi, esi
inc esi
lea ecx, [esp + 0xa4]
call fcn.10019816
or dword [esp + 0x21c], 0xffffffff
lea ecx, [esp + 0xd4]
call fcn.10019816
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x11
jl 0x1001b76f
mov eax, dword [esp + 0x78]
xor edx, edx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x84]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
push 3
setg dl
sub edx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add edx, 0x7aa5bfbc
mov dword [esp + 0x24], edx
xor edx, edx
cmp dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
setg dl
xor ecx, ecx
cmp eax, edx
pop edi
setle cl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebx
jmp 0x1001ba5f
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x1b0], esi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1001ba50
mov dword [esp + 0x14], ebx
jmp 0x1001ba7e
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xc8], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1001ba6b
mov dword [esp + 0xcc], ebx
jmp 0x1001baa6
mov eax, dword [esp + 0xcc]
mov dword [esp + eax*4 + 0x1b0], 0xba2a
inc dword [esp + 0xcc]
cmp dword [esp + 0xcc], edi
jl 0x1001ba8d
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x194]
push 2
call fcn.10019794
mov dword [esp + 0x28], 0x42c60eda
push 2
mov dword [esp + 0x2c], 0xc257
mov dword [esp + 0x18], ebx
pop edx
jmp 0x1001bae9
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x18c], esi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x1001bada
mov dword [esp + 0x14], ebx
jmp 0x1001bb0b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x194]
mov dword [eax + ecx*4], 0x4ad72d76
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x1001baf5
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x1c], ebx
jl 0x1001bb6c
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0xbed85728
mov dword [esp + 0xc], ebx
jmp 0x1001bb3c
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x128], ebx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x1001bb2d
mov eax, dword [esp + 0x1c]
cmp dword [esp + eax*4 + 0x18c], ebx
jne 0x1001bb6c
mov eax, dword [esp + 0x12c]
imul eax, dword [esp + 0x24]
mov dword [esp + 0x128], eax
dec dword [esp + 0x24]
dec dword [esp + 0x1c]
jns 0x1001bb1b
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001bb7e
push ebx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
lea ecx, [esp + 0x194]
call fcn.10019816
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], 0xfffffff6
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jmp 0x1001bbb0
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x6c], 0xa420
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1001bba0
mov dword [esp + 0x14], ebx
jmp 0x1001bbd0
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xb0], 4
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1001bbbd
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001bbf6
push 0x1ada
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], ebx
jne 0x1001bc0c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
xor edx, edx
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x1c]
cmp eax, ecx
mov eax, dword [esp + 0xc]
setle dl
xor ecx, ecx
cmp edx, eax
setl cl
xor edx, edx
imul ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
cmp ecx, eax
mov eax, dword [esp + 0x70]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x1c]
setg cl
add eax, ecx
je 0x1001bd33
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], ebx
jl 0x1001bc73
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xb4], ebx
dec dword [esp + 0x10]
jns 0x1001bc62
push 2
mov dword [esp + 0x10], ebx
pop edx
cmp dword [esp + 0xc], edx
jg 0x1001bd54
mov eax, 0x434a938f
mov dword [esp + 0x1c], ebx
jmp 0x1001bd19
mov dword [esp + 0x20], 0xad01
mov dword [esp + 0x10], ebx
jmp 0x1001bd0b
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x98], ebx
cmp dword [esp + 0x98], esi
jg 0x1001bd07
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0xb0]
mov eax, dword [esp + 0x98]
mov dword [esp + eax*4 + 0xb0], ecx
mov eax, dword [esp + 0x1c]
cmp dword [esp + eax*4 + 0xb0], ebx
jne 0x1001bd02
inc dword [esp + 0x98]
cmp dword [esp + 0x98], esi
jle 0x1001bccc
mov eax, 0x434a938f
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jle 0x1001bca0
dec dword [esp + 0x20]
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edx
jle 0x1001bc92
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jle 0x1001bc89
jmp 0x1001bd54
mov dword [esp + 0x10], 2
cmp dword [esp + 0x10], ebx
jl 0x1001bd54
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0xb0], ebx
jne 0x1001bd54
dec dword [esp + 0x10]
jns 0x1001bd41
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0x9869ec42
mov dword [esp + 0xc], ebx
jmp 0x1001bd79
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x17c], 0x5a1fa147
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1001bd66
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001bd97
push 0xc42
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [esp + 0x1c], ebx
jmp 0x1001bdd6
mov dword [esp + 0xc], 3
mov dword [esp + 0xc], ebx
jmp 0x1001bdcb
mov dword [esp + 0x30], 0xfffffffd
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
inc dword [esp + 0x20]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x1a
jl 0x1001bdab
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 6
jl 0x1001bd9d
push 2
lea ecx, [esp + 0x114]
call fcn.10019794
mov dword [esp + 0x10], 0x9bdba76a
mov dword [esp + 0x28], 0x2755
mov dword [esp + 0xc], ebx
jmp 0x1001be13
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x110]
mov dword [eax + ecx*4], esi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1001be01
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], ebx
jl 0x1001bf03
mov dword [esp + 0xc], 7
or eax, 0xffffffff
mov dword [esp + 0x20], 2
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
cmp dword [esp + 0x10], ebx
jne 0x1001beb2
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x110]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0xc]
test eax, eax
sets cl
sub ecx, dword [esp + 0x10]
jne 0x1001be84
mov eax, dword [esp + 0xc]
cmp dword [esp + 0xc], 0x37828451
mov eax, ebx
jg 0x1001be92
mov eax, esi
mov edx, dword [esp + 0xc]
xor ecx, ecx
imul edx, eax
mov eax, dword [esp + 0x10]
cmp edx, eax
mov edx, ebx
setne cl
imul eax, ecx, 0x31c3
cmp dword [esp + 0xc], eax
jl 0x1001beb4
mov edx, esi
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x20], ebx
jne 0x1001becd
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x110]
cmp dword [eax], ebx
mov eax, dword [esp + 0x10]
setne dl
xor ecx, ecx
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, 0xfffffff8
setne al
mov dword [esp + 0x164], eax
dec dword [esp + 0x10]
jns 0x1001be28
lea ecx, [esp + 0x110]
call fcn.10019816
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 3
mov dword [esp + 0x20], 0xcf1813f1
mov dword [esp + 0xc], 0xfffffffb
jmp 0x1001bf61
mov dword [esp + 0x20], 7
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001bf47
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x20], esi
xor ecx, ecx
mov eax, dword [esp + 0x20]
neg eax
cmp eax, 0xffffffff
setl cl
mov dword [esp + 0x20], ecx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x1d
jle 0x1001bf2d
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0xe58d020b
mov dword [esp + 0x10], 0xfffffffa
jmp 0x1001c02a
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], 0xf40fc027
mov dword [esp + 0x14], 0xfffffff3
jmp 0x1001bfd0
mov dword [esp + 0x20], 0xfffffffb
mov dword [esp + 0x1c], 0x9da4d073
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001bfcc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 5
jne 0x1001bf9b
mov dword [esp + 0x1c], ebx
jmp 0x1001c01f
mov dword [esp + 0xc], ebx
jmp 0x1001c014
mov dword [esp + 0x14], ebx
jmp 0x1001c005
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001c001
push ebx
push ebx
push 0xd74
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xffffffe3
jl 0x1001bfe9
mov eax, dword [esp + 0xc]
dec dword [esp + 0xc]
cmp dword [esp + 0xc], 0xfffffff7
jle 0x1001bfe3
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xfffffffc
jg 0x1001bfdd
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x1a
jle 0x1001bf85
mov dword [esp + 0x28], 0xfffffffa
mov dword [esp + 0x10], 0x3cdf
mov dword [esp + 0xc], 0x40ed3c15
mov dword [esp + 0xc], 0xfa3c
mov dword [esp + 0x28], 0x6e1580eb
mov dword [esp + 0x20], 0x74c89aed
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1001c086
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x11c], 0xfffffff8
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x1001c073
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, esi
setle cl
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
shl edx, 2
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
setne cl
mov dword [esp + 0x124], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
neg eax
sbb eax, eax
add eax, 2
inc eax
je 0x1001c0dc
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
xor edx, edx
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x124]
mov dword [esp + 0x124], esi
mov eax, dword [esp + 0x10]
test eax, eax
mov eax, dword [esp + 0x10]
setle dl
xor ecx, ecx
cmp edx, eax
setle cl
imul ecx, esi
xor esi, esi
inc esi
cmp dword [esp + 0xc], ecx
jle 0x1001c19c
mov dword [esp + 0x28], 6
lea ecx, [esp + 0x170]
mov dword [esp + 0x28], esi
mov dword [esp + 0x28], 4
push 3
call fcn.10019794
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], ebx
jmp 0x1001c166
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x170]
mov dword [eax + ecx*4], esi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x1001c154
mov dword [esp + 0xc], ebx
jmp 0x1001c180
cmp dword [esp + 0x120], ebx
jne 0x1001c187
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x10
jle 0x1001c173
inc dword [esp + 0x20]
lea ecx, [esp + 0x170]
call fcn.10019816
jmp 0x1001c26d
mov dword [esp + 0x20], 0x212aeafd
mov dword [esp + 0x14], ebx
jmp 0x1001c1ba
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x34], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x1001c1aa
mov dword [esp + 0x14], ebx
jmp 0x1001c1d9
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x108], 0x63d476fc
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x1001c1c6
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001c1fd
push ebx
push ebx
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x34]
cmp ecx, eax
setg dl
xor ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp edx, eax
sete cl
imul eax, ecx, 0x9b68
mov ecx, dword [esp + 0x34]
sub ecx, eax
xor eax, eax
cmp ecx, 0x7afc4999
setge al
xor edx, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x30]
mov eax, dword [esp + 0x108]
setge dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0xfffffff8
mov dword [esp + 0x10], 0xfffffffa
mov dword [esp + 0xc], ebx
jmp 0x1001c292
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x1c4], esi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x1001c283
mov edi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [esp + 0x1c], 0xe
jmp 0x1001c369
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0xc], 0xf
jmp 0x1001c35a
mov dword [esp + 0x14], ebx
jmp 0x1001c2d6
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x100], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1001c2c7
cmp dword [esp + 0xc], ebx
je 0x1001c2f8
mov dword [esp + 0x104], 0xfff8
mov dword [esp + 0x10], 0xfff8
jmp 0x1001c356
mov dword [esp + 0x10], ebx
jmp 0x1001c32a
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001c312
push 0xd53
push ebx
push ebx
call edi
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001c326
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jle 0x1001c2fe
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], ebx
jl 0x1001c356
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x100]
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x100], ecx
dec dword [esp + 0x10]
jns 0x1001c33a
dec dword [esp + 0xc]
cmp dword [esp + 0xc], 0xfffffffd
je 0x1001c2c1
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 5
jne 0x1001c2ac
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp eax, esi
mov eax, dword [esp + 0x1cc]
mov esi, dword [esp + 0x10]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x10]
setl dl
neg esi
sbb esi, esi
inc esi
sub esi, edx
neg esi
sbb esi, esi
xor ecx, ecx
inc esi
cmp eax, esi
setl cl
xor eax, eax
cmp ecx, 0x7857
setg al
xor esi, esi
mov dword [esp + 0x10], eax
inc esi
mov dword [esp + 0xc], ebx
jmp 0x1001c3d3
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xf0], 0xe3556834
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1001c3c0
mov dword [esp + 0x1c], 0xfffffffc
lea ecx, [esp + 0x180]
mov dword [esp + 0x24], 2
mov dword [esp + 0x30], 0x4e797535
push 3
call fcn.10019794
mov dword [esp + 0x28], 0x6845
push 3
mov dword [esp + 0x24], 0xfffffffe
mov dword [esp + 0x10], ebx
pop edx
jmp 0x1001c42a
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x180]
mov dword [eax + ecx*4], edx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x1001c418
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x1c], esi
jne 0x1001c452
mov eax, ebx
cmp dword [esp + 0x24], ebx
je 0x1001c454
mov eax, esi
imul ecx, eax, 0xf34f
xor edx, edx
mov eax, dword [esp + 0x1c]
cmp ecx, eax
lea ecx, [esp + 0x180]
setl dl
mov dword [esp + 0x30], edx
dec dword [esp + 0x20]
call fcn.10019816
push esi
lea ecx, [esp + 0x14c]
call fcn.10019794
push esi
lea ecx, [esp + 0x140]
mov dword [esp + 0x220], esi
call fcn.10019794
push 4
lea ecx, [esp + 0x158]
mov byte [esp + 0x220], 2
call fcn.10019794
mov dword [esp + 0x10], ebx
jmp 0x1001c4cc
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x148]
mov dword [eax + ecx*4], 0x4b81
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001c4b6
mov dword [esp + 0x10], ebx
jmp 0x1001c4e7
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xec], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001c4d8
mov dword [esp + 0x10], ebx
jmp 0x1001c509
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x13c]
mov dword [eax + ecx*4], 0x4fda7ef5
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001c4f3
mov dword [esp + 0x10], ebx
jmp 0x1001c52b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x154]
mov dword [eax + ecx*4], 0x65420764
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1001c515
mov edx, dword [esp + 0x148]
xor eax, eax
mov ecx, dword [edx]
cmp ecx, esi
mov dword [esp + 0xec], ecx
setge al
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x13c]
mov esi, dword [esp + 0x20]
mov dword [eax], esi
xor eax, eax
cmp ecx, dword [edx]
setl al
xor ecx, ecx
cmp eax, esi
mov eax, dword [esp + 0x154]
setge cl
add ecx, dword [edx]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x154]
call fcn.10019816
lea ecx, [esp + 0x13c]
call fcn.10019816
or dword [esp + 0x21c], 0xffffffff
lea ecx, [esp + 0x148]
call fcn.10019816
xor esi, esi
mov dword [esp + 0x14], ebx
inc esi
cmp dword [esp + 0x14], ebx
jl 0x1001c8e7