joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493550
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], vtable.CmdShell.0
test eax, eax
je 0x49356a
push eax
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x493574
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x49357e
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x493588
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x49359e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi + 0x18]
push eax
call edi
mov esi, dword [esi + 0x20]
sub esi, 0x10
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4935bd
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
pop edi
pop esi
ret

Function at 0x493679
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov eax, 0x1018
call fcn.0046f7e0
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x1014], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [esp + 0x1028]
cmp dword [esi + 0xc], ebx
je 0x4936df
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x4936df
push ebx
push eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x28], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x4936fb
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor al, al
mov ecx, dword [esp + 0x1020]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046da8a
add esp, 0x1018
ret 4
cmp dword [esp + 0xc], ebx
jbe 0x4936df
mov eax, dword [esi + 0xc]
push ebx
lea ecx, [esp + 0x10]
push ecx
push 0x1000
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4936df
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4936df
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + eax + 0x24], bl
call fcn.00402d30
mov al, 1
jmp 0x4936e1

Function at 0x493740
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x493792
push ebx
mov ebx, dword [esp + 0xc]
push edi
lea edi, [esi + 0x20]
push ebx
mov ecx, edi
call fcn.0040b610
mov ecx, edi
call fcn.00448fb0
mov ecx, eax
call fcn.00449010
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493770
push 0
lea ecx, [esp + 0x14]
push ecx
sub eax, edx
mov edx, dword [esi + 8]
push eax
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
mov byte [esi + 0x1c], 1
pop ebx
pop esi
ret 4
Function at 0x494110
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
xor eax, eax
push edi
push 0x44
push eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
mov esi, ecx
call fcn.0046dea0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
or dword [esp + 0x50], 0x100
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov dword [esp + 0x50], ecx
xor edx, edx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x1c], 0x44
mov word [esp + 0x4c], dx
call fcn.00409e10
mov edi, dword [esp + 0x60]
cmp dword [edi - 4], 1
jle 0x49418b
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [esp + 0x64]
call fcn.0040ddb0
mov edi, dword [esp + 0x60]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4941d7
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4941cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor al, al
pop esi
add esp, 0x54
ret 4
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push edx
mov dword [esi + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494205
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov al, 1
pop esi
add esp, 0x54
ret 4

Function at 0x494210
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreatePipe]
push esi
push edi
push 0
mov esi, ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x10]
push ecx
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0
call ebp
test eax, eax
je 0x49429a
mov edx, dword [edi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push edx
call ebx
test eax, eax
je 0x494299
push 0
lea eax, [esp + 0x14]
push eax
lea edi, [esi + 8]
push edi
lea ecx, [esi + 4]
push ecx
call ebp
test eax, eax
je 0x494299
mov edx, dword [edi]
push 0
push 1
push edx
call ebx
test eax, eax
je 0x494299
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.00494110
test al, al
je 0x494299
mov byte [esi + 0x14], 1
mov byte [esi + 0x1c], 1
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4
Function at 0x494d80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
call ebx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebp, eax
mov ecx, dword [0x4fac2c]
test ecx, ecx
je 0x494da6
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test esi, esi
je 0x494daf
cmp byte [esi], 1
je 0x494db7
call ebx
sub eax, ebp
cmp eax, edi
jb 0x494d96
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x498340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x6c]
push 4
call fcn.0046d5f3
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x49836a
mov dword [eax], edi
jmp 0x49836c
xor eax, eax
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x78]
mov dword [edi], eax
xor eax, eax
push ecx
mov ebp, 7
lea ecx, [esp + 0x38]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
call fcn.0040bd30
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x4983b4
lea eax, [esp + 0x90]
mov edx, dword [esp + 0xa0]
push edx
push ebx
push eax
lea ecx, [esp + 0x38]
call fcn.0040c1c0
mov esi, eax
cmp esi, ebx
jl 0x4984ac
push esi
push ebx
lea ecx, [esp + 0x34]
xor eax, eax
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], ax
call fcn.0040bd30
cmp byte [esp + 0xa8], bl
je 0x4983ff
cmp dword [esp + 0x5c], ebx
je 0x49840b
lea edx, [esp + 0x48]
push edx
mov ecx, edi
call fcn.00441120
mov ecx, dword [esp + 0x40]
xor eax, eax
mov word [esp + 0x14], ax
mov eax, dword [esp + 0xa0]
sub ecx, eax
sub ecx, esi
push ecx
add eax, esi
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
call fcn.0040bd30
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.0040bd30
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x498464
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0046d0e6
add esp, 4
mov eax, dword [esp + 0x90]
cmp dword [esp + 0xa4], esi
jae 0x49847b
lea eax, [esp + 0x90]
mov edx, dword [esp + 0xa0]
push edx
push ebx
push eax
lea ecx, [esp + 0x38]
call fcn.0040c1c0
cmp dword [esp + 0x60], 8
mov esi, eax
jb 0x4984a4
mov eax, dword [esp + 0x4c]
push eax
call fcn.0046d0e6
add esp, 4
cmp esi, ebx
jge 0x4983d1
cmp byte [esp + 0xa8], bl
je 0x4984bb
cmp dword [esp + 0x40], ebx
je 0x4984c7
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.00441120
mov esi, 8
cmp dword [esp + 0x44], esi
jb 0x4984df
mov edx, dword [esp + 0x30]
push edx
call fcn.0046d0e6
add esp, 4
xor eax, eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
cmp dword [esp + 0x88], esi
jb 0x498504
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0046d0e6
add esp, 4
xor edx, edx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
cmp dword [esp + 0xa4], esi
jb 0x498532
mov eax, dword [esp + 0x90]
push eax
call fcn.0046d0e6
add esp, 4
mov ecx, dword [esp + 0x64]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046da8a
add esp, 0x58
ret
Function at 0x499ea0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
mov edi, ecx
call ebx
mov esi, dword [esp + 0x14]
mov ebp, eax
cmp esi, 0xffffffff
je 0x499ec1
call ebx
sub eax, ebp
cmp eax, esi
ja 0x499edf
mov eax, dword [edi + 0x2c]
cmp eax, 3
je 0x499ed5
cmp eax, 4
je 0x499edf
call fcn.00494d60
jmp 0x499eb4
lea eax, [edi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
ret 4
lea esi, [edi + 0x30]
mov ecx, esi
call fcn.00404400
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x49a780
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x244]
xor ebp, ebp
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov ebx, 0x22c
push esi
mov dword [esp + 0x18], ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x49a832
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x49a829
mov ecx, edi
call fcn.0040a830
lea ecx, [esp + 0x34]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x49a807
test dx, dx
je 0x49a803
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x49a807
add ecx, 4
add eax, 4
test dx, dx
jne 0x49a7e1
xor eax, eax
jmp 0x49a80c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x49a825
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x18], ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49a7d6
jmp 0x49a829
mov ebp, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046da8a
add esp, 0x230
ret 4
Function at 0x49a9c0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x24c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x25c]
push edi
xor ebx, ebx
push 0x228
lea ecx, [esp + 0x34]
xor eax, eax
push ebx
mov ebp, 7
push ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
mov dword [esp + 0x38], ebx
call fcn.0046dea0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x49aa9e
lea edx, [esp + 0x2c]
push edx
push edi
mov dword [esp + 0x34], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x49aa9e
mov ebp, dword [esp + 0x264]
lea ecx, [ecx]
cmp ebp, dword [esp + 0x34]
je 0x49aa65
lea eax, [esp + 0x2c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49aa40
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 7
jmp 0x49aaa1
lea eax, [esp + 0x50]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x49aa70
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040d270
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 7
jmp 0x49aaa1
mov dword [esi + 0x18], ebp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x18]
xor edx, edx
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.0040bd30
cmp dword [esp + 0x28], 8
jb 0x49aacd
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0046d0e6
add esp, 4
mov ecx, dword [esp + 0x258]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046da8a
add esp, 0x24c
ret 8
Function at 0x4a0440
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp dword [ecx + 0x60], 3
push ebx
push esi
push edi
je 0x4a0453
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
test byte [0x4fab18], 1
jne 0x4a047a
or dword [0x4fab18], 1
mov ecx, 0x4fab10
call fcn.004a3b50
push 0x4c7d50
call fcn.0046e7d5
add esp, 4
push ecx
mov ecx, esp
push 0x4d527c
call fcn.00409e10
mov ecx, 0x4fab10
call fcn.004a3bc0
mov bl, byte [esp + 0x14]
test bl, bl
je 0x4a05a1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xea60
ja 0x4a05a1
jmp 0x4a04c0
mov eax, dword [0x4f9bc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f9bc0
call edx
push 0
push 1
push 1
add eax, 0x10
push 0
mov dword [esp + 0x24], eax
push 0x4e20
lea eax, [esp + 0x28]
push eax
push str.shell_mount
call fcn.0048f300
add esp, 0x1c
test eax, eax
jle 0x4a055d
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jl 0x4a051d
push str._cache
push eax
call fcn.0046f02d
add esp, 8
test eax, eax
je 0x4a051d
sub eax, dword [esp + 0x14]
sar eax, 1
jns 0x4a0598
push 0
push 0x1388
call fcn.00494d80
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a054c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call esi
sub eax, edi
cmp eax, 0xea60
jbe 0x4a04c0
jmp 0x4a05a1
call fcn.004910c0
add eax, 4
push 0x4d527c
push eax
call fcn.00428f20
add esp, 8
test al, al
je 0x4a0583
call fcn.004910c0
mov ecx, eax
call fcn.004a3b40
lea ecx, [esp + 0x14]
call fcn.00409f10
mov eax, 2
pop edi
pop esi
pop ebx
pop ecx
ret 4
lea ecx, [esp + 0x14]
call fcn.00409f10
push 1
push 0
push ecx
mov ecx, esp
push str._tmp_extendedcommand
call fcn.00409e10
call fcn.0048ffa0
add esp, 0xc
mov edi, eax
mov esi, 2
test bl, bl
je 0x4a05e0
push 1
push 0
push ecx
mov ecx, esp
push str._cache_recovery_extendedcommand
call fcn.00409e10
call fcn.0048ffa0
add esp, 0xc
mov esi, eax
test byte [0x4fab18], 1
jne 0x4a0607
or dword [0x4fab18], 1
mov ecx, 0x4fab10
call fcn.004a3b50
push 0x4c7d50
call fcn.0046e7d5
add esp, 4
push 0x4d527c
push 0x4fab14
call fcn.00428f20
add esp, 8
test al, al
je 0x4a064e
test byte [0x4fab18], 1
jne 0x4a0644
or dword [0x4fab18], 1
mov ecx, 0x4fab10
call fcn.004a3b50
push 0x4c7d50
call fcn.0046e7d5
add esp, 4
mov ecx, 0x4fab10
call fcn.004a3b40
test edi, edi
je 0x4a0671
test esi, esi
je 0x4a0671
cmp edi, 1
je 0x4a058c
cmp esi, 1
je 0x4a058c
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 4
Function at 0x4a58d0
Capabilities:
Delete file

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
push 4
mov dword [esi + 0x14], 0
call fcn.004a5990
lea eax, [esp + 8]
push 0x4cdb6c
push eax
call fcn.0042c830
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 8
push ecx
call edi
push 0x4d62f8
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.0040a470
mov ecx, dword [eax]
add esp, 0xc
push ecx
call edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a5940
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0xc]
push esi
call fcn.004b2710
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0xc]
push edx
call fcn.004b27d0
mov ecx, dword [esi + 0xc]
push 0
push 1
call fcn.004b27a0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
test edx, edx
jg 0x4a5988
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 8
ret

Function at 0x4a5990
Capabilities:
Create process on windows

Disassembly:
push edi
mov edi, ecx
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490ee0
test eax, eax
je 0x4a5abe
push esi
mov esi, dword [esp + 0xc]
cmp esi, 9
ja case.0x4a59b5.3
jmp dword [esi*4 + 0x4a5ac4]
mov ecx, edi
call fcn.004a58d0
jmp case.0x4a59b5.3
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490ee0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push 0
call eax
jmp case.0x4a59b5.3
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490ee0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push 3
call eax
jmp case.0x4a59b5.3
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490ee0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push 6
call eax
jmp case.0x4a59b5.3
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490ee0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
push 0x4d6330
call eax
push 0
push 0
push 0
push str.http:__www.shuame.com
push 0x4c94ac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, esi
sub eax, 5
pop esi
je 0x4a5aa0
sub eax, 1
je 0x4a5a72
sub eax, 1
jne 0x4a5abe
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490ee0
mov edx, dword [eax]
pop edi
mov dword [esp + 4], 2
mov ecx, eax
mov eax, dword [edx + 0x30]
jmp eax
mov eax, dword [edi + 0x18]
push eax
call fcn.0049c860
mov ecx, eax
call fcn.0049c6a0
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490ee0
mov edx, dword [eax]
pop edi
mov dword [esp + 4], 1
mov ecx, eax
mov eax, dword [edx + 0x30]
jmp eax
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490ee0
mov edx, dword [eax]
pop edi
mov dword [esp + 4], 5
mov ecx, eax
mov eax, dword [edx + 0x30]
jmp eax
pop edi
ret 4
Function at 0x4b29b0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0x40
jae 0x4b29fe
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 4]
mov dword [ebp + eax*4 - 0x10c], edx
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
xor ecx, ecx
jne 0x4b29d0
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x114], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x120], edx
cmp dword [ebp - 0x120], 1
je 0x4b2a4c
cmp dword [ebp - 0x120], 2
je 0x4b2a75
cmp dword [ebp - 0x120], 4
je 0x4b2a9e
jmp 0x4b2ac7
lea eax, [ebp - 0x118]
push eax
push 0
push 0
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 4]
add eax, 1
push eax
call sub.WS2_32.dll_select
mov dword [ebp - 4], eax
jmp 0x4b2acb
lea ecx, [ebp - 0x118]
push ecx
push 0
lea edx, [ebp - 0x110]
push edx
push 0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
add ecx, 1
push ecx
call sub.WS2_32.dll_select
mov dword [ebp - 4], eax
jmp 0x4b2acb
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x110]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 4]
add edx, 1
push edx
call sub.WS2_32.dll_select
mov dword [ebp - 4], eax
jmp 0x4b2acb
xor al, al
jmp 0x4b2af1
cmp dword [ebp - 4], 0
jle 0x4b2aef
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 4]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4b2aef
mov al, 1
jmp 0x4b2af1
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x4b2c20
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 8]
and eax, 0xff
movzx ecx, al
movzx edx, byte [ebp + 0xc]
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
mov word [ebp - 0x19c], cx
lea ecx, [ebp - 0x198]
push ecx
movzx edx, word [ebp - 0x19c]
push edx
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x4b2c74
xor al, al
jmp 0x4b2cb0
movzx eax, word [ebp - 0x198]
and eax, 0xff
movzx ecx, al
movzx edx, byte [ebp + 8]
cmp ecx, edx
je 0x4b2cae
movzx eax, word [ebp - 0x198]
shr eax, 8
and eax, 0xff
movzx ecx, al
movzx edx, byte [ebp + 0xc]
cmp ecx, edx
je 0x4b2cae
call fcn.004b2c00
xor al, al
jmp 0x4b2cb0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret
Function at 0x4b2cc0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.004b2970
movzx eax, al
test eax, eax
jne 0x4b2cda
xor al, al
jmp 0x4b2d16
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0xffffffff
jne 0x4b2cf8
xor al, al
jmp 0x4b2d16
push 0x10
mov ecx, dword [ebp + 8]
call fcn.0040d6d0
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call sub.WS2_32.dll_connect
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x4b2d20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004b2bc0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4b2d5d
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x118]
call fcn.004b2b20
jmp 0x4b2dbb
push 0
push 0
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x4b2d85
xor al, al
jmp 0x4b2dbb
lea edx, [ebp - 0x110]
push edx
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4b2da4
xor al, al
jmp 0x4b2dbb
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x118]
mov ecx, dword [edx]
mov dword [eax], ecx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret 4

Function at 0x4b2f40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.CMD5Checksum.0
push 0x40
push 0
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call fcn.0046dea0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4c], 0x67452301
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0x54], 0x98badcfe
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58], 0x10325476
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret