Function at 0x10046472
Capabilities:
Accept command line arguments
Check os version
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007ebf5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push ebx
xor ebx, ebx
mov dword [esp + 0xb0], edx
mov dword [esp + 0x10], ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esp + 0x1c], 0xfa20bd03
push edi
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x18], ebx
je 0x10046543
push 3
lea ecx, [esp + 0x128]
call fcn.10016d1f
mov dword [esp + 0x10], ebx
jmp 0x100464e9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x124]
mov dword [eax + ecx*4], 0x7a88
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x100464d3
mov dword [esp + 0x18], ebx
jmp 0x1004651c
cmp byte [esp + 0x17], bl
je 0x10046506
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x124]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x20], eax
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
mov byte [esp + 0x17], bl
jle 0x100464f6
cmp byte [esp + 0x17], bl
je 0x10046535
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x124]
call fcn.10016da1
jmp 0x10046553
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x10046553
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], 0xa13c444c
mov dword [esp + 0x10], ebx
jmp 0x10046578
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x238], 0x44f3
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10046565
cmp dword [esp + 0xc], ebx
je 0x100465eb
mov dword [esp + 0x10], 0xb999fb0
xor edx, edx
mov dword [esp + 0x20], 6
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], 0xbc248910
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp ecx, eax
setne dl
mov dword [esp + 0x20], edx
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], al
je 0x10046661
push 0x1181
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x10046661
mov dword [esp + 0x10], ebx
jmp 0x10046601
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x54], 1
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x100465f1
mov ecx, dword [esp + 0x54]
xor edx, edx
mov eax, dword [esp + 0xc]
cmp eax, ecx
mov eax, dword [esp + 0xc]
setle dl
add eax, edx
jne 0x10046623
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x54]
cmp eax, 0x66b3883f
setg cl
mov dword [esp + 0x18], ecx
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x10046661
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov dword [esp + 0x18], ebx
inc ecx
jmp 0x100466c2
mov dword [esp + 0x20], 0xbbbb
mov dword [esp + 0x10], ebx
jmp 0x1004668b
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x240], 0xfffffffe
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10046678
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x100466af
push 0x1895
push 0xedf
call dword [sym.imp.KERNEL32.dll_Beep]
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24c], eax
inc dword [esp + 0x18]
cmp dword [esp + 0x18], ecx
jle 0x1004666a
mov dword [esp + 0x18], 0x99dada43
mov dword [esp + 0x10], ebx
jmp 0x100466e5
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x188], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x100466d6
mov dword [esp + 0x18], 2
cmp dword [esp + 0x18], ebx
jl 0x1004673e
mov dword [esp + 0x10], 0xe90a624c
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x1004671c
push 0x16bb
push ebx
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [esp + 0x10], ebx
jmp 0x10046731
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x188], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10046722
dec dword [esp + 0x18]
jns 0x100466fa
mov eax, dword [esp + 0x18c]
xor ecx, ecx
cmp eax, 0x444
setle cl
xor esi, esi
mov dword [esp + 0x18], ecx
inc esi
mov dword [esp + 0x24], 0xb0f73838
lea ecx, [esp + 0xac]
mov dword [esp + 0x24], 0xfffffffd
push esi
call fcn.10016d1f
xor edx, edx
mov dword [esp + 0x10], 0x147b80be
mov dword [esp + 0xc], ebx
inc edx
jmp 0x10046793
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xa8], edx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x10046784
mov dword [esp + 0xc], ebx
jmp 0x100467b5
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov dword [eax + ecx*4], 0xc70bb743
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x1004679f
mov eax, dword [esp + 0xac]
mov ecx, 0xf8067e30
mov dword [eax], ebx
mov dword [esp + 0x10], ebx
jmp 0x100467e2
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x114], 0x9869ec42
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x100467cf
mov eax, dword [esp + 0xac]
mov eax, dword [eax]
mov eax, dword [esp + eax*4 + 0xa8]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x10], ebx
jmp 0x1004681f
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x20], ebx
jne 0x10046825
mov eax, dword [esp + 0x118]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jle 0x1004680a
mov eax, dword [esp + 0xac]
inc dword [eax]
cmp dword [eax], ebx
jle 0x100467c9
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x1004684a
push ebx
push 0x14ce
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
lea ecx, [esp + 0xac]
call fcn.10016da1
xor ecx, ecx
inc ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 0x9e56e623
mov dword [esp + 0x10], ebx
jmp 0x1004687b
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x64], 0xf1124f01
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1004686b
cmp dword [esp + 0x64], ebx
je 0x100468ab
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x10046985
push 0x17e8
push 0x526
push ebx
call dword [sym.imp.GDI32.dll_PtInRegion]
jmp 0x10046985
mov dword [esp + 0xc], 6
mov dword [esp + 0xc], ebx
jmp 0x10046964
mov dword [esp + 0x18], 9
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x18], ebx
jl 0x10046960
mov dword [esp + 0x10], 0x72c25fcc
mov dword [esp + 0x20], 0xcc013cef
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jne 0x100468f0
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
mov eax, dword [esp + 0xc]
cmp dword [esp + 0xc], ebx
jne 0x10046906
cmp dword [esp + 0x10], ebx
jne 0x10046906
mov ecx, ebx
mov eax, dword [esp + 0x10]
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x18]
push 1
sete dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x1c]
setge cl
cmp ecx, 0xe6768459
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [esp + 0x14]
setg dl
xor ecx, ecx
cmp edx, eax
setge cl
xor edx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, ecx
pop ecx
setg dl
mov dword [esp + 0x20], edx
dec dword [esp + 0x18]
jns 0x100468d2
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ebx
jle 0x100468bc
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x10046985
push ebx
push 0x1a1a
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov dword [esp + 0x1c], 2
xor ecx, ecx
mov dword [esp + 0x24], 0x57689a5a
inc ecx
mov dword [esp + 0x50], 0x17473468
mov dword [esp + 0x10], ebx
jmp 0x100469b9
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xc8], 0xa0c8d467
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x100469a6
push 0xffffffffffffffef
mov dword [esp + 0x20], ebx
pop edi
jmp 0x10046af2
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x154]
push 3
call fcn.10016d1f
mov dword [esp + 0x2a4], ebx
push 3
mov dword [esp + 0x24], 0x96f8f9ed
mov dword [esp + 0x10], ebx
pop edx
jmp 0x10046a0f
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x154]
mov dword [eax + ecx*4], 0xc6338430
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x100469f9
mov dword [esp + 0xc], ebx
jmp 0x10046a2e
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x1f8], 4
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x10046a1b
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x154]
mov dword [eax + 8], ecx
cmp ecx, dword [esp + 0x200]
jne 0x10046ace
mov dword [esp + 0x24], 0x865b49d5
lea ecx, [esp + 0x19c]
mov dword [esp + 0x24], 0x81479b69
push edx
call fcn.10016d1f
mov dword [esp + 0x10], ebx
jmp 0x10046a8c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x19c]
mov dword [eax + ecx*4], 0x92f20920
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10046a76
mov dword [esp + 0x18], ebx
jmp 0x10046ab5
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x10046ab1
push ebx
push 0x2559
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0x17
jl 0x10046a99
dec dword [esp + 0x20]
lea ecx, [esp + 0x19c]
call fcn.10016da1
jmp 0x10046ada
mov dword [esp + 0x20], 0xbb9c
inc dword [esp + 0x20]
or dword [esp + 0x2a4], 0xffffffff
lea ecx, [esp + 0x154]
call fcn.10016da1
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], edi
je 0x100469cb
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x13c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0xfffffffe
push 2
call fcn.10016d1f
xor esi, esi
lea eax, [esp + 0x1c8]
inc esi
lea ecx, [esp + 0xcc]
mov dword [esp + 0x2a4], esi
push dword [esp + 0x3c]
movdqa xmm0, xmmword [0x10007d70]
push eax
lea eax, [esp + 0x1c0]
mov dword [esp + 0x24], 0xf5a9c4c8
push eax
mov dword [esp + 0x2c], 0x82104667
mov dword [esp + 0x1c], 0x6a4137d6
push ebx
movdqu xmmword [esp + 0x1c8], xmm0
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
call fcn.100183db
xor edx, edx
mov dword [esp + 0x50], 0xc064
mov dword [esp + 0xc], ebx
inc edx
jmp 0x10046bab
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x38], 0x912530a9
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x10046b9b
mov dword [esp + 0xc], ebx
jmp 0x10046bc7
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x44], 0xed1d25bb
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x10046bb7
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x1c]
jge 0x10046bdf
mov eax, edx
cmp dword [esp + 0x1c], ebx
jne 0x10046be1
mov eax, ebx
mov dword [esp + 0x38], eax
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
cmp eax, edx
mov eax, dword [esp + 0x1c]
setl cl
xor edx, edx
xor esi, esi
inc esi
cmp ecx, esi
setge dl
xor ecx, ecx
cmp edx, eax
sete cl
xor edx, edx
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
cmp ecx, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
setne dl
add ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x44]
setl dl
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [esp + 0x10], ecx
mov dword [esp + 0x10], edi
jmp 0x10046de3
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], ebx
jmp 0x10046c62
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x94], 0xbd12f8ba
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x10046c4f
mov dword [esp + 0xc], ebx
jmp 0x10046c82
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xbc], 0x4ab10079
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x10046c6f
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, dword [esp + 0x18]
neg ecx
sbb ecx, ecx
inc ecx
imul eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], ebx
jg 0x10046ddf
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x40], 0xf620a341
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x28], ebx
inc dword [esp + 0xc4]
mov eax, dword [esp + 0xc4]
mov dword [edi + 0xc], eax
je 0x10046d6e
mov eax, dword [esp + 0x1c]
cmp dword [esp + eax*4 + 0x38], ebx
jne 0x10046d33
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
sub ecx, eax
je 0x10046d33
mov ecx, dword [esp + 0x94]
xor edx, edx
mov eax, dword [esp + 0xc4]
dec ecx
cmp ecx, eax
mov eax, dword [esp + 0xc]
sete dl
sub edx, eax
mov eax, dword [esp + 0x94]
dec edx
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, ebx
setl cl
cmp ecx, 0x6f1a
jl 0x10046d35
mov eax, esi
mov dword [esp + 0x94], eax
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
sub edx, eax
mov eax, dword [esp + 0x50]
cmp edx, eax
mov eax, dword [esp + 0xc4]
setg cl
cmp esi, ecx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, esi
setne cl
cmp ecx, 0xcb06a9be
jbe 0x10046d70
mov eax, ebx
dec eax
je 0x10046dc6
mov dword [esp + 0x24], 0xfffffffe
mov dword [esp + 0x18], ebx
jmp 0x10046dbe
mov dword [esp + 0xc], 6
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, edx
setg cl
mov dword [esp + 0xc], ecx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], ebx
jle 0x10046d81
jmp 0x10046dd1
mov eax, dword [esp + 0xc]
mov dword [esp + 0x94], eax
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], ebx
jle 0x10046cb8
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffff7
je 0x10046c45
lea ecx, [esp + 0xcc]
call fcn.10016da1
mov dword [esp + 0xc], 0xf72d4ea6
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x18], 0xffd81438
mov dword [esp + 0x20], 0x9576
mov dword [esp + 0x24], 7
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], 0xffff
mov dword [esp + 0x10], ebx
jmp 0x10046e43
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x194], esi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10046e34
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x20], 0x5537c57f
jle 0x10046e7c
mov eax, dword [esp + 0x1c]
push dword [esp + 0x3c]
movdqa xmm0, xmmword [0x10007db0]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x24], 0xe2bbef7d
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
lea eax, [esp + 0x1dc]
mov dword [esp + 0x19c], 0xf0ef2f37
push eax
lea eax, [esp + 0x1d0]
mov dword [esp + 0x20], 0xc29000d4
push eax
mov dword [esp + 0x1c], 0xe8f21009
mov dword [esp + 0x2c], 0x428464d9
mov dword [esp + 0x1c], 0xfffffffb
push ebx
movdqu xmmword [esp + 0x1d8], xmm0
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call fcn.100183db
push 3
lea ecx, [esp + 0x134]
mov byte [esp + 0x2a8], 2
call fcn.10016d1f
mov byte [esp + 0x2a4], 3
mov dword [esp + 0xc], ebx
jmp 0x10046f40
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x130]
mov dword [eax + ecx*4], 0xffff
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x10046f2a
mov dword [esp + 0xc], ebx
jmp 0x10046f60
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x1d8], 0xba006696
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x10046f4d
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp ecx, eax
mov eax, dword [esp + 0x18]
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
cmp ecx, 6
setge al
xor edx, edx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp eax, ecx
setge dl
xor ecx, ecx
inc ecx
cmp edx, ecx
jl 0x1004720e
push dword [esp + 0x3c]
movdqa xmm0, xmmword [0x10007e00]
lea eax, [esp + 0x1fc]
push eax
lea eax, [esp + 0x1f0]
mov dword [esp + 0x14], 0xfffffffa
push eax
push ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
movdqu xmmword [esp + 0x1f8], xmm0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
call fcn.100183db
xor edx, edx
inc edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], 0xebb36e90
mov dword [esp + 0x1c], ebx
jmp 0x10047026
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x250], 0xfffffffc
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 3
jl 0x10047013
mov dword [esp + 0x1c], ebx
jmp 0x10047046
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x228], 0xfff9
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 4
jl 0x10047033
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp eax, 0xf0ed
mov edi, dword [esp + 0x70]
setl cl
imul ecx, dword [esp + 0xc]
mov dword [edi + 8], eax
sub ecx, dword [esp + 0x20]
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [esp + 0xc]
sub ecx, dword [esp + 0xc]
sub ecx, 9
neg ecx
sbb ecx, ecx
inc ecx
add ecx, dword [esp + 0xc]
jne 0x10047090
mov eax, dword [esp + 0x70]
mov ecx, ebx
cmp dword [eax], ebx
je 0x10047092
mov ecx, edx
xor eax, eax
cmp ecx, edx
sete al
cmp eax, 0x81d3efe3
sbb ecx, ecx
xor eax, eax
neg ecx
imul ecx, dword [esp + 0xc]
imul ecx, dword [esp + 0x18]
cmp ecx, 0xfffffffd
setg al
xor edx, edx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
cmp ecx, eax
mov eax, dword [esp + 0x18]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
xor eax, eax
cmp ecx, 0x685e9d07
mov ecx, 0xa3821c76
setg al
cmp ecx, eax
mov eax, dword [esp + 0x18]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [esp + 0xc]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
neg eax
sbb eax, eax
neg eax
cmp eax, 0xffffffff
mov eax, dword [esp + 0x18]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
setne dl
sub edx, 4
je 0x10047171
mov esi, dword [esp + 0x130]
mov dword [esp + 0x28], 0x2d0b
mov dword [esp + 0x28], 0xdb4dbdf9
mov dword [esp + 0x28], ebx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x10]
lea eax, [edx - 1]
mov dword [esi + 4], eax
cmp edx, ecx
je 0x10047157
xor esi, esi
inc esi
jmp 0x10047159
mov esi, ebx
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x24]
imul eax, esi
sub ecx, eax
mov eax, dword [esp + 0x70]
mov dword [eax + 4], ecx
jmp 0x10047203
mov dword [esp + 0x18], 1
mov dword [esp + 0xc], ebx
jmp 0x10047195
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x10047191
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x11
jl 0x1004717f
mov ecx, dword [esp + 0x230]
mov eax, dword [esp + 0x9c]
sub ecx, 0x6b6a42da
add ecx, dword [esp + 0x18]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
sub ecx, 0x213d
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
add ecx, dword [esp + 0x18]
cmp ecx, 0xa82e
setg al
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], ebx
je 0x100471fa
cmp dword [esp + 0x18], ebx
je 0x100471fa
xor eax, eax
inc eax
jmp 0x100471fc
mov eax, ebx
mov dword [esp + 0x1e0], eax
lea ecx, [esp + 0x70]
call fcn.10016da1
jmp 0x10047219
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1e0], ecx
lea ecx, [esp + 0x130]
call fcn.10016da1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2a4], 1
call fcn.10016da1
push dword [esp + 0x3c]
movdqa xmm0, xmmword [0x10007dc0]
lea eax, [esp + 0x1bc]
push eax
lea eax, [esp + 0x1b0]
mov dword [esp + 0x84], ebx
push eax
push ebx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x90], ebx
movdqu xmmword [esp + 0x1b8], xmm0
mov dword [esp + 0x94], ebx
call fcn.100183db
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2a8], 4
call fcn.10016d1f
mov dword [esp + 0x10], 0xdc660f7e
xor edx, edx
mov dword [esp + 0x24], ebx
inc edx
mov dword [esp + 0x24], 3
mov dword [esp + 0xc], ebx
jmp 0x100472c9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov dword [eax + ecx*4], 2
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x100472b3
mov dword [esp + 0xc], ebx
jmp 0x100472e8
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x268], 0xbf199314
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x100472d5
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x7c]
mov dword [eax], ebx
mov dword [esp + 0x24], 0xb2fc257a
mov dword [esp + 0x18], 0x6ff18ee8
mov dword [esp + 0x24], 0xfffffffc
mov dword [esp + 0x18], ebx
jmp 0x1004732d
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x184], 0xfffffff6
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edx
jl 0x1004731a
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x88]
mov ecx, dword [esi + 8]
push 3
mov edx, dword [eax]
mov eax, dword [esp + 0x80]
mov dword [eax + edx*4], ecx
mov dword [esp + 0x14], ebx
pop edx
jmp 0x10047424
xor ecx, ecx
mov dword [esp + 0x24], 0x2e75
inc ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], ebx
jmp 0x10047381
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x210], 0x5bed8572
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1004736e
mov dword [esp + 0xc], ebx
jmp 0x1004739d
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x178], ebx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x1004738e
mov eax, dword [esp + 0x88]
cmp dword [eax], ebx
je 0x100473e3
mov dword [esp + 0x18], 0xc12a7b09
mov dword [esp + 0x18], edx
cmp dword [esp + 0x18], ebx
jl 0x10047420
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x100473d8
push ebx
push ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ecx, ecx
inc ecx
dec dword [esp + 0x18]
jns 0x100473c0
push 3
pop edx
jmp 0x10047420
mov dword [esp + 0x24], ecx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x24], 0x91704d9f
dec dword [esp + 0x17c]
mov dword [esp + 0x18], ebx
jmp 0x1004741a
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x7c]
cmp dword [eax + ecx*4], ebx
jne 0x10047420
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edx
jle 0x10047404
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jle 0x10047359
mov eax, dword [esp + 0x88]
push 1
inc dword [eax]
cmp dword [eax], edx
pop edx
jle 0x100472fc
lea ecx, [esp + 0x88]
call fcn.10016da1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2a4], 1
call fcn.10016da1
mov dword [esp + 0x1c], 0xffff
lea ecx, [esp + 0xe4]
push 8
mov dword [esp + 0x10], 0x2206dd2c
pop esi
mov dword [esp + 0x18], 0x3b0a6d08
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], 0xcb090aec
push 2
call fcn.10016d1f
push 3
mov dword [esp + 0x10], ebx
pop edi
jmp 0x100474ac
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x204], esi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1004749d
mov dword [esp + 0xc], ebx
jmp 0x100474ce
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xe4]
mov dword [eax + ecx*4], 0xbab7
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x100474b8
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
neg ecx
sbb ecx, ecx
neg ecx
sub ecx, eax
xor eax, eax
cmp ecx, 0x1e01
setle al
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
neg edx
sub edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov edx, dword [esp + 0x1c]
setne cl
imul eax, ecx, 0x66de
sub edx, eax
mov eax, dword [esp + 0x1c]
sub edx, 0xfffffffc
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setg cl
xor edx, edx
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp ecx, 0x29207965
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x1c]
setl cl
mov dword [esp + 0x24], ecx
xor ecx, ecx
cmp dword [esp + 0x24], eax
mov eax, 0x4a30f524
setne cl
sub eax, ecx
add eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
inc eax
sub eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
inc eax
imul eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x208], edx
dec dword [eax]
cmp edx, ecx
jne 0x100475ac
xor esi, esi
inc esi
jmp 0x100475ae
mov esi, ebx
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x20], ebx
jne 0x100475bc
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x20], ebx
je 0x100475ce
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add eax, 0x23013892
neg eax
sbb eax, eax
xor edx, edx
neg eax
imul ecx, eax
mov eax, dword [esp + 0xc]
cmp ecx, eax
lea ecx, [esp + 0xe4]
setl dl
xor eax, eax
cmp esi, edx
setg al
mov dword [esp + 0x10], eax
call fcn.10016da1
push ebx
lea eax, [esp + 0x140]
push eax
push 0x7a54
push 0x3fe3
push 0x24d5
lea eax, [esp + 0x48]
push eax
push 0x5480
push 0x33d1
call fcn.10049489
mov dword [esp + 0x38], 4
add esp, 0x20
mov dword [esp + 0x24], 0x151c8b9b
mov dword [esp + 0x10], 0x4eb300a9
mov dword [esp + 0x24], 0xb49
mov dword [esp + 0x10], ebx
jmp 0x10047672
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x218], 0xfffffffc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1004765f
mov dword [esp + 0x18], 0xc
jmp 0x10047723
push 2
lea ecx, [esp + 0x14c]
call fcn.10016d1f
mov byte [esp + 0x2a4], 5
lea ecx, [esp + 0x16c]
mov dword [esp + 0x24], 0xf065f4b
push edi
call fcn.10016d1f
mov dword [esp + 0xc], ebx
jmp 0x100476cd
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x148]
mov dword [eax + ecx*4], 0x75286e87
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x100476b7
mov dword [esp + 0xc], ebx
jmp 0x100476f0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x16c]
mov dword [eax + ecx*4], 0x2c005d9c
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x100476da
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0x16c]
mov dword [eax], ebx
call fcn.10016da1
lea ecx, [esp + 0x148]
mov byte [esp + 0x2a4], 1
call fcn.10016da1
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xfffffff0
jl 0x10047686
push 0xfffffffffffffff8
mov dword [esp + 0x14], ebx
pop esi
jmp 0x1004775e
mov dword [esp + 0x18], ebx
jmp 0x10047753
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004774f
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 1
jle 0x1004773d
dec dword [esp + 0x10]
cmp dword [esp + 0x10], esi
je 0x10047737
push 2
lea ecx, [esp + 0x10c]
call fcn.10016d1f
mov byte [esp + 0x2a4], 6
mov dword [esp + 0x10], ebx
jmp 0x10047796