Function at 0x10008f80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10013018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, ecx
fld dword [edi + 0x20]
call fcn.100104b0
fld dword [edi + 0x14]
mov ebx, eax
call fcn.100104b0
lea esi, [eax + 0x14]
mov dword [esp + 0xc], 0
push 1
push 0x13
push 0x43
push esi
push ebx
mov eax, 0x4354c0
call eax
add esp, 0x14
test eax, eax
je 0x10008fd5
cmp byte [0x81b9408], 0
jne 0x10008ffa
mov eax, dword [esp + 0xc]
inc eax
add esi, 0x14
mov dword [esp + 0xc], eax
cmp eax, 9
jl 0x10008fb6
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1000faed
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov esi, 1
cmp dword [edi + ecx*4 + 0x44], esi
je 0x100091cf
xor ebx, ebx
push ebx
mov byte [0x81b9408], 0
push ebx
mov dword [0x7ca4160], ebx
push 0x19
mov edx, 0x414480
mov dword [0x6073cc], 6
call edx
mov eax, dword [0x5687f70]
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 0x100091cf
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 0x100091b3
mov edx, 0x481d10
call edx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x6105f8]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x6105fc]
push ebx
mov dword [esp + 0x24], ecx
call edi
cdq
sub eax, edx
mov edx, dword [0x6105f8]
mov esi, eax
shr edx, 1
sar esi, 1
push 1
sub esi, edx
call edi
mov ecx, dword [0x5688160]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x6105fc]
sar edi, 1
shr eax, 1
sub edi, eax
cmp dword [0x606378], ebx
jne 0x10009117
push 0x80000000
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x5688160]
push 0x40000
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push 0x80000000
lea eax, [esp + 0x1c]
push eax
jmp 0x10009130
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 [0x5688160]
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 [0x5688160]
push 1
push eax
push ecx
push edi
push esi
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [0x606378], ebx
jne 0x1000918a
call fcn.10009330
call fcn.10001660
call fcn.100032b0
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.1000faed
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5687f70]
mov dword [edi + eax*4 + 0x44], esi
mov ecx, dword [esp + 0xc]
mov dword [edi + ecx*4 + 0x44], 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.1000faed
mov esp, ebp
pop ebp
ret