Function at 0x1000d910
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x1001a018]
xor eax, esp
mov dword [esp + 0x18], eax
fld dword [0x10135478]
push ebx
push esi
push edi
call fcn.10015bd0
fld dword [0x1013546c]
mov edi, eax
call fcn.10015bd0
xor ebx, ebx
lea esi, [eax + 0x14]
mov dword [esp + 0xc], ebx
push 0x13
push 0x43
push esi
push edi
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1000d96c
push 1
mov ecx, 0x791070
call ecx
add esp, 4
test al, al
jne 0x1000d991
mov eax, dword [esp + 0xc]
inc eax
add esi, 0x14
mov dword [esp + 0xc], eax
cmp eax, 9
jl 0x1000d948
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1001520d
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
mov esi, 1
cmp dword [edx*4 + 0x1013549c], esi
je 0x1000db9d
mov eax, 0x83c080
call eax
push ebx
push ebx
push 0x19
mov ecx, 0x6d6c20
call ecx
mov edx, dword [0xe8c240]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebx
mov dword [edx*4 + 0x1013549c], ebx
mov eax, dword [esp + 0x18]
push str.SOFTWAREWebzenMuConfig
push getpeername
mov dword [eax*4 + 0x1013549c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000db9d
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push ebx
push str.Resolution
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1000db7b
mov ecx, 0x4d0fc0
call ecx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov edx, dword [0xe61e58]
mov dword [esp + 0x1c], edx
mov eax, dword [0xe61e5c]
push ebx
mov dword [esp + 0x24], eax
call edi
mov ecx, dword [0xe61e58]
cdq
sub eax, edx
mov esi, eax
shr ecx, 1
sar esi, 1
push 1
sub esi, ecx
call edi
cdq
sub eax, edx
mov edx, dword [0xe61e5c]
mov edi, eax
mov eax, dword [0xe8c578]
sar edi, 1
shr edx, 1
sub edi, edx
cmp dword [0xe60974], ebx
jne 0x1000daad
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x80000000
push 0xfffffffffffffff0
push eax
call ebx
mov ecx, dword [0xe8c578]
push 0x40000
push 0xffffffffffffffec
push ecx
call ebx
push 0
push 0x80000000
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
xor ebx, ebx
jmp 0x1000dacc
push 0x2ca0000
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push 0x2ca0000
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ecx, dword [0xe8c578]
push 0x74
push edx
push eax
push edi
push esi
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ecx, dword [0xe8c578]
push 1
push edx
push eax
push edi
push esi
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [0xe60974], ebx
jne 0x1000db20
call fcn.1000dce0
call fcn.100015d0
call fcn.10006230
mov edx, 0x482b70
call edx
mov ecx, dword [0xe61e58]
mov dword [eax + 0x28], ecx
mov edx, dword [0xe61e5c]
mov dword [eax + 0x2c], edx
mov eax, 0x407b20
call eax
mov ecx, dword [0xe61e58]
mov dword [eax + 0x28], ecx
mov edx, dword [0xe61e5c]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1001520d
mov esp, ebp
pop ebp
ret
mov eax, dword [0xe8c240]
mov dword [eax*4 + 0x1013549c], esi
mov ecx, dword [esp + 0xc]
mov dword [ecx*4 + 0x1013549c], ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.1001520d
mov esp, ebp
pop ebp
ret