Function at 0x10045e14
Capabilities:
Create process on windows
Delete registry key
Enumerate gui resources
Get keyboard layout
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006922b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push esi
push edi
mov dword [esp + 0x48], ecx
or esi, 0xffffffff
push 2
mov dword [esp + 0x28], 0xfffffffc
lea ecx, [esp + 0x144]
pop ebx
mov dword [esp + 0x24], 0xe125d16d
mov dword [esp + 0x24], esi
mov dword [esp + 0x24], 0x8711
push ebx
mov dword [esp + 0x50], edx
call fcn.1002a48a
mov dword [esp + 0x24], 0xcbe92e3f
xor edi, edi
mov dword [esp + 0x24], 4
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov dword [esp + 0x14], 0xb0d6b1f8
inc edi
mov dword [esp + 0x10], ebx
jmp 0x10045ea9
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x1b0], 0x37b1891f
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x10045e96
mov dword [esp + 0x10], ebx
jmp 0x10045ecb
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x140]
mov dword [eax + ecx*4], 0x2d34caa8
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10045eb5
dec dword [esp + 0x1c]
dec dword [esp + 0x14]
cmp dword [esp + 0x140], ebx
je 0x10045f05
push dword [esp + 0x140]
call fcn.10050523
pop ecx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], ebx
mov eax, dword [0x111e8190]
test al, 1
jne 0x10045fa6
or eax, edi
mov dword [0x111e8190], eax
push ebx
mov dword [esp + 0x230], ebx
push ebx
mov dword [0x111e8170], ebx
mov dword [0x111e8174], ebx
call fcn.1003703b
mov dword [0x111e8170], eax
mov dword [0x111e8178], ebx
mov dword [0x111e8180], ebx
mov byte [esp + 0x22c], 2
mov ecx, 0x111e8178
mov dword [esp + 0x178], eax
lea eax, [esp + 0x178]
push eax
push 0x10
push ebx
lea eax, [esp + 0x80]
mov dword [0x111e818c], 0x3f800000
push eax
mov dword [0x111e817c], ebx
call fcn.10036e13
push 0x100694c9
mov dword [0x111e8184], 7
mov dword [0x111e8188], 8
call fcn.1004fdeb
pop ecx
mov dword [esp + 0x22c], esi
push 3
lea ecx, [esp + 0x120]
call fcn.1002a48a
push 3
pop eax
mov dword [esp + 0x22c], eax
lea ecx, [esp + 0x104]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x24], 0xb143e95a
mov dword [esp + 0x24], 0xfffffffc
mov dword [esp + 0x24], 0x73948b08
mov dword [esp + 0x24], 0x1ba028e
mov dword [esp + 0x24], 0x15fdc8df
mov dword [esp + 0x24], esi
mov dword [esp + 0x24], edi
push eax
call fcn.1002a48a
mov dword [esp + 0x24], edi
push 3
mov dword [esp + 0x1c], 0xfffffffc
mov dword [esp + 0x14], ebx
pop edx
jmp 0x1004602e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x11c]
mov dword [eax + ecx*4], 0xc204
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x10046018
mov dword [esp + 0x10], ebx
jmp 0x1004604c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x104]
mov dword [eax + ecx*4], edx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x1004603a
mov dword [esp + 0x1c], 2
cmp dword [esp + 0x1c], ebx
jl 0x10046098
mov dword [esp + 0x14], 0xf390197f
mov dword [esp + 0x14], ebx
jmp 0x1004608b
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10046087
push ebx
push ebx
push 0x1990
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jle 0x1004606e
dec dword [esp + 0x1c]
jns 0x10046060
dec dword [esp + 0x18]
cmp dword [esp + 0x104], 0
je 0x100460c8
push dword [esp + 0x104]
call fcn.10050523
pop ecx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x22c], esi
cmp dword [esp + 0x11c], 0
je 0x100460fb
push dword [esp + 0x11c]
call fcn.10050523
pop ecx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
imul eax, dword [esp + 0x48], 0x2710
lea ecx, [esp + 0xb4]
push dword [esp + 0x74]
movdqa xmm0, xmmword [0x10008690]
movdqu xmmword [esp + 0x1b8], xmm0
mov dword [esp + 0xb8], ebx
add eax, dword [esp + 0x50]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0x1bc]
mov dword [esp + 0xc0], ebx
push eax
push ebx
mov dword [esp + 0xcc], ebx
call fcn.10030896
mov dword [esp + 0x14], 0xd4081c29
mov dword [esp + 0x14], ebx
jmp 0x1004617b
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10046177
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jle 0x10046163
cmp dword [esp + 0xb4], 0
je 0x100461ae
push dword [esp + 0xb4]
call fcn.10050523
pop ecx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
lea eax, [esp + 0xa0]
push eax
call fcn.10047c88
mov eax, dword [eax]
mov dword [esp + 0x14], 0x2ba39464
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ebx
jmp 0x100461e2
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x200], 0x10c9
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x100461cf
mov dword [esp + 0x14], ebx
jmp 0x10046228
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x1004620e
push 0x1667
push ebx
push ebx
push ebx
push 0xe93
push ebx
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10046224
push 0x13eb
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jle 0x100461ef
cmp dword [esp + 0x28], 0
je 0x1004657d
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x184]
push 3
call fcn.1002a48a
mov dword [esp + 0x22c], 4
lea eax, [esp + 0x1f4]
push dword [esp + 0x74]
movdqa xmm0, xmmword [0x100086a0]
lea ecx, [esp + 0x7c]
push eax
lea eax, [esp + 0x1ec]
mov dword [esp + 0x80], ebx
push eax
push ebx
movdqu xmmword [esp + 0x1f4], xmm0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call fcn.10030896
mov byte [esp + 0x22c], 5
mov dword [esp + 0x20], 0xfffffffd
mov dword [esp + 0x1c], 0x258d
mov dword [esp + 0x18], 0xffff
mov dword [esp + 0x14], 0xfffffffa
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], ebx
jmp 0x100462df
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x184]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x100462cd
mov eax, dword [esp + 0x10]
mov ecx, 0xfffc
neg eax
sbb eax, eax
xor edx, edx
neg eax
sub ecx, eax
mov eax, dword [esp + 0x10]
cmp eax, ecx
setne dl
neg edx
je 0x10046448
mov dword [esp + 0x24], 0xd79339b8
lea ecx, [esp + 0x134]
push 3
call fcn.1002a48a
push 3
mov dword [esp + 0x28], 0xfffffffd
mov dword [esp + 0x14], ebx
pop edx
jmp 0x10046347
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x134]
mov dword [eax + ecx*4], 0xc46983c1
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x10046331
mov dword [esp + 0x10], ebx
jmp 0x10046366
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x198], 0xfffffff6
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10046353
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x1004638b
push 0x5ea
push 0x136b
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
push 3
pop edx
mov dword [esp + 0x10], ebx
jmp 0x1004640d
mov dword [esp + 0x24], 0xc23782e
mov dword [esp + 0x30], 0x928694a2
mov dword [esp + 0x24], edx
mov dword [esp + 0x4c], 0x1dd8e181
mov dword [esp + 0x24], 0x262b0969
push 8
pop eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
cmp dword [eax + ecx*4], ebx
jne 0x100463ed
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
cmp dword [eax + ecx*4], ebx
je 0x100463ed
mov eax, dword [esp + 0x19c]
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], esi
dec dword [esp + 0x14]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jle 0x10046391
cmp dword [esp + 0x134], 0
je 0x100464b1
push dword [esp + 0x134]
call fcn.10050523
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], ebx
jmp 0x100464b0
mov dword [esp + 0x24], 0xdfba6f46
lea ecx, [esp + 0x110]
push 2
call fcn.1002a48a
mov dword [esp + 0x14], ebx
jmp 0x1004647a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x110]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x10046464
dec dword [esp + 0x18]
cmp dword [esp + 0x110], 0
je 0x100464b1
push dword [esp + 0x110]
call fcn.10050523
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
pop ecx
mov dword [esp + 0x14], 0xfffb
cmp dword [esp + 0x14], ebx
je 0x10046506
mov eax, dword [esp + 0x18]
xor edx, edx
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x184]
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
sub eax, 0x3423
cmp eax, 0x155e
mov eax, dword [esp + 0x10]
setne dl
xor ecx, ecx
cmp eax, edx
setne cl
xor eax, eax
cmp ecx, 0x2df671b3
setge al
cmp eax, dword [esi + 0xc]
jge 0x10046508
mov edi, ebx
xor ecx, ecx
cmp edi, 0x2a73
sete cl
imul ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
neg ecx
sbb ecx, ecx
inc ecx
add ecx, dword [eax + 0xc]
xor eax, eax
cmp ecx, 0xa497976
setne al
xor ecx, ecx
cmp eax, 0xb5a5
setl cl
xor eax, eax
cmp ecx, 0x2939a49a
setge al
sub eax, dword [esp + 0x2c]
push dword [esp + 0x78]
mov dword [esp + 0x30], eax
call fcn.10050523
cmp dword [esp + 0x188], 0
pop ecx
je 0x1004656d
push dword [esp + 0x184]
call fcn.10050523
pop ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0xf4], eax
jmp 0x10047967
push 2
lea ecx, [esp + 0x40]
call fcn.1002a48a
mov dword [esp + 0x22c], 6
mov dword [esp + 0x20], 0xa66fe7d8
mov dword [esp + 0x10], 0xc2132456
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], 0xe70d28e4
mov dword [esp + 0x14], ebx
jmp 0x100465c4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov dword [eax + ecx*4], esi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x100465b5
mov dword [esp + 0x20], ebx
jmp 0x1004687e
push 2
lea ecx, [esp + 0x6c]
call fcn.1002a48a
mov byte [esp + 0x22c], 7
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ebx
jmp 0x10046604
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
mov dword [eax + ecx*4], 0xfffffffd
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x100465f1
mov dword [esp + 0x18], ebx
jmp 0x10046624
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x1f4], 0xffff
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x10046611
mov edi, dword [esp + 0x20]
xor edx, edx
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
sub eax, 0x414696ea
cmp dword [ecx + esi*4], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
sete dl
imul edx, dword [eax + edi*4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
imul edi, edx, 0x357
neg edi
sbb edi, edi
xor edx, edx
neg edi
cmp dword [ecx + eax*4], edi
setne dl
xor eax, eax
cmp dword [ecx + esi*4], edx
setge al
cmp eax, dword [esp + 0x20]
jne 0x100466f9
or esi, 0xffffffff
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x2314af1
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
neg eax
cmp eax, 0x9919
setge cl
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x20]
jg 0x100466d0
mov eax, dword [esp + 0x68]
cmp dword [eax + 4], ebx
je 0x100466d0
xor edi, edi
inc edi
mov edx, edi
jmp 0x100466d5
xor edi, edi
mov edx, ebx
inc edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x4448110c
xor eax, eax
cmp edx, 0x4448110c
sete al
inc eax
mov dword [esp + 0x14], eax
jmp 0x1004683f
xor edi, edi
lea ecx, [esp + 0xc0]
inc edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], 0x79364560
push edi
call fcn.1002a48a
mov dword [esp + 0x14], ebx
jmp 0x10046731
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc0]
mov dword [eax + ecx*4], 0xa58de38
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1004671b
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], edi
jg 0x10046810
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov edx, dword [eax]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + ecx*4]
add eax, edx
add eax, dword [esi + 4]
je 0x1004676d
test edx, edx
jne 0x10046771
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x1c]
inc ecx
imul eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
je 0x100467be
mov esi, edi
cmp dword [esp + 0x10], ebx
jne 0x100467c0
mov esi, ebx
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x3c]
cmp esi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
setg dl
mov dword [eax + ecx*4], edx
test edx, edx
jne 0x100467e3
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x1f8]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0xc0]
mov dword [eax], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jle 0x1004674d
cmp dword [esp + 0xc0], 0
je 0x1004683c
push dword [esp + 0xc0]
call fcn.10050523
pop ecx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
or esi, 0xffffffff
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10046855
push 0x2646
call dword [sym.imp.USER32.dll_MessageBeep]
mov byte [esp + 0x22c], 6
cmp dword [esp + 0x68], 0
je 0x1004687a
push dword [esp + 0x68]
call fcn.10050523
pop ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
inc dword [esp + 0x20]
cmp dword [esp + 0x20], edi
jle 0x100465d4
mov dword [esp + 0x22c], esi
cmp dword [esp + 0x3c], 0
je 0x100468ac
push dword [esp + 0x3c]
call fcn.10050523
pop ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov eax, dword [0x111e8190]
test al, 2
jne 0x10046952
or eax, 2
mov dword [0x111e8190], eax
push ebx
mov dword [esp + 0x230], 8
push ebx
mov dword [0x111e81a0], ebx
mov dword [0x111e81a4], ebx
call fcn.1003703b
mov dword [0x111e81a0], eax
mov dword [0x111e81a8], ebx
mov dword [0x111e81b0], ebx
mov byte [esp + 0x22c], 0xa
mov ecx, 0x111e81a8
mov dword [esp + 0x180], eax
lea eax, [esp + 0x180]
push eax
push 0x10
push ebx
lea eax, [esp + 0xa8]
mov dword [0x111e81bc], 0x3f800000
push eax
mov dword [0x111e81ac], ebx
call fcn.10036e13
push 0x100694c4
mov dword [0x111e81b4], 7
mov dword [0x111e81b8], 8
call fcn.1004fdeb
pop ecx
mov dword [esp + 0x22c], esi
mov eax, 0xaf43
lea ecx, [esp + 0x158]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x164], xmm0
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x1c], 0x97eede0b
mov dword [esp + 0x30], 0xd3c891c5
push 3
call fcn.1002a48a
push 3
mov dword [esp + 0x18], ebx
pop edx
jmp 0x100469bc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x158]
mov dword [eax + ecx*4], 0xa6e6f7fb
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x100469a6
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x1c], ebx
jl 0x100469d8
cmp dword [esp + 0x30], ebx
jne 0x100469d8
dec dword [esp + 0x1c]
jns 0x100469cc
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x100469e9
call dword [sym.imp.USER32.dll_GetMessageTime]
cmp dword [esp + 0x158], 0
je 0x10046a15
push dword [esp + 0x158]
call fcn.10050523
pop ecx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x160], ebx
lea eax, [esp + 0x48]
push eax
call fcn.10047cea
push 2
pop ecx
mov eax, dword [eax]
mov dword [esp + 0x30], 0xf8ee1d11
mov dword [esp + 0x28], 0x7c7be02
mov dword [esp + 0x28], 0x2c60edac
mov dword [esp + 0x24], 4
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], 0xfffffffe
mov dword [esp + 0x24], 3
mov dword [esp + 0x24], 7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], 0xdd664087
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0xf199
mov dword [esp + 0x34], 0x5d7c1543
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
jmp 0x10046aa1
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xac], 0xa35f
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jl 0x10046a8e
mov eax, dword [esp + 0x2c]
xor edx, edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xac]
mov eax, dword [esp + 0x28]
inc dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0xac]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xac]
cmp ecx, eax
mov eax, dword [esp + 0xac]
setg dl
inc eax
xor ecx, ecx
cmp edx, eax
setg cl
cmp byte [ebp + 0xc], 0
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
jne 0x10046b22
cmp dword [esp + 0x1c], 0
jne 0x10046f5f
push edi
lea ecx, [esp + 0x60]
call fcn.1002a48a
mov dword [esp + 0x22c], 0xb
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], 8
mov dword [esp + 0x18], ebx
jmp 0x10046b5c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x5d6c05ba
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edi
jl 0x10046b49
mov dword [esp + 0x18], ebx
jmp 0x10046b7b
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0xe4], 0x53d8da8e
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 4
jl 0x10046b68
mov dword [esp + 0xe8], ebx
jmp 0x10046d79
mov dword [esp + 0x10], 0xfffffff6
lea ecx, [esp + 0xd8]
mov dword [esp + 0x28], 0xef307d7
push 2
call fcn.1002a48a
mov byte [esp + 0x22c], 0xc
mov dword [esp + 0x14], ebx
jmp 0x10046bcc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xd8]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x10046bba
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], ebx
jg 0x10046d3e
mov edi, dword [esp + 0xd8]
push dword [esp + 0x9c]
lea eax, [esp + 0x1d8]
mov dword [esp + 0xd0], ebx
push eax
lea eax, [esp + 0x1cc]
mov dword [esp + 0xd8], ebx
push eax
xorps xmm0, xmm0
mov dword [esp + 0xe0], ebx
push ebx
lea ecx, [esp + 0xdc]
movdqu xmmword [esp + 0x1d4], xmm0
call fcn.10030896
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
push 0
mov edx, dword [ecx + eax*4]
sub edx, dword [ecx]
xor ecx, ecx
mov eax, dword [esp + 0x14]
sub edx, 0x6d210ec3
test eax, eax
setle cl
xor eax, eax
cmp edx, ecx
mov ecx, dword [esp + 0x24]
setle al
xor edx, edx
cmp eax, 0x17f4039e
mov eax, dword [esp + 0x14]
setle dl
add ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
setl cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x28]
mov eax, dword [esp + 0xec]
setne cl
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x60]
cmp eax, dword [ecx + edx*4]
mov eax, dword [esp + 0xf0]
pop ecx
setne cl
xor edx, edx
neg ecx
cmp ecx, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
setle dl
mov dword [esp + 0x24], edx
imul edx, dword [eax + ecx*4], 0xd6c5
xor ecx, ecx
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
setge cl
mov dword [esp + 0x24], ecx
xor ecx, ecx
cmp eax, edx
setge cl
xor eax, eax
cmp ecx, dword [esp + 0x24]
setl al
xor ecx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, esi
mov eax, dword [esp + 0xcc]
setne cl
push eax
mov dword [eax + 4], ecx
call fcn.10050523
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
inc dword [esp + 0x14]
pop ecx
cmp dword [esp + 0x10], ebx
jle 0x10046be8
mov byte [esp + 0x22c], 0xb
cmp dword [esp + 0xd8], 0
je 0x10046d72
push dword [esp + 0xd8]
call fcn.10050523
pop ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
inc dword [esp + 0xe8]
cmp dword [esp + 0xe8], ebx
jle 0x10046b8e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xe8], eax
mov dword [esp + 0x22c], esi
cmp dword [esp + 0x5c], 0
je 0x10046db5
push dword [esp + 0x5c]
call fcn.10050523
pop ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dl, byte [ebp + 0xc]
lea eax, [esp + 0x210]
mov ecx, dword [esp + 0x48]
push eax
call fcn.1003c0d8
mov esi, eax
lea edi, [esp + 0x168]
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], 0x10e5e534
mov dword [esp + 0x10], ebx
jmp 0x10046e7c
mov dword [esp + 0x24], 0x23ed15d
mov dword [esp + 0x28], 0x6feb9e9d
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10046e12
push 0x13eb
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
sub edx, eax
mov eax, dword [esp + 0x10]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [esp + 0x28]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x10]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, 0xffff6114
setne cl
sub eax, ecx
je 0x10046e62
cmp dword [esp + 0x10], ebx
je 0x10046e62
xor edx, edx
inc edx
jmp 0x10046e64
mov edx, ebx
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp eax, edx
setl cl
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffff5
jle 0x10046dec
cmp byte [ebp + 0xc], 0
je 0x10046f5c
cmp dword [esp + 0x16c], 0
je 0x10046f5c
push dword [esp + 0x9c]
movdqa xmm0, xmmword [0x10008730]
lea eax, [esp + 0x1e8]
push eax
lea eax, [esp + 0x1dc]
mov dword [esp + 0x8c], ebx
push eax
push ebx
lea ecx, [esp + 0x94]
mov dword [esp + 0x98], ebx
movdqu xmmword [esp + 0x1e4], xmm0
mov dword [esp + 0x9c], ebx
call fcn.10030896
mov dword [esp + 0x14], 0x29000d4e
mov dword [esp + 0x14], ebx
jmp 0x10046f0d
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10046f09
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jle 0x10046ef7
cmp dword [esp + 0x84], 0
je 0x10046f40
push dword [esp + 0x84]
call fcn.10050523
pop ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x170]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0xfc], eax
or esi, 0xffffffff
mov dword [esp + 0x20], 0xfffffffa
mov dword [esp + 0x10], 0xfffffffc
mov dword [esp + 0x18], 0xfffffff7
mov dword [esp + 0x28], 0xcc74bf7a
mov dword [esp + 0x14], ebx
jmp 0x10046f98
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x1a0], 0x1bab0c3e
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x10046f85
mov dword [esp + 0x20], 0x25d16df2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
imul eax, dword [esp + 0x10], 0xfffa
cmp eax, 0xdfe4
jge 0x10046fc8
cmp dword [esp + 0x10], ebx
jne 0x10046fc8
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0xfffffff9
je 0x100471be
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10046ff4
push ebx
push ebx
push 0x1ffb
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10047013
push 0xf0e
push ebx
push ebx
push ebx
push ebx
push 0x2686
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor edi, edi
inc edi
mov eax, dword [esp + 0x10]
mov ecx, 0xb78c6aee
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x1a4]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x1a4]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp ecx, eax
sbb eax, eax
xor ecx, ecx
neg eax
sub eax, dword [esp + 0x10]
cmp eax, 0xd992
setge cl
xor eax, eax
imul ecx, dword [esp + 0x20]
cmp ecx, 0xfffffff6
setge al
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
jne 0x100476bc
cmp dword [esp + 0x164], 0
jle 0x100476bc
mov dword [esp + 0x24], 0x166c
cmp dword [esp + 0x24], 0xddd
jge 0x100471a1
lea eax, [esp + 0x98]
push eax
push ecx
lea eax, [esp + 0xac]
mov ecx, 0x10659f38
push eax
call fcn.10029b55
pop ecx
mov ecx, eax
call fcn.10029b55
cmp dword [esp + 0x98], 0
jle 0x10047146
mov ebx, dword [esp + 0x98]
lea eax, [esp + 0x90]
push eax
push ecx
lea eax, [esp + 0xb0]
mov ecx, 0x10659f38
push eax
call fcn.10029b55
pop ecx
mov ecx, eax
call fcn.10029b55
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
inc dword [eax*4 + 0x11102540]
mov eax, dword [esp + 0x90]
dec eax
mov dword [esp + 0x90], eax
inc dword [eax*4 + 0x11102540]
dec ebx
jne 0x100470f4
cmp dword [esp + 0xa4], 0
mov dword [esp + 0x24], ebx
jle 0x1004718b
mov eax, dword [ebx*4 + 0x11102540]
and eax, 0x80000001
jns 0x10047167
dec eax
or eax, 0xfffffffe
inc eax
je 0x1004717f
mov edx, 0x10007f24
mov ecx, 0x10659e90
call fcn.1002f64f
push eax
call fcn.1002f61d
pop ecx
inc ebx
cmp ebx, dword [esp + 0xa4]
jl 0x10047154
xor ebx, ebx
mov edx, 0x10007f20
mov ecx, 0x10659e90
call fcn.1002f64f
push eax
call fcn.1002f61d
pop ecx
push 3
lea ecx, [esp + 0x54]
call fcn.1002a48a
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], ebx
jmp 0x10047203
mov dword [esp + 0x14], 0xbc999589
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], ebx
jne 0x100471d4
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
xor edi, edi
mov eax, dword [esp + 0x14]
inc edi
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edi
jmp 0x10047016
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
mov dword [eax + ecx*4], 0xff0ea75c
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x100471f0
mov dword [esp + 0x10], ebx
jmp 0x10047371
mov dword [esp + 0x20], esi
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x1004722e
push ebx
push 0x162c
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], edi
cmp dword [esp + 0x20], ebx
je 0x1004724c
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
imul eax, dword [ecx + edx*4]
test eax, eax
jne 0x10047330
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], 0xb3395cc9
mov dword [esp + 0x20], 2
cmp dword [esp + 0x20], ebx
jl 0x100472a3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
cmp dword [edx + eax*4], ebx
jne 0x100472a7
dec dword [esp + 0x20]
jns 0x1004727e
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
xor ecx, ecx
sub eax, 0xf045
cmp eax, 0x5653
mov eax, dword [esp + 0x20]
setl cl
imul eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
sub eax, dword [edx + 8]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
imul eax, eax, 0xf8ef
cmp ecx, eax
mov eax, dword [esp + 0x18]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp eax, ecx
mov eax, dword [esp + 0x50]
setne dl
sub edx, dword [eax + esi*4]
jne 0x10047305
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
xor edx, edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp eax, ecx
setg dl
sub edx, dword [esp + 0x20]
mov eax, dword [esp + 0x50]
neg edx
sbb edx, edx
inc edx
sub edx, dword [eax]
or esi, 0xffffffff
mov dword [esp + 0x34], edx
jmp 0x1004736d
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10047343
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov dword [esp + 0x20], 2
cmp dword [esp + 0x20], ebx
jl 0x1004736d
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10047367
push 0x1688
call dword [sym.imp.GDI32.dll_DeleteDC]
dec dword [esp + 0x20]
jns 0x10047351
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jle 0x10047213
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x50], 0
mov dword [esp + 0x10], eax
je 0x100473a1
push dword [esp + 0x50]
call fcn.10050523
pop ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], 0xde713a47
lea ecx, [esp + 0x14c]
mov dword [esp + 0x18], 0x3244d513
mov dword [esp + 0x30], esi
push edi
call fcn.1002a48a
mov dword [esp + 0x18], ebx
jmp 0x100473d8
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x38], 0xb6069300
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edi
jl 0x100473c8
mov dword [esp + 0x18], ebx
jmp 0x100473fa
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14c]
mov dword [eax + ecx*4], 0xfffffffc
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edi
jl 0x100473e4
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x1004741c
push ebx
push 0x1e82
push 0xd3a
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x10]
cmp ecx, eax
setge dl
xor ecx, ecx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x10]
cmp eax, edx
setg cl
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], ebx
je 0x100474cc
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
dec eax
imul ecx, eax
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x10047497
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x38], ebx
ja 0x10047482
mov edx, ebx
cmp dword [esp + 0x14], ebx
je 0x10047484
mov edx, edi
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp edx, eax
setle cl
cmp ecx, dword [esp + 0x14]
mov ecx, edi
jg 0x10047499
mov ecx, ebx
xor eax, eax
cmp ecx, 0x2aba
setg al
cmp eax, dword [esp + 0x10]
je 0x100474b2
mov eax, ebx
cmp dword [esp + 0x14], ebx
je 0x100474b4
mov eax, edi
mov dword [esp + 0x18], eax
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x100474ff
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100474ff
mov dword [esp + 0x24], 0xfff7
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
neg edx
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, 0x6ff52912
setge cl
sub edx, ecx
mov dword [esp + 0x38], edx
cmp dword [esp + 0x14c], 0
je 0x1004752b
push dword [esp + 0x14c]
call fcn.10050523
pop ecx
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], 0x5683
mov dword [esp + 0x14], ebx
jmp 0x10047557
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10047553
push 0xad0
call dword [sym.imp.GDI32.dll_GetStockObject]
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xfffffff2
jl 0x1004753d
cmp dword [esp + 0x168], 0
je 0x100476bc
mov dword [esp + 0x14], ebx
push 0xfffffffffffffff7
pop eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x24], 0xfffffff6
mov dword [esp + 0x34], 0xfffffffe
mov dword [esp + 0x18], 0xfffffff9
mov dword [esp + 0x10], 0xa27289ff
mov dword [esp + 0x28], 0xcd2466e9
mov dword [esp + 0x34], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], 0xf5f40e13
mov dword [esp + 0x34], eax
mov dword [esp + 0x34], 6
mov dword [esp + 0x34], 9
mov dword [esp + 0x30], ebx
mov dword [esp + 0x30], 0xd64bda99
mov dword [esp + 0x2c], 0xc72b
mov dword [esp + 0x1c], 0x276a
mov dword [esp + 0x30], 0xfff6
mov dword [esp + 0x14], ebx
jmp 0x10047600
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x94], 0x37ae9f90
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x100475ed
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10047618
push ebx
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov dword [esp + 0x14], 3
cmp dword [esp + 0x14], ebx
je 0x1004767b
mov eax, dword [esp + 0x14]
dec dword [esp + 0x28]
jne 0x10047638
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp eax, edi
setl cl
imul ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x34]
jne 0x10047664
mov edx, ebx
cmp dword [esp + 0x94], ebx
je 0x10047666
mov edx, edi
mov ecx, dword [esp + 0x2c]
neg edx
xor eax, eax
cmp edx, ecx
mov ecx, edi
setg al
cmp dword [esp + 0x14], eax
jle 0x1004767d
mov ecx, ebx
mov eax, dword [esp + 0x30]
add eax, ecx
xor ecx, ecx
imul eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
cmp eax, 6
setne cl
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x168]
call fcn.10045dbe
mov esi, eax
lea eax, [esp + 0x48]
push eax
call fcn.10047cea
mov dword [eax], esi
jmp 0x100476c0
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x164]
call fcn.10042783
mov dword [esp + 0x18], 0xa48bbca6
mov dword [esp + 0x20], 0x2a8d
mov dword [esp + 0x18], ebx
jmp 0x10047852
mov dword [esp + 0x10], 0x977a124
lea ecx, [esp + 0x128]
push 4
call fcn.1002a48a
mov dword [esp + 0x24], 0x3ddb2097
mov dword [esp + 0x1c], ebx
jmp 0x1004771f
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x128]
mov dword [eax + ecx*4], 0xaa32
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 4
jl 0x10047709
mov eax, dword [esp + 0x18]
xor edx, edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp ecx, eax
mov eax, dword [esp + 0x20]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x20]
setl cl
xor edx, edx
cmp eax, ecx
mov eax, dword [esp + 0x10]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x20]
mov edx, 0xeb9ae77a
setle cl
mov dword [esp + 0x24], ecx
xor ecx, ecx
cmp dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
setle cl
sub edx, ecx
xor ecx, ecx
cmp eax, edx
setne cl
sub ecx, dword [esp + 0x18]
je 0x100477f2
mov dword [esp + 0x24], 0x89276496
mov dword [esp + 0x1c], ebx
jmp 0x100477a8
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x17c], 0x71b36c93
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edi
jl 0x10047795
mov dword [esp + 0x10], ebx
jmp 0x100477d3
mov dword [esp + 0x14], edi
cmp dword [esp + 0x14], ebx
jne 0x100477da
xor eax, eax
mov ecx, ebx
cmp ecx, 0xbf81
sete al
mov dword [esp + 0x24], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jle 0x100477b4
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10047822
push 0x280
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10047822
mov dword [esp + 0x1c], ebx
jmp 0x1004780b
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x190], 7
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 2
jl 0x100477f8
mov eax, dword [esp + 0x194]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x128], 0
je 0x1004784e
push dword [esp + 0x128]
call fcn.10050523
pop ecx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0x17
je 0x100476e5
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10047885
push 0xbf7
push ebx
push ebx
push 0x1c60
push 0xcb9
push ebx
push 0x240f
call dword [sym.imp.GDI32.dll_GetDIBits]
test esi, esi
je 0x100478ac
mov edx, dword [esp + 0x4c]
mov ecx, esi
call fcn.10045e0a
mov esi, eax
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0xf8], esi
call fcn.10047c88
mov dword [eax], esi
push 8
pop ecx
mov dword [esp + 0x18], ecx
or esi, 0xffffffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], 0x3700168a
mov dword [esp + 0x1c], ebx
jmp 0x100478db
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x174], 0x9150faeb
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edi
jl 0x100478c8
mov dword [esp + 0x18], ecx
jmp 0x10047914
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x100478fa
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10047910
push 0x20a3
call dword [sym.imp.USER32.dll_IsZoomed]
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0xe
jl 0x100478e7
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
sub esi, eax
je 0x1004792d
cmp dword [esp + 0x14], ebx
jne 0x1004792f
mov edi, ebx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
lea eax, [edi - 1]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub eax, 0xecbe
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 8]
lea esi, [esp + 0xf4]
mov ecx, dword [esp + 0x224]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret