Function at 0x10047dfb
Capabilities:
Delete registry value
Get keyboard layout
Get system information on windows

Disassembly:
mov eax, 0x10062936
call fcn.10061530
sub esp, 0x20c
push ebx
push esi
push edi
mov dword [ebp - 0x50], ecx
xor edi, edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0xfc]
mov esi, edx
inc edi
mov dword [ebp - 0x18], edi
push 2
mov dword [ebp - 0x48], esi
call fcn.10015984
xor ebx, ebx
mov dword [ebp - 0x20], ebx
jmp 0x10047e46
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xfc]
mov dword [eax + ecx*4], 0x29aa810d
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x10047e33
cmp dword [ebp - 0x18], ebx
mov byte [ebp - 0x11], bl
je 0x10047e63
cmp byte [ebp - 0x11], bl
je 0x10047e76
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x10047e76
cmp byte [ebp - 0x11], bl
je 0x10047e76
push 0x1c3c
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CombineRgn]
mov eax, dword [ebp - 0x18]
neg eax
jne 0x10047e84
mov eax, ebx
cmp dword [ebp - 0x18], ebx
je 0x10047e86
mov eax, edi
mov ecx, dword [ebp - 0x18]
imul ecx, eax
mov eax, dword [ebp - 0xfc]
mov dword [eax], ecx
lea ecx, [ebp - 0xfc]
call fcn.10015a06
mov eax, dword [0x1060bac0]
test al, 1
jne 0x10047f32
or eax, edi
mov dword [0x1060bac0], eax
push ebx
mov dword [ebp - 4], ebx
push ebx
mov dword [0x1060bad0], ebx
mov dword [0x1060bad4], ebx
call fcn.10016784
mov dword [0x1060bad0], eax
mov dword [0x1060bad8], ebx
mov dword [0x1060bae0], ebx
mov byte [ebp - 4], 2
mov ecx, 0x1060bad8
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xbc]
push eax
push 0x10
push ebx
lea eax, [ebp - 0x170]
mov dword [0x1060baec], 0x3f800000
push eax
mov dword [0x1060badc], ebx
call fcn.1001655c
push 0x10062b45
mov dword [0x1060bae4], 7
mov dword [0x1060bae8], 8
call fcn.1004c23c
or dword [ebp - 4], 0xffffffff
pop ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xfffffff6
mov dword [ebp - 0x18], 0x3b3f3656
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x20], 0x25bfc88e
mov dword [ebp - 0x44], 0xb3e713e1
mov dword [ebp - 0x3c], 0x52509e71
mov dword [ebp - 0x44], 0x6974edf0
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x2c], 0x716b5b38
mov dword [ebp - 0x38], 0xb564
mov dword [ebp - 0x1c], ebx
jmp 0x10047f95
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x54], 0xb02971c1
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x10047f87
mov dword [ebp - 0x1c], ebx
jmp 0x10047fb0
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1d8], 0xfffffff7
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x10047f9f
dec dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
inc dword [ebp - 0x38]
cmp dword [ebp - 0x28], ebx
jne 0x10047fd9
cmp dword [ebp - 0x2c], ebx
jne 0x10047fd9
mov edx, ebx
cmp dword [ebp - 0x54], ebx
je 0x10047fdb
mov edx, edi
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp edx, eax
setge cl
sub ecx, dword [ebp - 0x3c]
sub ecx, 0xfffffffc
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x30]
cmp eax, ecx
setle dl
mov dword [ebp - 0x18], edx
xor edx, edx
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
cmp eax, ecx
mov eax, dword [ebp - 0x54]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x54]
setle cl
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1004803d
push ebx
call dword [sym.imp.USER32.dll_RegisterClassW]
imul eax, dword [ebp - 0x50], 0x2710
add eax, esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x20], ebx
jmp 0x1004805c
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x4c], 0xffffffff
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x1004804e
mov dword [ebp - 0x4c], ebx
jmp 0x10048083
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10048080
push 0x15c1
push 0x3c5
push ebx
call dword [sym.imp.USER32.dll_DeleteMenu]
dec dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0xffffffef
jg 0x10048066
lea eax, [ebp - 0x68]
push eax
call fcn.100493e9
push dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10048244
movdqa xmm0, xmmword [0x1000c530]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x90], ebx
push eax
push ebx
movdqu xmmword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
call fcn.10016cce
push 3
pop esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 0xfffffffb
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x48], 0x98e64e6d
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x3c], 0x1e7b
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x20], ebx
jmp 0x1004822b
mov dword [ebp - 0x48], 0x31d83293
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x38], 0xffffffff
inc dword [ebp - 0x38]
mov dword [ebp - 0x18], ebx
jmp 0x1004821f
mov dword [ebp - 0x30], 0x9314
lea ecx, [ebp - 0xf0]
push edi
call fcn.10015984
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], ebx
jmp 0x10048176
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xf0]
mov dword [eax + ecx*4], 0x6b903cfc
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], edi
jl 0x10048163
mov dword [ebp - 0x24], ebx
jmp 0x10048208
mov dword [ebp - 0x2c], 0xc9f7
xor edx, edx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x144]
mov eax, dword [ebp - 0xf0]
cmp dword [eax], ecx
mov eax, dword [ebp - 0x30]
setg dl
xor ecx, ecx
imul eax, edx
cmp eax, 7
mov eax, dword [ebp - 0xf0]
setne cl
xor edx, edx
cmp ecx, dword [eax]
mov eax, dword [ebp - 0x30]
setge dl
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x38]
add eax, dword [ecx + edx*4]
cmp eax, edi
jne 0x100481e6
mov dword [ebp - 0x38], edi
cmp dword [ebp - 0x2c], ebx
jne 0x100481e9
mov dword [ebp - 0x38], ebx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x90]
mov edx, dword [eax + ecx*4]
xor ecx, ecx
add edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp edx, eax
setle cl
mov dword [ebp - 0x2c], ecx
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jle 0x10048183
lea ecx, [ebp - 0xf0]
call fcn.10015a06
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jle 0x10048148
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jle 0x10048117
lea ecx, [ebp - 0x90]
call fcn.10015a06
jmp 0x10049355
movdqa xmm0, xmmword [0x1000c540]
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0xa8], ebx
push eax
push ebx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa4], ebx
movdqu xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0xa0], ebx
call fcn.10016cce
mov dword [ebp - 0x30], ebx
mov eax, 0xa80278ee
mov dword [ebp - 0x18], 0x737e0d1b
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x28], 0xa1c33c01
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x2c], 0xdb88dcfd
mov dword [ebp - 0x20], ebx
jmp 0x100482ce
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xe4], 0xfffffff8
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x100482bd
mov eax, dword [ebp - 0x18]
xor edx, edx
mov esi, dword [ebp - 0xa8]
mov ecx, dword [esi + 8]
cmp ecx, eax
mov eax, dword [ebp - 0x30]
setl dl
mov dword [ebp - 0xe4], ecx
add edx, 8
dec dword [ebp - 0x30]
cmp eax, edx
mov eax, dword [ebp - 0xa8]
mov edx, edi
cmove edx, ebx
xor ecx, ecx
cmp dword [eax + 0xc], edx
setne cl
neg ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [esi + 8]
neg eax
sbb eax, eax
neg eax
imul ecx, eax
sub ecx, dword [esi + 8]
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [ebp - 0x18]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setne dl
sub edx, 0xfffffff8
neg edx
sbb edx, edx
xor eax, eax
inc edx
cmp edx, 6
setl al
xor ecx, ecx
cmp dword [esi + 8], eax
setge cl
mov dword [ebp - 0x124], ecx
sub ecx, dword [esi + 8]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0xa8]
call fcn.10015a06
mov eax, dword [0x1060bac0]
test al, 2
jne 0x10048405
or eax, 2
mov dword [0x1060bac0], eax
push ebx
mov dword [ebp - 4], 4
push ebx
mov dword [0x1060baa0], ebx
mov dword [0x1060baa4], ebx
call fcn.10016784
mov dword [0x1060baa0], eax
mov dword [0x1060baa8], ebx
mov dword [0x1060bab0], ebx
mov byte [ebp - 4], 6
mov ecx, 0x1060baa8
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xe0]
push eax
push 0x10
push ebx
lea eax, [ebp - 0x17c]
mov dword [0x1060babc], 0x3f800000
push eax
mov dword [0x1060baac], ebx
call fcn.1001655c
push 0x10062b40
mov dword [0x1060bab4], 7
mov dword [0x1060bab8], 8
call fcn.1004c23c
or dword [ebp - 4], 0xffffffff
pop ecx
mov dword [ebp - 0x1c], 0x99841b3c
mov dword [ebp - 0x20], 0xc865b49d
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x100484b5
push dword [ebp + 8]
movdqa xmm0, xmmword [0x1000c550]
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x9c], ebx
push eax
push ebx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x98], ebx
movdqu xmmword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x94], ebx
call fcn.10016cce
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], 0xc6338430
mov dword [ebp - 0x2c], 0xffffffff
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jne 0x10048482
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x9c]
xor edx, edx
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setge dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x9c]
call fcn.10015a06
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jle 0x1004841f
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp eax, 0xadd5
movdqu xmmword [ebp - 0xb8], xmm0
setle cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], 0xfffffff7
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], 0xf82baef6
mov dword [ebp - 0x30], 0x3bd5
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1004851e
push ebx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], eax
jne 0x10048532
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], edi
xor edx, edx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
cmp ecx, eax
setg dl
imul edx, dword [ebp - 0x34]
test edx, edx
je 0x1004857e
mov dword [ebp - 0x44], 0x60df3928
xor edx, edx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x2c]
cmp eax, edi
setle dl
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setge cl
mov dword [ebp - 0x1c], ecx
jmp 0x100486c3
push 2
lea ecx, [ebp - 0x108]
call fcn.10015984
mov dword [ebp - 4], 7
mov dword [ebp - 0x20], ebx
jmp 0x100485aa
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x108]
mov dword [eax + ecx*4], 0x3e24
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x10048597
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x100485c5
push ebx
push 0x1214
call dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 0xffffffea
jge 0x100486b4
mov dword [ebp - 0x20], 0x35cf
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], edi
jg 0x100486a9
mov dword [ebp - 0x34], 0x5a3f
cmp dword [ebp - 0x34], 0x5a99
jle 0x10048665
mov eax, ebx
mov dword [ebp - 0x30], ebx
mov esi, ebx
mov dword [ebp - 0x28], ebx
cdq
idiv esi
mov dword [ebp - 0x2c], ebx
mov esi, ebx
mov eax, edx
mov dword [ebp - 0x3c], eax
mov ecx, esi
shl eax, cl
lea ecx, [ebp - 0x1f0]
cdq
push edx
push eax
call fcn.1000d990
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10048628
mov eax, dword [eax]
push eax
call fcn.1004c266
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x1f0]
call fcn.1000e1eb
mov eax, dword [ebp - 0x3c]
inc esi
cmp esi, 0x6a15
jl 0x1004860c
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 0x4366
jl 0x100485ff
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 0x528a
jl 0x100485fa
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10048674
call dword [sym.imp.USER32.dll_GetMessageTime]
cmp dword [ebp - 0x34], 0x59cf
jge 0x10048688
push 0x1000c3e8
call fcn.1004c266
pop ecx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
inc dword [ebp - 0x1c]
jmp 0x100485dc
mov eax, dword [ebp - 0x20]
dec dword [ebp - 0x24]
jmp 0x100485c8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.10015a06
lea eax, [ebp - 0x50]
push eax
call fcn.1004944b
mov ecx, dword [eax]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ebx
jmp 0x100486e7
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x64], 0x5540d7f8
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x100486d9
mov dword [ebp - 0x64], 0xfffffff4
jmp 0x10048713
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10048710
push ebx
push 0x937
push 0x194b
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
inc dword [ebp - 0x64]
cmp dword [ebp - 0x64], 0xfffffff5
jl 0x100486f6
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 5
jle 0x100487df
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x34], 0x4314
cmp dword [ebp - 0x34], 0x46ae
jle 0x1004877c
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x28], ebx
mov ebx, esi
mov esi, 0x657c
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ecx, 0x1060a8b8
cdq
push edx
push eax
call fcn.1000de0e
dec ebx
dec esi
jne 0x10048747
mov esi, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 0x1bc
jl 0x10048740
inc edi
push 0
pop ebx
cmp edi, 0x1896
jl 0x1004873b
xor edi, edi
inc edi
cmp byte [ebp - 0x11], 0
je 0x1004878f
push ebx
push ebx
push 0xaf9
call dword [sym.imp.ADVAPI32.dll_CopySid]
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x34], 0x42fa
jge 0x100487ae
mov edx, 0x1000c418
mov ecx, 0x1060a8b8
call fcn.1000f7c5
or dword [ebp - 4], 0xffffffff
inc dword [ebp - 0x18]
jmp 0x1004871c
cmp byte [ebp + 0xc], 0
jne 0x100487ef
cmp dword [ebp - 0x20], 0
jne 0x10048a2d
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], ebx
jmp 0x10048808
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x178], 0xfffffffd
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x100487f7
mov dword [ebp - 0x24], ebx
jmp 0x10048885
mov dword [ebp - 0x18], ebx
jmp 0x10048826
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x40], 0xffffffff
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10048818
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10048853
push 0x1a4d
push 0xf06
push 0x413
push 0xbb
push 0x756
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov dword [ebp - 0x40], 0x1a
jmp 0x1004887c
mov dword [ebp - 0x2c], 0xad67
cmp dword [ebp - 0x2c], ebx
jne 0x1004886f
mov eax, ebx
cmp dword [ebp - 0x40], ebx
je 0x10048871
mov eax, edi
neg eax
mov dword [ebp - 0x178], eax
dec dword [ebp - 0x40]
cmp dword [ebp - 0x40], 8
jge 0x1004885c
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x1d
jne 0x10048813
mov dl, byte [ebp + 0xc]
lea eax, [ebp - 0x218]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.1003be8b
cmp byte [ebp + 0xc], 0
lea edi, [ebp - 0xb8]
mov esi, eax
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]
je 0x10048a2a
cmp dword [ebp - 0xb0], 0
je 0x10048a2a
mov dword [ebp - 0x30], 0xe97eede0
xor edi, edi
inc edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], 0xffffffff
push 3
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x18], ebx
pop esi
jmp 0x100488f5
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xcc], 0x43c6fe23
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x100488e4
mov eax, dword [ebp - 0xcc]
xor edx, edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xcc]
cmp ecx, eax
setl dl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
cmp ecx, dword [ebp - 0xcc]
je 0x10048931
mov eax, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc4]
xor ecx, ecx
cmp eax, 0xfad5
setge cl
cmp ecx, 0xe6f7fbf2
sbb eax, eax
neg eax
lea ecx, [eax - 0x9125]
mov eax, dword [ebp - 0x30]
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, ecx
mov eax, dword [ebp - 0x30]
setge dl
xor ecx, ecx
cmp eax, edx
setle cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], 0xf5954e3f
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x1c], ebx
jmp 0x100489a9
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x6c], 0x3196
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1004899b
mov dword [ebp - 0x1c], ebx
jmp 0x100489c4
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1c8], 0xffffffff
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x100489b3
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
neg eax
sbb eax, eax
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
sub eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x6c]
inc edx
neg edx
sbb edx, edx
inc edx
cmp edx, eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd4], eax
setg cl
mov dword [ebp - 0x1c0], ecx
jmp 0x10048a30
xor edi, edi
inc edi
push 3
pop esi
push dword [ebp + 8]
movdqa xmm0, xmmword [0x1000c540]
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x84], ebx
push eax
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x80], ebx
movdqu xmmword [ebp - 0x19c], xmm0
mov dword [ebp - 0x7c], ebx
call fcn.10016cce
mov dword [ebp - 0x30], ebx
mov eax, 0xa80278ee
mov dword [ebp - 0x24], 0x737e0d1b
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x28], 0xa1c33c01
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x2c], 0xdb88dcfd
mov dword [ebp - 0x18], ebx
jmp 0x10048ab7
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xd0], 0xfffffff8
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10048aa6
mov eax, dword [ebp - 0x84]
xor edx, edx
mov dword [ebp - 0x34], eax
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
mov eax, dword [ebp - 0x30]
setl dl
mov dword [ebp - 0xd0], ecx
add edx, 8
dec dword [ebp - 0x30]
cmp eax, edx
mov eax, dword [ebp - 0x84]
mov edx, edi
cmove edx, ebx
xor ecx, ecx
cmp dword [eax + 0xc], edx
setne cl
neg ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
neg eax
sbb eax, eax
neg eax
imul eax, dword [ecx + 8]
sub eax, dword [ecx + 8]
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x24]
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
setne dl
sub edx, 0xfffffff8
neg edx
sbb edx, edx
xor eax, eax
inc edx
cmp edx, 6
mov edx, dword [ebp - 0x34]
setl al
xor ecx, ecx
cmp dword [edx + 8], eax
setge cl
mov dword [ebp - 0x134], ecx
sub ecx, dword [edx + 8]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x84]
call fcn.10015a06
cmp dword [ebp - 0x20], 0
jne 0x100491d9
cmp dword [ebp - 0xb8], 0
jle 0x100491d9
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x30], 0x7f05f432
mov dword [ebp - 0x1c], 0xffffffe9
jmp 0x10048c59
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x3c], 0xffaa2324
mov dword [ebp - 0x18], ebx
jmp 0x10048bae
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x5c], 0x2cfb6318
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10048ba0
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x24], ebx
jl 0x10048c50
mov dword [ebp - 0x2c], 6
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x5c]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x5c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov eax, dword [ebp - 0x58]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setl dl
mov dword [ebp - 0x2c], edx
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x5c]
cmp dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
setg dl
xor ecx, ecx
cmp edx, eax
setge cl
add ecx, 0x9ef4
cmp ecx, dword [ebp - 0x1c]
jl 0x10048c1d
mov eax, ebx
cmp dword [ebp - 0x58], ebx
je 0x10048c1f
mov eax, edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jge 0x10048c3b
cmp dword [ebp - 0x30], ebx
jne 0x10048c42
mov eax, ebx
cmp dword [ebp - 0x1c], ebx
je 0x10048c44
mov eax, edi
mov dword [ebp - 0x2c], eax
dec dword [ebp - 0x24]
jns 0x10048bc0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffe7
jge 0x10048b8e
mov dword [ebp - 0x28], 0x5252cb13
lea ecx, [ebp - 0x120]
push esi
call fcn.10015984
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x44], 0xac453072
mov dword [ebp - 0x18], ebx
jmp 0x10048c9c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x120]
mov dword [eax + ecx*4], 0xf54c3c69
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x10048c89
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10048cbb
push 0xe9a
push 0x2179
push ebx
call dword [sym.imp.USER32.dll_OffsetRect]
mov dword [ebp - 0x34], 0x1e93
cmp dword [ebp - 0x34], 0x2064
jle 0x10048cf7
mov edi, ebx
mov esi, ebx
mov ebx, 0x1429
mov eax, esi
mov ecx, 0x1060a8b8
cdq
push edx
push eax
call fcn.1000de0e
add esi, edi
dec ebx
jne 0x10048cd4
inc edi
cmp edi, 0x50b9
jl 0x10048ccd
xor edi, edi
push 3
inc edi
pop esi
mov dword [ebp - 0x28], ebx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x34], 0x1e38
mov dword [eax + 4], edx
jge 0x10048d46
mov edx, 0x1000c468
mov ecx, 0x1060a8b8
call fcn.1000f7c5
jmp 0x10048d46
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.10015a06
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x18], ebx
jmp 0x10048d6f
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x78], 0xb319
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x10048d61
mov dword [ebp - 0x24], 2
cmp dword [ebp - 0x24], ebx
jl 0x10048e24
mov dword [ebp - 0x18], 5
xor edx, edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], 0xa42bbd4a
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x78]
mov eax, dword [ebp - 0x78]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x78]
sub eax, 0x3a3fc4b0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x78]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + eax*4 - 0x78]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
mov eax, dword [ebp - 0x24]
mov ecx, 0xc4365dea
sete dl
dec eax
cmp ecx, eax
sbb eax, eax
inc eax
sub edx, eax
neg edx
sbb edx, edx
add edx, 0xe3c03fde
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0xfffffff4
jmp 0x10048e15
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x78], ebx
jne 0x10048e1b
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10048e12
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xe
jl 0x10048df9
dec dword [ebp - 0x24]
jns 0x10048d84
mov dword [ebp - 0x18], 0x40194ddb
mov dword [ebp - 0x28], 0xfffb
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x2c], 9
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10048e61
push ebx
push 0x2487
push 0x23b0
push 0x690
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov eax, dword [ebp - 0x18]
xor edx, edx
imul ecx, dword [ebp - 0x18], 0xffff
mov eax, dword [ebp - 0x18]
cmp eax, ecx
setne dl
xor ecx, ecx
imul edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmp eax, edx
setge cl
xor eax, eax
cmp ecx, 0xade0
setg al
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0xffffffff
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 0xbac0
mov eax, dword [ebp - 0x18]
setne cl
cmp ecx, edi
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x44], ecx
setl dl
sub edx, 0x7296
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x24a8c6a5
mov dword [ebp - 0x18], ebx
jmp 0x10048f37
mov dword [ebp - 0x1c], 0xb03629aa
mov dword [ebp - 0x24], ebx
jmp 0x10048ef2
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x16c], 0xdfe4b283
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jl 0x10048ee1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
jle 0x10048f2f
jmp 0x10048f1b
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x16c], 0xee327439
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x10048f0a
jmp 0x10048f34
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x16c], edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x10048f22
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xf
jg 0x10048ed5
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10048f4d
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [ebp - 0xb4], 0
je 0x100491d9
mov dword [ebp - 0x30], 0xfffffffb
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x30], 0xe
jne 0x100491c2
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0x2f1c
cmp dword [ebp - 0x2c], 0x317b
jle 0x1004901e
mov eax, ebx
mov dword [ebp - 0x20], ebx
mov esi, ebx
mov dword [ebp - 0x3c], ebx
mov ecx, esi
mov dword [ebp - 0x34], ebx
mov edx, eax
mov esi, ebx
sar edx, cl
mov dword [ebp - 0x24], edx
mov eax, ebx
mov dword [ebp - 0x18], 0xca6
mov dword [ebp - 0x34], eax
and eax, edx
lea ecx, [ebp - 0x208]
cdq
push edx
push eax
call fcn.1000d990
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10048fd0
mov eax, dword [eax]
push eax
call fcn.1004c266
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x208]
call fcn.1000e1eb
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
add eax, esi
dec dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
jne 0x10048fb6
inc esi
cmp esi, 0x336c
jl 0x10048faa
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
inc esi
mov dword [ebp - 0x3c], esi
cmp esi, 0x6d8f
jl 0x10048f9c
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x47eb
jl 0x10048f97
mov dword [ebp - 0x20], 0xfffffff9
cmp dword [ebp - 0x2c], 0x2c06
jge 0x10049039
push 0x1000c4b8
call fcn.1004c266
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0xb0debf62
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x1c], ebx
je 0x1004913f
mov dword [ebp - 0x34], 0x105807c1
mov dword [ebp - 0x1c], 0xfffffffa
jmp 0x10049133
mov dword [ebp - 0x24], 0x763523e2
cmp dword [ebp - 0x34], 0xc769867f
mov eax, dword [ebp - 0x28]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp eax, ecx
setle dl
xor ecx, ecx
imul edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
cmp eax, edx
mov eax, dword [ebp - 0x34]
setge cl
xor edx, edx
cmp eax, ecx
setl dl
sub edx, 0xfffffffd
neg edx
sbb edx, edx
inc edx
imul edx, dword [ebp - 0x24]
test edx, edx
je 0x1004911b
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x2c], 0xe3b61ea5
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
jne 0x100490d0
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
setl dl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
neg ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
sbb ecx, ecx
neg ecx
xor edx, edx
cmp ecx, 0x9a62
setg dl
xor ecx, ecx
cmp eax, edx
setg cl
mov dword [ebp - 0x2c], ecx
jmp 0x10049130
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10049130
push ebx
push 0x1039
call dword [sym.imp.USER32.dll_ValidateRect]
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xfffffff0
je 0x10049066
jmp 0x100491ba
push edi
lea ecx, [ebp - 0x114]
call fcn.10015984
mov dword [ebp - 0x20], ebx
jmp 0x10049163
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x114]
mov dword [eax + ecx*4], 0x1b4a
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x10049150
mov dword [ebp - 0x18], ebx
jmp 0x100491aa
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1004918c
push 0x25e4
push ebx
push 0xf60
push 0x1d87
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x20], ebx
jl 0x100491a7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x114]
cmp dword [eax + ecx*4], ebx
jne 0x100491a7
dec dword [ebp - 0x20]
jns 0x10049194
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jle 0x1004916d
lea ecx, [ebp - 0x114]
call fcn.10015a06
inc dword [ebp - 0x30]
jmp 0x10048f71
mov ecx, dword [ebp - 0x44]
call fcn.10047dc5
mov esi, eax
lea eax, [ebp - 0x50]
push eax
call fcn.1004944b
mov dword [eax], esi
jmp 0x100491dc
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0xb8]
call fcn.100431cb
mov dword [ebp - 0x20], 0x27cb3f4f
mov dword [ebp - 0x20], ebx
jmp 0x10049219
cmp byte [ebp - 0x11], 0
je 0x10049216
push ebx
push 0x1444
push ebx
push 0x2555
push 0x6d3
push ebx
push 0xfbb
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x18
mov byte [ebp - 0x11], bl
jne 0x100491f3
cmp byte [ebp - 0x11], 0
je 0x1004923d
push 0x1f56
push 0xe23
push 0x102e
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [ebp - 0x38], 0
jne 0x1004928f
test esi, esi
je 0x1004928f
mov dword [ebp - 0x44], 0xffffffff
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10049263
push ebx
push 0x139d
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10049272
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edx, dword [ebp - 0x48]
mov ecx, esi
call fcn.10047df1
mov esi, eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0xdc], esi
call fcn.100493e9
mov dword [eax], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], 0xfffffffe
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
neg eax
cmp edi, eax
mov eax, dword [ebp - 0x1c]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setg dl
sub eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
inc eax
add edx, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
imul edx, eax
imul edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x1c], ebx
je 0x10049307
mov dword [ebp - 0x20], ebx
jmp 0x100492e6
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x160], ebx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 4
jl 0x100492d9
mov ecx, dword [ebp - 0x154]
xor edx, edx
mov eax, dword [ebp - 0x154]
cmp ecx, eax
setg dl
mov dword [ebp - 0x15c], edx
jmp 0x10049355
mov dword [ebp - 0x1c], 0xffffffe6
jmp 0x1004932d
mov dword [ebp - 0x48], 0xe9ab5c29
mov dword [ebp - 0x20], ebx
jmp 0x10049324
cmp dword [ebp - 0x48], ebx
jne 0x1004932a
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xfffffffc
je 0x1004931c
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x27
jne 0x10049310
mov dword [ebp - 0x1c], ebx
jmp 0x1004934f
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1004934c
push 0x643
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x26
jne 0x10049338
mov eax, dword [ebp + 8]
lea esi, [ebp - 0xdc]
mov ecx, dword [ebp - 0xc]
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