joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4130f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x523fe6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2948
call fcn.00508ea0
mov eax, dword [0x553150]
xor eax, esp
mov dword [esp + 0x2944], eax
push esi
push edi
mov eax, dword [0x553150]
xor eax, esp
push eax
lea eax, [esp + 0x2958]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call fcn.00414ec0
mov dword [esp + 0x2960], 0
mov ecx, dword [0x558c38]
lea edx, [esp + 0xc]
push str.select__from_SK_SilkChange_BY_Web
lea edi, [esp + 0x20]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2840], 0
mov dword [esp + 0x2838], 0
call fcn.004868e0
add esp, 4
test eax, eax
jge 0x4131b0
or eax, 0xffffffff
mov dword [esp + 0x2960], eax
mov dword [esp + 0xc], vtable.ServerFramework::CClassTrigger_class_COverlapJob_RefreshCommercialUser_Cash_.0
mov dword [esp + 0x2960], eax
mov dword [esp + 0xc], vtable.ServerFramework::CTrigger.0
xor al, al
jmp 0x413249
cmp dword [esi + 0x28], 0
je 0x413233
lea eax, [esp + 0x2844]
mov dword [esp + 0x20], eax
mov eax, 0x104
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x2834], 1
mov eax, dword [eax]
cmp eax, dword [esi + 0x24]
jne 0x4131e8
jmp 0x417880
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 4]
cmp ecx, dword [esi + 0x24]
mov eax, dword [eax + 8]
jne 0x4131fb
jmp 0x417880
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + 4]
push ecx
push edx
push str.delete_SK_SilkChange_BY_Web_where_ID_between__d_and__d
lea edi, [esp + 0x28]
call fcn.004868e0
add esp, 0xc
test eax, eax
jge 0x413233
mov dword [esp + 0x2960], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00414f20
xor al, al
jmp 0x413249
mov dword [esp + 0x2960], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00414f20
mov al, 1
mov ecx, dword [esp + 0x2958]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2944]
xor ecx, esp
call fcn.004e6578
mov esp, ebp
pop ebp
ret
Function at 0x4515e0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10
mov eax, dword [0x553150]
xor eax, esp
mov dword [esp + 8], eax
push edi
lea edi, [esi + 0xc]
push str.AlphegaTimer.dll
mov eax, 0x529d40
mov ecx, 0x529d30
call fcn.00451240
add esp, 4
test eax, eax
jne 0x45163d
push 0x10
push str.Critical
push str.BillingMgr__Initializing_AlphegaTimer.dll_Failed__
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push str.BillingMgr__Initializing_AlphegaTimer.dll_Failed___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004e6578
add esp, 0x10
ret
mov eax, dword [esi + 0x10]
mov dword [esp + 4], eax
mov eax, dword [edi]
lea edx, [esp + 4]
mov byte [esp + 8], 1
mov byte [esp + 9], 3
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
mov eax, dword [edi]
mov ecx, dword [eax]
je 0x451675
mov edx, dword [ecx + 0x18]
push 0
push eax
call edx
test eax, eax
jne 0x451693
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], 0
xor eax, eax
pop edi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004e6578
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004e6578
add esp, 0x10
ret
Function at 0x4517e0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov bp, word [esp + 0x30]
push edi
lea edi, [esi + 8]
push str.AlphegaNet.dll
mov eax, 0x529d20
mov ecx, str.7J_X_C
call fcn.00451240
add esp, 4
test eax, eax
jne 0x451832
push 0x10
push str.Critical
push str.BillingMgr__Initializing_AlphegaNet.dll_Failed__
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push str.BillingMgr__Initializing_AlphegaNet.dll_Failed___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x24
ret 4
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
lea edx, [esp + 0xc]
xor ebx, ebx
mov byte [esp + 0x12], bl
mov byte [esp + 0x11], 1
mov byte [esp + 0x10], 2
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x451898
push 0x10
push str.Critical
push str.AlphegaNet:_Cannot_Initialize_AlphegaNet
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push str.AlphegaNet:_Cannot_Initialize_AlphegaNet
push 0x2000000
call fcn.00451ba0
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
mov dword [edi], ebx
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x24
ret 4
mov eax, 0x4000
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], ax
mov ax, bp
shr ax, 1
mov word [esp + 0x20], ax
mov word [esp + 0x22], ax
mov eax, dword [edi]
lea edx, [esp + 0x14]
mov word [esp + 0x14], 0x32
mov word [esp + 0x16], 0x1000
mov word [esp + 0x18], 0x8000
mov word [esp + 0x1a], bp
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, 0xffffffff
mov dword [esi + 0x20], eax
jne 0x451915
push 0x10
push str.Critical
push str.AlphegaNet:_Failed_to_create_net_unit_
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push str.AlphegaNet:_Failed_to_create_net_unit_
jmp 0x451874
mov edi, dword [edi]
mov eax, dword [edi]
mov ecx, dword [eax + 0x18]
push edi
call ecx
pop edi
pop ebp
pop ebx
add esp, 0x24
ret 4

Function at 0x454110
Capabilities:
Terminate thread

Disassembly:
push ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x454164
lea ecx, [esp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x454145
push str.GetExitCodeThread_m_hThread__dwExitCode_
push str.D:WORK2005SourceJMX_CommonServersGlobalManagerBillingThreadEx.cpp
push 0x18
call fcn.004bdf60
add esp, 0xc
test al, al
jne 0x454145
call dword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [esp], 0x103
jne 0x45415a
mov edx, dword [esi + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x454170
Capabilities:
Create thread

Disassembly:
sub esp, 8
cmp dword [esi + 4], 0
je 0x45417e
call fcn.004be360
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [esp + 4]
push eax
push 4
push ecx
push 0x4540e0
push edx
push 0
call fcn.004e73cb
add esp, 0x18
test eax, eax
mov dword [esi + 4], eax
je 0x4541bc
mov ecx, dword [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
add esp, 8
ret 0xc
xor eax, eax
add esp, 8
ret 0xc

Function at 0x4541d0
Capabilities:
Resume thread

Disassembly:
cmp dword [esi + 4], 0
push ebx
push ebp
je 0x45421b
mov eax, dword [esi + 8]
cmp eax, 1
lea ebp, [esi + 8]
jne 0x45421b
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x4541f9
pop ebp
xor eax, eax
pop ebx
ret
cmp eax, 1
jbe 0x454212
push edi
lea edi, [eax - 1]
test edi, edi
jbe 0x454211
mov edx, dword [esi + 4]
push edx
call ebx
sub edi, 1
jne 0x454206
pop edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x454230
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp dword [esi + 4], 0
push ebp
je 0x454278
mov eax, dword [esi + 8]
test eax, eax
lea ebp, [esi + 8]
jne 0x454278
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x454254
xor eax, eax
pop ebp
ret
test eax, eax
jbe 0x45426f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov edi, eax
mov edx, dword [esi + 4]
push edx
call ebx
sub edi, 1
jne 0x454262
pop edi
pop ebx
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, 1
pop ebp
ret
Function at 0x4616a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor esi, esi
call ebx
test eax, eax
jle 0x4616bf
xor byte [esi + edi], 0x90
push edi
add esi, 1
call ebx
cmp esi, eax
jl 0x4616b1
pop esi
pop ebx
ret

Function at 0x461b30
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
mov edi, eax
call fcn.00461be0
test eax, eax
jne 0x461b42
pop edi
pop esi
pop ebx
ret
mov eax, dword [edi + 4]
push 0
xor ebx, ebx
mov dword [edi + 8], eax
call fcn.00462010
lea ecx, [edi + 0xc]
push ecx
call fcn.004e7054
mov esi, eax
add esp, 4
cmp esi, 0xf0
jae 0x461b75
push ebx
push ebx
push str.Probably_You_have_Invalid_CountryCodeFile..
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
test esi, esi
jbe 0x461b96
lea esp, [esp]
push 0
xor ebx, ebx
call fcn.00462010
push edi
mov ecx, eax
call fcn.00462270
sub esi, 1
jne 0x461b80
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x461ee0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x1014
call fcn.00508ea0
mov eax, dword [0x553150]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [esp + 0x1018]
push ebx
push ebp
mov ebp, dword [esp + 0x1024]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x461f29
call fcn.004be360
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x461f37
xor eax, eax
jmp 0x461fd4
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp]
push eax
call fcn.004e6573
add esp, 4
cmp eax, ebx
mov dword [edi], eax
jne 0x461f56
call fcn.004be360
cmp dword [edi], ebx
je 0x461f30
push 0xfff
xor ebp, ebp
lea ecx, [esp + 0x15]
push ebp
push ecx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], bl
call fcn.004ebfe0
add esp, 0xc
mov ecx, dword [esi]
push 0
lea edx, [esp + 0x10]
push edx
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x461fbb
mov edx, dword [esp + 0xc]
mov ecx, dword [edi]
push edx
lea eax, [esp + 0x14]
push eax
add ecx, ebp
push ecx
call fcn.004ec060
mov eax, dword [esp + 0x18]
add esp, 0xc
add ebp, eax
adc ebx, 0
test eax, eax
ja 0x461f77
jmp 0x461fc0
call fcn.004be360
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, 1
mov ecx, dword [esp + 0x1014]
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6578
add esp, 0x1014
ret 8
Function at 0x48d420
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x40054]
mov esi, dword [eax]
lea ebx, [ebp + 0x40050]
mov edi, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
test edi, edi
mov eax, ebx
mov ecx, dword [eax + 4]
je 0x48d4c9
cmp edi, eax
jne 0x48d4c9
cmp esi, ecx
je 0x48d4ce
cmp esi, dword [edi + 4]
je 0x48d4c4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
jb 0x48d4b1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
cmp esi, dword [edi + 4]
je 0x48d4c4
movzx ecx, byte [esi + 0xc]
mov edx, dword [esi + 0x18]
push ecx
mov ecx, ebp
call edx
test al, al
jne 0x48d4b1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
call fcn.0048f0b0
push esi
push edi
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.0048e420
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x48d43f
lea edx, [esp + 0x10]
call fcn.0048f0b0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x48d447
call fcn.0048ef70
call fcn.0048efe0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x48f8a0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x558ce4]
test eax, eax
je 0x48f8e9
mov eax, dword [eax + 0xbc]
mov dword [0x558cf0], eax
call fcn.0048f840
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0x48f9e0
push 0
push 0
mov dword [0x558cf8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x558cf4], eax
pop ecx
ret
Function at 0x49ca90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 1
mov ebx, ecx
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebx + 0xa0]
mov edi, dword [ecx]
lea eax, [ebx + 0x9c]
mov edx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
jmp 0x49cad4
mov edi, dword [esp + 0x14]
lea ecx, [ebx + 0x9c]
cmp eax, ecx
jne 0x49cc4a
cmp edi, dword [esp + 0x2c]
je 0x49cc54
test eax, eax
je 0x49cc4a
cmp edi, dword [eax + 4]
je 0x49cc4f
mov eax, dword [edi + 0x10]
movzx ecx, word [eax + 4]
push ecx
mov eax, ebx
call fcn.0049cc60
mov edx, dword [edi + 0x10]
mov esi, eax
movzx eax, word [edx + 6]
push eax
mov eax, ebx
call fcn.0049cc60
test esi, esi
mov edi, eax
je 0x49cc35
test edi, edi
je 0x49cc35
mov eax, dword [esi + 8]
add eax, dword [esi]
lea ebx, [esp + 0x30]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
mov esi, dword [esp + 0xc]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
push eax
push ecx
call fcn.0049d2f0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 8]
add eax, dword [edi]
mov dword [esp + 0x1c], edx
cdq
sub eax, edx
mov dword [esp + 0x18], ecx
mov ecx, eax
mov eax, dword [edi + 0xc]
add eax, dword [edi + 4]
sar ecx, 1
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
lea ebx, [esp + 0x40]
call fcn.0049d2f0
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 9]
lea ebx, [eax + eax*2]
mov eax, dword [esp + 0x18]
add eax, ecx
cdq
sub eax, edx
mov edi, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esi + ecx]
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], esi
mov esi, eax
sar edi, 1
sar esi, 1
cmp byte [edx + 0xbb], 0
lea ebx, [ebx*4 + 0x557640]
je 0x49cc08
mov eax, dword [ebx]
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
cmp byte [eax + 8], 0
je 0x49cbf1
mov eax, dword [eax]
push eax
push str._02dP
jmp 0x49cbf9
mov ecx, dword [eax]
push ecx
push str._02d
push 0
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.004abb10
add esp, 0x14
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [ebx + 8]
call fcn.004abf70
mov ebx, dword [esp + 0x24]
add esp, 0x18
lea edx, [esp + 0x10]
call fcn.0049fc50
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x49cad0
call fcn.0049fac0
call fcn.0049fa50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a0eb0
Capabilities:
Access the windows event log

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
shr eax, 0x18
sub eax, 0
je 0x4a0ed6
sub eax, 1
je 0x4a0ecf
sub eax, 1
jne 0x4a0ed6
mov eax, 1
jmp 0x4a0edb
mov eax, 2
jmp 0x4a0edb
mov eax, 4
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 1
push 0
push ecx
push 0
push eax
mov eax, dword [0x558d14]
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
xor eax, eax
ret
Function at 0x4a3ba0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
mov ebx, eax
mov eax, dword [edi + 0xb4]
push 0
push eax
call esi
mov eax, dword [ebx + 0x14]
push 5
push eax
mov dword [edi + 0xb4], eax
call esi
mov ecx, dword [edi + 0x14]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetMenu]
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call esi
push 2
push eax
call esi
push 2
push eax
call esi
cmp ebx, dword [edi + 0xc0]
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
mov esi, eax
jne 0x4a3c12
push 8
push 0xbb9
push esi
call ebx
push 0
push 0xbba
push esi
call ebx
call fcn.004a3a00
pop edi
pop esi
pop ebx
ret
push 0
push 0xbb9
push esi
call ebx
push 8
push 0xbba
push esi
call ebx
call fcn.004a3a00
pop edi
pop esi
pop ebx
ret

Function at 0x4a3c30
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, dword [ebp + 0xa8]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebp + 0xa8]
mov dword [ecx + 4], ecx
cmp eax, dword [ebp + 0xa8]
mov dword [ebp + 0xac], 0
je 0x4a3c79
mov esi, dword [eax]
push eax
call fcn.004e66bd
add esp, 4
cmp esi, dword [ebp + 0xa8]
mov eax, esi
jne 0x4a3c64
mov eax, dword [ebp + 0x94]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp + 0x9c]
mov ebx, dword [ecx]
lea esi, [ebp + 0x98]
mov edx, ecx
mov dword [esp + 0x14], edx
lea esp, [esp]
cmp esi, esi
jne 0x4a3d20
cmp ebx, dword [esp + 0x14]
je 0x4a3cd3
cmp ebx, dword [esi + 4]
je 0x4a3cce
mov edi, dword [ebx + 8]
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
cmp ebx, dword [esi + 4]
je 0x4a3cce
mov ebx, dword [ebx]
jmp 0x4a3ca0
jmp fcn.004a4d60
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 4]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 4]
mov dword [esi + 8], 0
je 0x4a3d02
lea esp, [esp]
mov edi, dword [eax]
push eax
call fcn.004e66bd
add esp, 4
cmp edi, dword [esi + 4]
mov eax, edi
jne 0x4a3cf0
mov eax, dword [ebp + 0x90]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, ebp
call fcn.004a57b0
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x4a4dd0
push 0xffffffffffffffff
push 0x5178a8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x553150]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x18
push str.invalid_list_T__argument
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.0040b8e0
mov dword [esp + 0x50], 0
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
call fcn.0040afa0
push 0x537dc8
lea ecx, [esp + 0x24]
push ecx
call fcn.004ea17b
int3
Function at 0x4a5f60
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x504
mov eax, dword [0x553150]
xor eax, esp
mov dword [esp + 0x500], eax
push ebp
mov ebp, dword [esp + 0x50c]
push esi
push edi
push 0xfe
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.004ebfe0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
mov eax, esi
call fcn.004a6070
push eax
lea ecx, [esp + 0x10]
push 0xff
push ecx
call fcn.004e71d2
add esp, 0xc
mov eax, dword [esp + 0x518]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, eax
test edi, edi
jne 0x4a603e
push 0x3ff
push eax
lea ecx, [esp + 0x115]
push ecx
mov byte [esp + 0x118], al
call fcn.004ebfe0
lea edx, [esp + 0x18]
push edx
movzx eax, si
push eax
push str.Cannot_find_proper_font__LangID_:_0x_X__FontName_:__s___please_contact_to_Joymax
lea ecx, [esp + 0x124]
push 0x400
push ecx
call fcn.004e71d2
add esp, 0x20
push 0x30
push str.Error
lea edx, [esp + 0x114]
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push edi
push 0x30
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x50c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004e6578
add esp, 0x504
ret
Function at 0x4b4560
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4b45ec
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b4580
sub eax, edx
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov eax, ebx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b45b0
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x7fffffff
ja 0x4b45d1
mov eax, ebx
call fcn.00411e30
test eax, eax
je 0x4b45d6
call fcn.004be360
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ecx
ret

Function at 0x4b5ab0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [edx]
push esi
mov ecx, 0x20
push edi
lea esp, [esp]
mov edi, eax
shr edi, 2
xor edi, eax
shr edi, 2
xor edi, eax
shr edi, 1
xor edi, eax
shr edi, 1
xor edi, eax
shr edi, 1
mov esi, eax
ror esi, 1
xor edi, eax
and esi, 0xfffffffe
and edi, 1
or esi, edi
sub ecx, 1
mov eax, esi
jne 0x4b5ac0
pop edi
mov dword [edx], eax
pop esi
ret

Function at 0x4b5ef0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
cmp dword [esi + 4], 0xffffffff
mov dword [esi + 8], eax
jne 0x4b5f23
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x4b5f23
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, esi
call fcn.004b5ed0
xor eax, eax
ret
mov eax, 1
ret
Function at 0x4b6460
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x51f6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x553150]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp edi, esi
jne 0x4b64a6
mov eax, 0x8009
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
lea ecx, [edi + 0x10]
cmp ecx, esi
jne 0x4b64b8
call fcn.004be360
mov ebp, dword [esp + 0x1c]
jmp 0x4b64d6
mov ebp, ecx
mov dword [esp + 0x1c], ebp
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
push 0xffffffffffffffff
mov dword [esp + 0x28], esi
call eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
mov ecx, dword [edi + 0x140]
cmp ecx, esi
je 0x4b6536
cmp dword [0x559d5c], esi
je 0x4b6536
push 1
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push esi
lea eax, [esp + 0x18]
push eax
call edx
mov ecx, dword [esp + 0x10]
cmp ecx, esi
je 0x4b6536
mov eax, dword [0x559d5c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [edi + 0x140]
push 1
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push esi
lea eax, [esp + 0x18]
push eax
call edx
mov ecx, dword [esp + 0x10]
cmp ecx, esi
jne 0x4b6507
cmp dword [edi + 8], 1
jne 0x4b65b3
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x4b65ac
cmp dword [edi + 0xc], esi
je 0x4b6577
push 1
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [edi + 4]
push esi
push esi
lea eax, [esp + 0x20]
push eax
push 4
push esi
push esi
push esi
push 0x4004667f
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
jmp 0x4b659b
push 4
lea edx, [esp + 0x14]
push edx
push 0x80
push 0xffff
push eax
mov word [esp + 0x24], 1
mov word [esp + 0x26], si
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0xffffffff
cmp dword [0x559d60], esi
jne 0x4b65c0
call fcn.004b61c0
mov dword [esp + 0x30], 0xffffffff
cmp ebp, esi
jne 0x4b65d1
call fcn.004be360
cmp dword [esp + 0x24], esi
je 0x4b65ec
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x24], eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret

Function at 0x4b6890
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ecx
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov ecx, dword [ecx + 4]
lea eax, [esp]
push eax
push esi
push ecx
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, esi
pop ecx
ret