Function at 0x10004df0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.MSVCR100.dll_strcpy_s]
test eax, eax
jne 0x10004e68
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push 0x100eeb38
lea edx, [ebp - 0xc]
push edx
push 0
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10004e5e
push 0x100113b0
push 4
push 0x100eeb38
call edi
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.MSVCR100.dll__stricmp]
push 0x100113b0
push 0x100eeb38
call esi
add esp, 8
test eax, eax
je 0x10004eb8
push 0x100113b4
push 0x100eeb38
call esi
add esp, 8
test eax, eax
je 0x10004eb8
push 0x100113b8
push 0x100eeb38
call esi
add esp, 8
test eax, eax
je 0x10004eb8
push 0x100113b0
push 4
push 0x100eeb38
call edi
add esp, 0xc
push 0x100113b4
push 0x100eeb38
call esi
add esp, 8
test eax, eax
jne 0x10004ed7
mov dword [0x1003e954], 1
jmp 0x10004ef5
push 0x100113b8
push 0x100eeb38
call esi
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [0x1003e954], eax
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x100eeb38
push 0x100eeb38
push str.DataLocal_sDialog__s.bmd
push 0x100ee110
call esi
push 0x100eeb38
push 0x100eeb38
push str.DataLocal_sItem__s.bmd
push 0x100ee214
call esi
push 0x100eeb38
push 0x100eeb38
push str.DataLocal_sItemSetOption__s.bmd
push 0x100ee318
call esi
push 0x100eeb38
push 0x100eeb38
push str.DataLocal_sMovereq__s.bmd
push 0x100ee41c
call esi
add esp, 0x40
push 0x100eeb38
push 0x100eeb38
push str.DataLocal_sNpcName__s.txt
push 0x100ee520
call esi
push 0x100eeb38
push 0x100eeb38
push str.DataLocal_sQuest__s.bmd
push 0x100ee624
call esi
push 0x100eeb38
push 0x100eeb38
push str.DataLocal_sSkill__s.bmd
push 0x100ee728
call esi
push 0x100eeb38
push 0x100eeb38
push str.DataLocal_sSlide__s.bmd
push 0x100ee82c
call esi
add esp, 0x40
push 0x100eeb38
push 0x100eeb38
push str.DataLocal_sText__s.bmd
mov edi, 0x100ee930
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x10
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b06d1
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b06d1], 0x100ee110
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b06d1
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b05b7
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b05b7], 0x100ee214
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b05b7
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b069f
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b069f], 0x100ee214
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b069f
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x407b28
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x407b28], 0x100ee318
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x407b28
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b06f1
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b06f1], 0x100ee41c
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b06f1
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b07aa
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b07aa], 0x100ee41c
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b07aa
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b0824
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b0824], 0x100ee520
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b0824
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b06e4
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b06e4], 0x100ee624
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b06e4
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b05e7
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b05e7], 0x100ee728
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b05e7
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b06a9
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b06a9], 0x100ee728
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b06a9
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b0844
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b0844], 0x100ee82c
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b0844
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b0979
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b0979], edi
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b0979
call esi
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push 0x5b0997
call esi
lea eax, [ebp - 8]
push eax
mov dword [0x5b0997], edi
mov ecx, dword [ebp - 8]
push ecx
push 4
push 0x5b0997
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret