joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ccf60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x628], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
push 0
lea eax, [ebp - 0x61c]
push eax
call fcn.0063a460
add esp, 0xc
xor ecx, ecx
mov byte [ebp - 0x61d], cl
lea ecx, [ebp - 0x61d]
call fcn.004ce240
push eax
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x61c]
push ecx
call fcn.00603960
add esp, 4
test eax, eax
jne 0x4cd01e
lea edx, [ebp - 0x61c]
push edx
push 0x6980a8
call fcn.005564a0
add esp, 8
jmp 0x4cd16e
push 0x208
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.0063a460
add esp, 0xc
push str.UtilsRunDll.exe
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call fcn.00603960
add esp, 4
test eax, eax
jne 0x4cd079
lea ecx, [ebp - 0x414]
push ecx
push 0x6980e0
call fcn.005564a0
add esp, 8
jmp 0x4cd16e
lea ecx, [ebp - 0x624]
call fcn.00413220
xor edx, edx
mov byte [ebp - 0x61e], dl
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x62c]
push ecx
call fcn.004bd3f0
add esp, 4
mov edx, dword [eax]
push edx
push str.Start4RunDll
lea ecx, [ebp - 0x61e]
call fcn.004ce440
push eax
push str.__dll_s___entry_s__GAMECENTER__PIDbizhi___SUBPID_s__STCMD__s_
lea eax, [ebp - 0x624]
push eax
call fcn.00422a10
add esp, 0x18
lea ecx, [ebp - 0x62c]
call fcn.00413870
push 0x3c
push 0
lea ecx, [ebp - 0x668]
push ecx
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x668], 0x3c
mov dword [ebp - 0x664], 0x40
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x65c], 0
lea edx, [ebp - 0x414]
mov dword [ebp - 0x658], edx
lea ecx, [ebp - 0x624]
call fcn.0040d3c0
mov dword [ebp - 0x654], eax
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x628], eax
lea ecx, [ebp - 0x624]
call fcn.00413870
xor ecx, ecx
jne 0x4ccf7d
mov eax, dword [ebp - 0x628]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4cd190
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa54
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov byte [ebp - 0xa0d], al
lea ecx, [ebp - 0xa0d]
call fcn.004ce3f0
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 4
lea edx, [ebp - 0x20c]
push edx
call fcn.0064f336
add esp, 8
test eax, eax
je 0x4cd217
xor eax, eax
jmp 0x4cd324
lea eax, [ebp - 0x20c]
push eax
call fcn.00603960
add esp, 4
test eax, eax
jne 0x4cd245
lea ecx, [ebp - 0x20c]
push ecx
push 0x698030
call fcn.005564a0
add esp, 8
xor eax, eax
jmp 0x4cd324
push 0x800
push 0
lea edx, [ebp - 0xa0c]
push edx
call fcn.0063a460
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xa14]
push ecx
call fcn.004bd3f0
add esp, 4
mov ecx, eax
call fcn.0040d3c0
push eax
push str._GAMECENTER__PIDbizhi___SUBPID_s__STCMD__s_
push 0x400
lea edx, [ebp - 0xa0c]
push edx
call fcn.004190e0
add esp, 0x14
lea ecx, [ebp - 0xa14]
call fcn.00413870
push 0x3c
push 0
lea eax, [ebp - 0xa54]
push eax
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0xa54], 0x3c
mov dword [ebp - 0xa50], 0x40
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0xa48], 0
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0xa44], ecx
lea edx, [ebp - 0xa0c]
mov dword [ebp - 0xa40], edx
mov dword [ebp - 0xa3c], 0
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa34], 0
lea eax, [ebp - 0xa54]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0xa18], eax
mov eax, dword [ebp - 0xa18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4cd480
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov byte [ebp - 0x20d], al
lea ecx, [ebp - 0x20d]
call fcn.004ce060
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cd512
mov dword [ebp - 0x214], 1
jmp 0x4cd565
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor ecx, ecx
mov byte [ebp - 0x20e], cl
lea ecx, [ebp - 0x20e]
call fcn.004ce290
push eax
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cd55d
mov dword [ebp - 0x214], 1
jmp 0x4cd565
xor ecx, ecx
jne 0x4cd49d
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4d2560
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], ecx
push 0x3c
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.0063a460
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x4d258f
mov ecx, dword [ebp + 8]
push ecx
call fcn.00641e0e
add esp, 4
test eax, eax
jne 0x4d2596
xor eax, eax
jmp 0x4d26f9
mov dword [ebp - 0x40], 0x3c
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0x102
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x102
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0x102
mov dword [ebp - 0x10], 0xa26
lea edx, [ebp - 0x40]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00641e0e
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4d25f3
xor eax, eax
jmp 0x4d26f9
mov edx, dword [ebp - 0x14]
push edx
call fcn.00641e0e
add esp, 4
test eax, eax
jne 0x4d2618
push 0x69833c
push 0xa28
mov eax, dword [ebp + 0x10]
push eax
call fcn.004239e0
jmp 0x4d262a
mov ecx, dword [ebp - 0x14]
push ecx
push 0xa28
mov edx, dword [ebp + 0x10]
push edx
call fcn.004239e0
movzx eax, word [ebp - 0x28]
test eax, eax
jne 0x4d26eb
push 0x698340
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4d2657
mov edx, 0x50
mov word [ebp - 0x28], dx
jmp 0x4d26eb
push str.http
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4d2675
mov ecx, 0x50
mov word [ebp - 0x28], cx
jmp 0x4d26eb
push 0x698358
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4d2693
mov eax, 0x15
mov word [ebp - 0x28], ax
jmp 0x4d26eb
push 0x698360
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4d26b1
mov edx, 1
mov word [ebp - 0x28], dx
jmp 0x4d26eb
push str.rtsp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4d26cf
mov ecx, 2
mov word [ebp - 0x28], cx
jmp 0x4d26eb
push str.rtmp
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4d26eb
mov eax, 3
mov word [ebp - 0x28], ax
movzx ecx, word [ebp - 0x28]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4d3f30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x7c], 0
cmp dword [ebp + 8], 0
je 0x4d3f6d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14c], 0
je 0x4d3f72
jmp 0x4d414f
mov ecx, dword [ebp + 8]
add ecx, 0x190
call fcn.00425220
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x4c]
call fcn.004219a0
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x70]
jl 0x4d3f98
jmp 0x4d4083
mov edx, dword [ebp - 0x68]
push edx
push 0x69857c
mov ecx, dword [ebp + 8]
add ecx, 0x190
call fcn.0047e790
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x68]
jg 0x4d3fbf
jmp 0x4d4083
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x190
call fcn.00451a10
lea ecx, [ebp - 0x1c]
call fcn.00424f20
push eax
call fcn.004d5d90
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffff
jne 0x4d4003
lea ecx, [ebp - 0x1c]
call fcn.00421c30
jmp 0x4d4083
cmp dword [ebp - 0x6c], 0
jne 0x4d402c
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x190
call fcn.0047b020
mov dword [ebp - 0x7c], 1
lea ecx, [ebp - 0x1c]
call fcn.00421c30
jmp 0x4d4083
lea ecx, [ebp - 0x1c]
call fcn.00425220
mov edx, dword [ebp - 0x68]
lea eax, [edx + eax + 2]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x78]
push edx
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x190
call fcn.00451a10
push eax
lea ecx, [ebp - 0x4c]
call fcn.00422350
lea ecx, [ebp - 0x64]
call fcn.00421c30
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
lea eax, [edx + ecx + 2]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x1c]
call fcn.00421c30
jmp 0x4d3f8b
cmp dword [ebp - 0x7c], 0
je 0x4d4147
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x16c], 0
jne 0x4d4117
mov ecx, dword [ebp + 8]
add ecx, 0x190
call fcn.00425220
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [eax + 0x170], edx
mov eax, dword [ebp + 8]
add eax, 0x190
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x104
call fcn.0047b020
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
lea ecx, [ebp - 0x34]
call fcn.00479f40
lea ecx, [ebp - 0x34]
call fcn.00424f20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x698580
lea ecx, [ebp - 0x34]
call fcn.0044de90
lea ecx, [ebp - 0x34]
call fcn.00424f20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x34]
call fcn.00421c30
jmp 0x4d4147
mov edx, dword [ebp + 8]
cmp dword [edx + 0x16c], 1
jne 0x4d4147
mov eax, dword [ebp + 8]
add eax, 0x190
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x104
call fcn.0047b020
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14c], 1
lea ecx, [ebp - 0x4c]
call fcn.00421c30
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 4
Function at 0x4d4e10
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x6f9e18], 0
jne 0x4d4e64
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
movzx ecx, word [ebp - 4]
and ecx, 0x3ff
mov dword [ebp - 0xc], ecx
movzx edx, word [ebp - 4]
sar edx, 0xa
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0xc], 4
jne 0x4d4e5a
cmp dword [ebp - 0x10], 2
jne 0x4d4e5a
mov dword [0x6f9e18], 1
jmp 0x4d4e64
mov dword [0x6f9e18], 2
cmp dword [0x6f9e18], 1
jne 0x4d4e76
mov dword [ebp - 8], 1
jmp 0x4d4e7d
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4d5690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0
push 0x4d4f10
push 0
push 0xc8
push 0
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4d574e
mov dword [0x6f9e24], 1
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4d574e
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4d574c
mov dword [0x6f9e24], 0
call fcn.004d4df0
jmp 0x4d574e
jmp 0x4d5705
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4da390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
call fcn.004da420
push 0
push 0
push 0
push 0x4da720
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret
Function at 0x4dbc40
Capabilities:
Get client handle via schannel
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x808], ecx
mov dword [ebp - 0x80c], 0
mov eax, dword [ebp - 0x808]
cmp dword [eax + 0x80], 0
jne 0x4dbc81
mov ecx, dword [ebp - 0x808]
cmp dword [ecx + 0x84], 0
je 0x4dbcac
mov edx, dword [ebp - 0x808]
add edx, 0x80
push edx
call dword [sym.imp.Secur32.dll_FreeCredentialsHandle]
push 8
push 0
mov eax, dword [ebp - 0x808]
add eax, 0x80
push eax
call fcn.0063a460
add esp, 0xc
push 0x1c
push 0
lea ecx, [ebp - 0x828]
push ecx
call fcn.0063a460
add esp, 0xc
mov ecx, dword [ebp - 0x808]
add ecx, 0x34
call fcn.00424f20
mov dword [ebp - 0x820], eax
mov ecx, dword [ebp - 0x808]
add ecx, 0x34
call fcn.00425220
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x808]
add ecx, 0x50
call fcn.00424f20
mov dword [ebp - 0x828], eax
mov ecx, dword [ebp - 0x808]
add ecx, 0x50
call fcn.00425220
mov dword [ebp - 0x824], eax
mov ecx, dword [ebp - 0x808]
add ecx, 0x68
call fcn.00424f20
mov dword [ebp - 0x818], eax
mov ecx, dword [ebp - 0x808]
add ecx, 0x68
call fcn.00425220
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x810], 1
mov edx, dword [ebp - 0x808]
add edx, 0x88
push edx
mov eax, dword [ebp - 0x808]
add eax, 0x80
push eax
push 0
push 0
lea ecx, [ebp - 0x828]
push ecx
push 0
push 2
mov ecx, dword [ebp - 0x808]
add ecx, 4
call fcn.00424f20
push eax
push 0
call sub.Secur32.dll_AcquireCredentialsHandleA
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x4dbd95
xor eax, eax
jmp 0x4dbe77
mov edx, dword [ebp - 0x808]
mov dword [edx + 0x98], 0
mov eax, dword [ebp - 0x808]
mov dword [eax + 0x9c], 1
mov ecx, dword [ebp - 0x808]
add ecx, 0xa4
mov edx, dword [ebp - 0x808]
mov dword [edx + 0xa0], ecx
mov eax, dword [ebp - 0x808]
mov dword [eax + 0xa4], 0x800
mov ecx, dword [ebp - 0x808]
mov dword [ecx + 0xa8], 2
mov edx, dword [ebp - 0x808]
lea eax, [ebp - 0x804]
mov dword [edx + 0xac], eax
mov ecx, dword [ebp - 0x808]
add ecx, 0x88
push ecx
mov edx, dword [ebp - 0x808]
add edx, 0xb0
push edx
mov eax, dword [ebp - 0x808]
add eax, 0x98
push eax
mov ecx, dword [ebp - 0x808]
add ecx, 0x90
push ecx
push 0
push 0
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x808]
add ecx, 0x1c
call fcn.00424f20
push eax
push 0
mov edx, dword [ebp - 0x808]
add edx, 0x80
push edx
call sub.Secur32.dll_InitializeSecurityContextA
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
jge 0x4dbe72
xor eax, eax
jmp 0x4dbe77
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4dc5c0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0x40
jle 0x4dc61f
lea eax, [ebp - 0x154]
push eax
call fcn.0040bc00
add esp, 4
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.0040ba00
add esp, 0xc
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0040bae0
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], 0x10
push 0x41
push 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.0063a460
add esp, 0xc
push 0x41
push 0
lea edx, [ebp - 0x9c]
push edx
call fcn.0063a460
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00639ee0
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.00639ee0
add esp, 0xc
mov dword [ebp - 0x158], 0
jmp 0x4dc688
mov eax, dword [ebp - 0x158]
add eax, 1
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0x40
jge 0x4dc6c9
mov ecx, dword [ebp - 0x158]
movzx edx, byte [ebp + ecx - 0x58]
xor edx, 0x36
mov eax, dword [ebp - 0x158]
mov byte [ebp + eax - 0x58], dl
mov ecx, dword [ebp - 0x158]
movzx edx, byte [ebp + ecx - 0x9c]
xor edx, 0x5c
mov eax, dword [ebp - 0x158]
mov byte [ebp + eax - 0x9c], dl
jmp 0x4dc679
lea ecx, [ebp - 0xf8]
push ecx
call fcn.0040bc00
add esp, 4
push 0x40
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0xf8]
push eax
call fcn.0040ba00
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xf8]
push eax
call fcn.0040ba00
add esp, 0xc
lea ecx, [ebp - 0xf8]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.0040bae0
add esp, 8
lea eax, [ebp - 0xf8]
push eax
call fcn.0040bc00
add esp, 4
push 0x40
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.0040ba00
add esp, 0xc
push 0x10
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.0040ba00
add esp, 0xc
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.0040bae0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4dd9c0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x10c]
call fcn.004df6b0
movzx eax, word [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x10a], ax
sub esp, 0x18
mov ecx, esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.00421970
call fcn.004deba0
add esp, 0x18
mov dword [ebp - 0x108], eax
push str.Administrator
push 0xff
lea eax, [ebp - 0x104]
push eax
call fcn.004c9e30
push 0
lea ecx, [ebp - 0x10c]
call fcn.004df740
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_send]
push 0
push 8
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x4dda88
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4dda88
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4dda4b
movzx edx, byte [ebp - 0x10b]
cmp edx, 0x5a
jne 0x4dda9d
mov eax, 0xc8
jmp 0x4ddac8
movzx eax, byte [ebp - 0x10c]
cmp eax, 5
jne 0x4ddab0
mov eax, 0x197
jmp 0x4ddac8
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4deba0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00425070
movzx eax, al
test eax, eax
jne 0x4dec0c
cmp dword [ebp - 8], 0
jne 0x4debf7
lea ecx, [ebp + 8]
call fcn.00424f20
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4debf7
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + edx]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp + 8]
call fcn.00421c30
mov eax, dword [ebp - 0xc]
jmp 0x4dec28
mov dword [ebp - 0x10], 0
lea ecx, [ebp + 8]
call fcn.00421c30
mov eax, dword [ebp - 0x10]
jmp 0x4dec28
mov esp, ebp
pop ebp
ret

Function at 0x4dec30
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x18], eax
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x4dec7c
mov dword [ebp - 0x1c], 1
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 0x20
push 0xffff
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4dec9e
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x1c]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, 2
mov word [ebp - 0x14], ax
movzx ecx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], 0x1770
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1005
push 0xffff
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0x20], 0x1770
push 4
lea edx, [ebp - 0x20]
push edx
push 0x1006
push 0xffff
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
movzx ecx, byte [ebp + 0x1c]
test ecx, ecx
je 0x4ded29
movzx edx, byte [ebp + 0x18]
test edx, edx
jne 0x4ded27
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x4ded27
or eax, 0xffffffff
jmp 0x4ded68
jmp 0x4ded65
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x4ded65
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4ded65
push 2
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x4ded68
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret