Function at 0x100eb960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x101b2820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x74], ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x100eb97e
jmp 0x100ec0af
mov byte [ebp - 0x31], 0
movzx eax, byte [0x1054d56d]
cmp eax, 1
jne 0x100eb9b8
cmp dword [0xe8c240], 4
jae 0x100eb9a3
cmp dword [ebp + 8], 3
jge 0x100eb9a3
mov byte [ebp - 0x31], 1
jmp 0x100eb9b6
cmp dword [0xe8c240], 3
jbe 0x100eb9b6
cmp dword [ebp + 8], 2
jle 0x100eb9b6
mov byte [ebp - 0x31], 1
jmp 0x100eb9bc
mov byte [ebp - 0x31], 1
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
je 0x100ec032
mov edx, dword [ebp + 8]
add edx, 1
mov dword [0xe8c240], edx
mov eax, dword [0xe8c240]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
sub ecx, 1
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 8
ja case.default.0x100eb9f2
mov edx, dword [ebp - 0x40]
jmp dword [edx*4 + 0x100ec0c0]
mov dword [0xe61e58], 0x320
mov dword [0xe61e5c], 0x258
jmp case.default.0x100eb9f2
mov dword [0xe61e58], 0x400
mov dword [0xe61e5c], 0x300
jmp case.default.0x100eb9f2
mov dword [0xe61e58], 0x500
mov dword [0xe61e5c], 0x400
jmp case.default.0x100eb9f2
mov dword [0xe61e58], 0x556
mov dword [0xe61e5c], 0x300
jmp case.default.0x100eb9f2
mov dword [0xe61e58], 0x5a0
mov dword [0xe61e5c], 0x384
jmp case.default.0x100eb9f2
mov dword [0xe61e58], 0x640
mov dword [0xe61e5c], 0x384
jmp case.default.0x100eb9f2
mov dword [0xe61e58], 0x6e0
mov dword [0xe61e5c], 0x3de
jmp case.default.0x100eb9f2
mov dword [0xe61e58], 0x780
mov dword [0xe61e5c], 0x438
jmp case.default.0x100eb9f2
mov dword [0xe61e58], 0x42a
mov dword [0xe61e5c], 0x258
push 2
mov ecx, 0x101b9e10
call fcn.1012d330
cmp dword [0xe8c240], 1
jne 0x100ebb37
push 0x17
push 0x830d66
call fcn.1014f430
add esp, 8
push 0x17
push 0x830e57
call fcn.1014f430
add esp, 8
push 0x17
push 0x830ea9
call fcn.1014f660
add esp, 8
push 0x17
push 0x830ed5
call fcn.1014f430
add esp, 8
push 0x17
push 0x83245d
call fcn.1014f430
add esp, 8
push 0x17
push 0x832f24
call fcn.1014f430
add esp, 8
jmp 0x100ebb91
push 0x1c
push 0x830d66
call fcn.1014f430
add esp, 8
push 0x1c
push 0x830e57
call fcn.1014f430
add esp, 8
push 0x1c
push 0x830ea9
call fcn.1014f660
add esp, 8
push 0x1c
push 0x830ed5
call fcn.1014f430
add esp, 8
push 0x1c
push 0x83245d
call fcn.1014f430
add esp, 8
push 0x1c
push 0x832f24
call fcn.1014f430
add esp, 8
cvtsi2sd xmm0, dword [0xe61e58]
mov eax, dword [0x101b3ba8]
mov dword [ebp - 0x64], eax
cvtsi2sd xmm1, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
shr ecx, 0x1f
addsd xmm1, qword [ecx*8 + 0x101a00d0]
divsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [0xe7c3d4], xmm0
cvtsi2sd xmm0, dword [0xe61e5c]
divsd xmm0, qword [0x1019f9f8]
cvtsd2ss xmm0, xmm0
movss dword [0xe7c3d8], xmm0
push 0x116
mov edx, dword [0xe61e5c]
add edx, 0x1e
push edx
mov eax, dword [0xe61e58]
push eax
push 0
push 0
push 0
mov ecx, dword [0xe8c578]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 0x407b20
call edx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [0xe61e58]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [0xe61e5c]
mov dword [edx + 0x2c], eax
movzx ecx, byte [0x1054d561]
cmp ecx, 1
jne 0x100ebc45
mov ecx, 0x101e135d
call fcn.100b4ef0
jmp 0x100ebd91
mov edx, 0x630bc0
call edx
mov dword [ebp - 0x3c], 0xc
mov eax, dword [0xe8c240]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 8
ja case.default.0x100ebc64
mov ecx, dword [ebp - 0x4c]
jmp dword [ecx*4 + 0x100ec0e4]
mov dword [ebp - 0x3c], 0xc
jmp 0x100ebca8
mov dword [ebp - 0x3c], 0xd
jmp 0x100ebca8
mov dword [ebp - 0x3c], 0xf
jmp 0x100ebca8
mov dword [ebp - 0x3c], 0x10
jmp 0x100ebca8
mov dword [ebp - 0x3c], 0x11
jmp 0x100ebca8
mov dword [ebp - 0x3c], 0xc
jmp 0x100ebca8
mov dword [ebp - 0x3c], 0x10
mov edx, dword [ebp - 0x3c]
sub edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [0x81c0380], eax
push 0
mov edx, 0x402320
mov ecx, 0x8128adc
call edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x48]
push eax
push 0
push 3
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [0xe8c588], eax
mov eax, dword [ebp - 0x48]
push eax
push 0
push 3
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [0xe8c58c], eax
mov eax, dword [ebp - 0x48]
push eax
push 0
push 3
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
mov edx, dword [ebp - 0x3c]
shl edx, 1
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [0xe8c590], eax
mov eax, dword [ebp - 0x48]
push eax
push 0
push 3
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [0xe8c594], eax
push 0x21
mov ecx, 0x101b9e10
call fcn.1012d330
mov edx, 0x861110
call edx
mov dword [ebp - 0x38], eax
push 0x17e
push 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
push eax
mov edx, 0x785870
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xc]
call edx
push 0
mov ecx, dword [0x101b3ba8]
sub ecx, 0xbe
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
push eax
mov edx, 0x7c7440
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xe0]
call edx
push 0
mov ecx, dword [0x101b3ba8]
sub ecx, 0xbe
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
push eax
mov edx, 0x7d0650
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x4c]
call edx
push 0xe9
push 0x84068d
call fcn.1014f430
add esp, 8
push 0x49
push 0x84068e
call fcn.1014f430
add esp, 8
push 1
push 0x84068f
call fcn.1014f430
add esp, 8
push 0
push 0x840690
call fcn.1014f430
add esp, 8
push 0
push 0x840691
call fcn.1014f430
add esp, 8
push 0x90
push 0x840692
call fcn.1014f430
add esp, 8
push 0x90
push 0x840693
call fcn.1014f430
add esp, 8
push 0
mov ecx, dword [0x101b3ba8]
sub ecx, 0x17c
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
push eax
mov edx, 0x840610
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x54]
call edx
movzx ecx, byte [0x1054d5d4]
test ecx, ecx
jne 0x100ebf5e
mov edx, 0x7f0d40
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x138]
call edx
push 5
push 0x90
push 0x7f14e3
call fcn.1014f580
add esp, 0xc
push 5
push 0x90
push 0x7f14f5
call fcn.1014f580
add esp, 0xc
push 0
mov ecx, dword [0x101b3ba8]
sub ecx, 0xbe
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
push eax
mov edx, 0x7f0c80
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x138]
call edx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x13c]
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x174
mov eax, 0x420f60
call eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x2ac
mov edx, 0x420f60
call edx
push 0
mov eax, dword [0x101b3ba8]
sub eax, 0x17c
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
push edx
mov eax, 0x80c0e0
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x13c]
call eax
push 0xe0
mov edx, 0x9d00c5
call edx
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x100ebf85
mov eax, 0x420f60
mov ecx, dword [ebp - 0x6c]
call eax
mov dword [ebp - 0x60], eax
jmp 0x100ebf8c
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x60]
mov dword [0xe8c544], ecx
push 0xe0
mov edx, 0x9d00c5
call edx
add esp, 4
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x100ebfbc
mov eax, 0x420f60
mov ecx, dword [ebp - 0x50]
call eax
mov dword [ebp - 0x54], eax
jmp 0x100ebfc3
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
mov dword [0xe8c548], ecx
push 0
push 0x32
push 0x14
push 0xc8
mov edx, dword [0xe8c578]
push edx
mov eax, 0x421b90
mov ecx, dword [0xe8c544]
call eax
push 1
push 9
push 0x14
push 0xc8
mov ecx, dword [0xe8c578]
push ecx
mov edx, 0x421b90
mov ecx, dword [0xe8c548]
call edx
mov eax, dword [0xe8c588]
push eax
mov edx, 0x423060
mov ecx, dword [0xe8c544]
call edx
mov eax, dword [0xe8c588]
push eax
mov edx, 0x423060
mov ecx, dword [0xe8c548]
call edx
jmp 0x100ec050
movzx eax, byte [0x1054d569]
cmp eax, 1
jne 0x100ec050
mov byte [ebp - 0x2c], 0x64
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x101e1478
call fcn.100b33a0
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x5c]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100ec09d
push 4
lea ecx, [ebp - 0x70]
push ecx
push 4
push 0
push str.Resolution
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100ec0af
push str.Failed_to_open_Key
push 0x101b8b0b
call fcn.10134ca0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061790
mov esp, ebp
pop ebp
ret 4