Function at 0x100d3d7d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10194820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x74], ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x100d3a7e
jmp 0x100d41af
mov byte [ebp - 0x31], 0
movzx eax, byte [0x10530082]
cmp eax, 1
jne 0x100d3ab8
cmp dword [0xe8c240], 4
jae 0x100d3aa3
cmp dword [ebp + 8], 3
jge 0x100d3aa3
mov byte [ebp - 0x31], 1
jmp 0x100d3ab6
cmp dword [0xe8c240], 3
jbe 0x100d3ab6
cmp dword [ebp + 8], 2
jle 0x100d3ab6
mov byte [ebp - 0x31], 1
jmp 0x100d3abc
mov byte [ebp - 0x31], 1
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
je 0x100d4132
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.0x100d3af2
mov edx, dword [ebp - 0x40]
jmp dword [edx*4 + 0x100d41c0]
mov dword [0xe61e58], 0x320
mov dword [0xe61e5c], 0x258
jmp case.default.0x100d3af2
mov dword [0xe61e58], 0x400
mov dword [0xe61e5c], 0x300
jmp case.default.0x100d3af2
mov dword [0xe61e58], 0x500
mov dword [0xe61e5c], 0x400
jmp case.default.0x100d3af2
mov dword [0xe61e58], 0x556
mov dword [0xe61e5c], 0x300
jmp case.default.0x100d3af2
mov dword [0xe61e58], 0x5a0
mov dword [0xe61e5c], 0x384
jmp case.default.0x100d3af2
mov dword [0xe61e58], 0x640
mov dword [0xe61e5c], 0x384
jmp case.default.0x100d3af2
mov dword [0xe61e58], 0x6e0
mov dword [0xe61e5c], 0x3de
jmp case.default.0x100d3af2
mov dword [0xe61e58], 0x780
mov dword [0xe61e5c], 0x438
jmp case.default.0x100d3af2
mov dword [0xe61e58], 0x42a
mov dword [0xe61e5c], 0x258
push 2
mov ecx, 0x1019bdc8
call fcn.101141c0
cmp dword [0xe8c240], 1
jne 0x100d3c37
push 0x17
push 0x830d66
call fcn.10135620
add esp, 8
push 0x17
push 0x830e57
call fcn.10135620
add esp, 8
push 0x17
push 0x830ea9
call fcn.10135850
add esp, 8
push 0x17
push 0x830ed5
call fcn.10135620
add esp, 8
push 0x17
push 0x83245d
call fcn.10135620
add esp, 8
push 0x17
push 0x832f24
call fcn.10135620
add esp, 8
jmp 0x100d3c91
push 0x1c
push 0x830d66
call fcn.10135620
add esp, 8
push 0x1c
push 0x830e57
call fcn.10135620
add esp, 8
push 0x1c
push 0x830ea9
call fcn.10135850
add esp, 8
push 0x1c
push 0x830ed5
call fcn.10135620
add esp, 8
push 0x1c
push 0x83245d
call fcn.10135620
add esp, 8
push 0x1c
push 0x832f24
call fcn.10135620
add esp, 8
cvtsi2sd xmm0, dword [0xe61e58]
mov eax, dword [0x10195b98]
mov dword [ebp - 0x64], eax
cvtsi2sd xmm1, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
shr ecx, 0x1f
addsd xmm1, qword [ecx*8 + 0x10183860]
divsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [0xe7c3d4], xmm0
cvtsi2sd xmm0, dword [0xe61e5c]
divsd xmm0, qword [0x10183190]
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 [0x10530079]
cmp ecx, 1
jne 0x100d3d45
mov ecx, 0x104c44c8
call fcn.1009d720
jmp 0x100d3e91
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.0x100d3d64
mov ecx, dword [ebp - 0x4c]
jmp dword [ecx*4 + 0x100d41e4]
mov dword [ebp - 0x3c], 0xc
jmp 0x100d3da8
mov dword [ebp - 0x3c], 0xd
jmp 0x100d3da8
mov dword [ebp - 0x3c], 0xf
jmp 0x100d3da8
mov dword [ebp - 0x3c], 0x10
jmp 0x100d3da8
mov dword [ebp - 0x3c], 0x11
jmp 0x100d3da8
mov dword [ebp - 0x3c], 0xc
jmp 0x100d3da8
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, 0x1019bdc8
call fcn.101141c0
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 [0x10195b98]
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 [0x10195b98]
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.10135620
add esp, 8
push 0x49
push 0x84068e
call fcn.10135620
add esp, 8
push 1
push 0x84068f
call fcn.10135620
add esp, 8
push 0
push 0x840690
call fcn.10135620
add esp, 8
push 0
push 0x840691
call fcn.10135620
add esp, 8
push 0x90
push 0x840692
call fcn.10135620
add esp, 8
push 0x90
push 0x840693
call fcn.10135620
add esp, 8
push 0
mov ecx, dword [0x10195b98]
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 [0x105300ec]
test ecx, ecx
jne 0x100d405e
mov edx, 0x7f0d40
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x138]
call edx
push 5
push 0x90
push 0x7f14e3
call fcn.10135770
add esp, 0xc
push 5
push 0x90
push 0x7f14f5
call fcn.10135770
add esp, 0xc
push 0
mov ecx, dword [0x10195b98]
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 [0x10195b98]
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 0x100d4085
mov eax, 0x420f60
mov ecx, dword [ebp - 0x6c]
call eax
mov dword [ebp - 0x60], eax
jmp 0x100d408c
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 0x100d40bc
mov eax, 0x420f60
mov ecx, dword [ebp - 0x50]
call eax
mov dword [ebp - 0x54], eax
jmp 0x100d40c3
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 0x100d4150
movzx eax, byte [0x10530081]
cmp eax, 1
jne 0x100d4150
mov byte [ebp - 0x2c], 0x64
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x101c433c
call fcn.1009bc30
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 0x100d419d
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 0x100d41af
push str.Failed_to_open_Key
push 0x1019aac6
call fcn.1011af60
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10055090
mov esp, ebp
pop ebp
ret 4