Function at 0x1000b8a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10019018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, ecx
fld dword [edi + 0x20]
call fcn.10014a40
fld dword [edi + 0x14]
mov ebx, eax
call fcn.10014a40
lea esi, [eax + 0x14]
mov dword [esp + 0xc], 0
push 1
push 0x13
push 0x43
push esi
push ebx
mov eax, 0x454a00
call eax
add esp, 0x14
test eax, eax
je 0x1000b8f5
cmp byte [0x7d17004], 0
jne 0x1000b91a
mov eax, dword [esp + 0xc]
inc eax
add esi, 0x14
mov dword [esp + 0xc], eax
cmp eax, 9
jl 0x1000b8d6
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1001407d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov esi, 1
cmp dword [edi + ecx*4 + 0x44], esi
je 0x1000bafe
xor ebx, ebx
push ebx
mov byte [0x7d17004], 0
push ebx
mov dword [0x77d86d8], ebx
push 0x19
mov edx, 0x41d1a0
mov dword [0x6b7d60], 6
call edx
mov eax, dword [0x5750320]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0xf003f
push ebx
mov dword [edi + eax*4 + 0x44], ebx
mov ecx, dword [esp + 0x18]
push str.SOFTWAREWebzenMuConfig
push getpeername
mov dword [edi + ecx*4 + 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000bafe
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push ebx
push str.Resolution
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1000bae1
mov edx, 0x4b3780
call edx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x6c4158]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x6c415c]
push ebx
mov dword [esp + 0x24], ecx
call edi
cdq
sub eax, edx
mov edx, dword [0x6c4158]
mov esi, eax
shr edx, 1
sar esi, 1
push 1
sub esi, edx
call edi
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x6c415c]
shr eax, 1
sar edi, 1
sub edi, eax
call fcn.100134b0
mov ecx, dword [0x575052c]
test eax, eax
jne 0x1000ba38
push 0x80000000
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x575052c]
push 0x40000
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push 0x80000000
lea eax, [esp + 0x1c]
push eax
jmp 0x1000ba51
push 0x2ca0000
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push 0x2ca0000
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
mov edx, dword [0x575052c]
push 0x74
push eax
push ecx
push edi
push esi
push ebx
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
mov edx, dword [0x575052c]
push 1
push eax
push ecx
push edi
push esi
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
call fcn.100134b0
test eax, eax
jne 0x1000baac
call fcn.1000bc60
call fcn.100017e0
call fcn.10003fc0
push 1
mov eax, 0x547a20
call eax
mov eax, dword [esp + 0x14]
add esp, 4
push eax
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.1001407d
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x5750320]
mov dword [edi + ecx*4 + 0x44], esi
mov edx, dword [esp + 0xc]
mov dword [edi + edx*4 + 0x44], ebx
mov eax, dword [esp + 0x10]
push eax
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.1001407d
mov esp, ebp
pop ebp
ret