joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ef5c0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00592bb0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x5ef5f6
jmp 0x5ef635
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x5ef5f3
cmp al, 0x20
je 0x5ef5f3
cmp al, 0x22
jne 0x5ef619
jmp 0x5ef684
cmp al, 0x20
lea esi, [esi]
je 0x5ef620
test al, al
je 0x5ef635
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x5ef607
movzx eax, byte [ebx]
cmp al, 0x20
jne 0x5ef69a
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x5ef627
cmp al, 0x20
je 0x5ef627
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x5ef644
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040163f
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
je 0x5ef68e
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x5ef680
cmp al, 0x22
sete al
movzx eax, al
add ebx, eax
jmp 0x5ef620
cmp al, 9
je 0x5ef627
jmp 0x5ef635
Function at 0x401000
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x400
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x404]
push str._d__d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
add esp, 0x10
lea edx, [ebp - 0x404]
push edx
call esi
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 0x804]
push ecx
mov edi, eax
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042cb12
mov esp, ebp
pop ebp
ret

Function at 0x401f00
Capabilities:
Enumerate gui resources
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0043b8c0
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1010]
push eax
push 0x1000
lea ecx, [ebp - 0x1004]
push ecx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x401f51
mov ecx, dword [ebp - 0x1010]
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x401f51
cmp dword [ebp + eax*4 - 0x1004], esi
je 0x401f64
inc eax
cmp eax, ecx
jne 0x401f43
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cb12
mov esp, ebp
pop ebp
ret
mov edx, dword [0x5738c4]
cmp dword [edx + 0x18], 0
mov dword [ebp - 0x100c], esi
mov dword [ebp - 0x1008], 2
je 0x401f85
call sym.TQMWatcher.exe_GbCollectorSetDeleteDump
lea eax, [ebp - 0x100c]
push eax
push 0x401e90
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [0x5738c4]
cmp dword [ecx + 0x18], 0
je 0x401fa8
call sym.TQMWatcher.exe_GbCollectorSetDeleteDump
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1008]
xor ecx, ebp
call fcn.0042cb12
mov esp, ebp
pop ebp
ret
Function at 0x4030f0
Capabilities:
Check if file exists
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x314]
push eax
push str.SOFTWARETencent
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x314], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403277
mov edx, dword [ebp - 0x314]
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x320]
push ecx
push esi
push esi
push esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x40326a
cmp dword [ebp - 0x320], 0x104
ja 0x40326a
mov ecx, dword [ebp - 0x314]
push 0x104
lea eax, [ebp - 0x108]
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40326a
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x403190
mov ecx, dword [ebp - 0x314]
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x108]
push eax
push ecx
mov dword [ebp - 0x31c], 0x104
mov dword [ebp - 0x318], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [ebp - 0x318]
test eax, eax
je 0x403245
lea edx, [ebp - 0x31c]
push edx
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x324]
push edx
push 0
push str.InstallPath
push eax
call edi
lea ebx, [ebp - 0x108]
call fcn.00403090
test eax, eax
je 0x403238
push eax
lea eax, [ebp - 0x310]
push eax
push str._s_s
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0042cfab
add esp, 0x14
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x403238
lea eax, [ebp - 0x20c]
push eax
call sym.TQMWatcher.exe_GbCollectorSetProcess
add esp, 4
mov ecx, dword [ebp - 0x318]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x314]
push 0x104
lea edx, [ebp - 0x108]
push edx
inc esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x403190
pop edi
pop ebx
mov ecx, dword [ebp - 0x314]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042cb12
mov esp, ebp
pop ebp
ret
Function at 0x4038a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov word [0x67da30], 0x101
push 0x104
mov dword [0x67da34], ebx
lea eax, [ebp - 0x110]
mov dword [0x67da38], ebx
push eax
mov dword [0x67da3c], ebx
push 0x454910
mov dword [0x67da40], ebx
mov dword [0x67da44], 0x100000
mov dword [0x67da48], ebx
mov dword [0x67da4c], ebx
mov dword [0x67da50], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
jmp 0x403920
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403920
sub eax, edx
mov esi, eax
cmp esi, 0x104
ja 0x40396b
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.0042cfea
add esp, 0xc
mov eax, esi
cmp esi, ebx
je 0x40396b
mov cl, 0x5c
cmp byte [ebp + eax - 0x218], cl
je 0x403964
dec eax
jne 0x403956
jmp 0x40396b
mov byte [ebp + eax - 0x218], bl
lea eax, [ebp - 0x218]
push eax
push str._sdump
lea edx, [ebp - 0x110]
call fcn.00404c70
add esp, 8
push ebx
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.0040ada0
mov edx, dword [0x47372c]
push 0x104
push ebx
push 0x57d928
mov dword [0x5738dc], edx
call fcn.00434e30
mov ecx, dword [ebp - 4]
add esp, 0xc
pop esi
xor ecx, ebp
mov eax, 0x57d928
pop ebx
call fcn.0042cb12
mov esp, ebp
pop ebp
ret

Function at 0x4039d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x28
mov dword [ebp - 0x18], 0
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403a3f
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push esi
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x403a3f
mov eax, dword [ebp - 0x18]
push esi
push esi
push 0x10
lea edx, [ebp - 0x14]
push edx
push esi
push eax
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x403a3f
mov esi, 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403a4d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042cb12
mov esp, ebp
pop ebp
ret
Function at 0x403a60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
lea eax, [ebp - 0x114]
lea ebx, [edi + 0x104]
lea esi, [edi + 0x100104]
push eax
mov dword [ebp - 0x114], 0
call fcn.0040e8a0
mov esi, eax
test esi, esi
je 0x403aeb
push esi
call fcn.0040e220
add esp, 4
cmp eax, 0x32
jbe 0x403aeb
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x403ac4
push ebx
lea eax, [edi + 0x100104]
call fcn.0040e900
push esi
push str._s.dat
lea ecx, [ebp - 0x110]
push 0x103
push ecx
call fcn.0042cfab
add esp, 0x10
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call fcn.00403b90
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cb12
mov esp, ebp
pop ebp
ret
Function at 0x403b90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x368], eax
call fcn.00404e70
push eax
lea ecx, [ebp - 0x11c]
push 0x103
push ecx
call fcn.0042cfea
add esp, 0xc
push 0x45487c
lea edx, [ebp - 0x11c]
push 0x103
push edx
call fcn.0042d049
add esp, 0xc
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403c21
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x5738c4]
cmp dword [edx + 0x18], 0
je 0x403d35
push eax
call sym.TQMWatcher.exe_GbCollectorSetDeleteDump
add esp, 4
jmp 0x403d35
call fcn.00404e70
push eax
lea eax, [ebp - 0x11c]
push 0x103
push eax
call fcn.0042cfea
add esp, 0xc
mov bl, 0x2e
lea ecx, [ecx]
cmp dword [ebp - 0x344], 0
jbe 0x403ce5
lea eax, [ebp - 0x338]
xor esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403c58
sub eax, edx
mov ecx, eax
je 0x403c75
cmp byte [ebp + ecx - 0x338], bl
je 0x403c73
dec ecx
jne 0x403c65
jmp 0x403c75
mov esi, ecx
sub eax, esi
cmp eax, 8
jae 0x403c92
lea ecx, [ebp + esi - 0x337]
push ecx
lea edx, [ebp - 0x10]
push 8
push edx
call fcn.0042cfea
add esp, 0xc
mov ecx, 0x454ebc
lea eax, [ebp - 0x10]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403cc0
test dl, dl
je 0x403cbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403cc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x403ca0
xor eax, eax
jmp 0x403cc5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x403ce5
mov eax, dword [0x5738c4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [ebp - 0x35c], eax
jb 0x403cfd
ja 0x403ce5
cmp dword [ebp - 0x360], ecx
jb 0x403cfd
lea ecx, [ebp - 0x364]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403c40
jmp 0x403d35
lea edx, [ebp - 0x338]
push edx
lea eax, [ebp - 0x11c]
push eax
push str._s_s
lea ecx, [ebp - 0x224]
push 0x103
push ecx
call fcn.0042cfab
mov ecx, dword [ebp - 0x368]
add esp, 0x14
lea edx, [ebp - 0x224]
call fcn.004047e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cb12
mov esp, ebp
pop ebp
ret 4
Function at 0x403d50
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push esi
push str._s.gz
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0042cfab
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x100000
jae 0x403dff
lea ecx, [ebp - 0x110]
push ecx
call fcn.0040ef90
add esp, 4
push 0
lea edx, [ebp - 0x114]
push edx
push esi
push 0x473898
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x114]
mov ecx, edi
call fcn.0040ed50
test edi, edi
je 0x403dff
cmp dword [edi + 0x10], 0x1c4f
jne 0x403df8
call fcn.0040f2e0
jmp 0x403dff
mov eax, edi
call fcn.0040ee70
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cb12
mov esp, ebp
pop ebp
ret

Function at 0x404360
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x1c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x4043b1
mov eax, dword [0x5738c4]
cmp dword [eax + 0x18], 0
je 0x4043a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.TQMWatcher.exe_GbCollectorSetDeleteDump
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cb12
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4043eb
mov ecx, dword [0x5738c4]
cmp dword [ecx + 0x18], eax
jmp 0x404390
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0042cb12
mov esp, ebp
pop ebp
ret
Function at 0x404650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7848
call fcn.0043b8c0
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x7838], eax
mov dword [ebp - 0x7834], ecx
mov dword [ebp - 0x7824], 0x579
mov dword [ebp - 0x7828], 0
mov ebx, 1
jbe 0x4047a9
mov edi, dword [ebp + 0xc]
sub edi, dword [ebp - 0x7828]
mov dword [ebp - 0x783c], 0
cmp edi, 0x7800
jbe 0x4046bc
mov edi, 0x7800
mov edx, dword [ebp + 0x10]
push 0
lea eax, [ebp - 0x783c]
push eax
push edi
lea ecx, [ebp - 0x780c]
mov dword [ebp - 0x7814], edx
mov edx, dword [ebp - 0x7838]
push ecx
push edx
mov dword [ebp - 0x7818], ebx
mov dword [ebp - 0x7810], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x7840], eax
mov eax, dword [ebp - 0x7834]
mov esi, dword [eax]
test esi, esi
je 0x404777
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
lea ecx, [ebp - 0x7824]
mov dword [ebp - 0x7848], ecx
mov ecx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x7830], edx
lea edx, [ebp - 0x7848]
mov dword [ebp - 0x782c], eax
push edx
lea eax, [ebp - 0x7830]
push eax
push ecx
mov dword [ebp - 0x7844], 0x7818
call fcn.0043d680
add esp, 0x10
test eax, eax
js 0x404775
mov edx, dword [ebp - 0x782c]
mov eax, dword [ebp - 0x7830]
mov ecx, dword [esi]
push 0x3e8
push edx
push eax
push ecx
call fcn.0043ceb0
sub eax, dword [ebp - 0x782c]
add esp, 0x10
neg eax
sbb eax, eax
test eax, eax
je 0x404788
mov edx, dword [0x5738c4]
cmp dword [edx + 0x18], 0
je 0x404788
call sym.TQMWatcher.exe_GbCollectorSetDeleteDump
cmp dword [ebp - 0x7840], 0
je 0x4047c1
mov eax, dword [ebp - 0x7828]
add eax, edi
inc ebx
mov dword [ebp - 0x7828], eax
cmp eax, dword [ebp + 0xc]
jb 0x40469c
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042cb12
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042cb12
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404da0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x288
mov dword [ebp - 4], 0x288
call fcn.0042dfc3
mov esi, eax
add esp, 4
test esi, esi
jne 0x404dd1
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.0042e057
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 4]
push eax
push esi
call edi
cmp eax, 0x6f
jne 0x404e0f
push esi
call fcn.0042d0b6
mov ecx, dword [ebp - 4]
push ecx
call fcn.0042dfc3
mov esi, eax
add esp, 8
test esi, esi
jne 0x404e0f
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.0042e057
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 4]
push edx
push esi
call edi
test eax, eax
jne 0x404e62
test esi, esi
je 0x404e62
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02x__02x__02x__02x__02x__02x
push 0x20
push 0x67da90
call fcn.0042cfab
add esp, 0x24
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404f70
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x45b480]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push esi
lea eax, [esp + 8]
push eax
push 0x202
mov dword [edi], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x404fbe
mov ecx, dword [0x5738c4]
cmp dword [ecx + 0x18], 0
je 0x404fb7
call sym.TQMWatcher.exe_GbCollectorSetDeleteDump
push 0xffffffffffffffff
call fcn.0042d582
push 0xf4240
push str.tcp:__101.226.32.186:7001
call fcn.0043cd60
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
je 0x405051
push 0x830
push 1
call fcn.0042f545
mov esi, eax
add esp, 8
test esi, esi
je 0x405048
mov dword [esi], 0xffffffff
mov dword [edi], esi
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40500a
push eax
call fcn.0043cd50
add esp, 4
mov dword [esi], 0xffffffff
mov eax, dword [0x5738c4]
mov dword [esi], ebx
mov eax, dword [eax + 0x40]
mov esi, dword [edi]
mov ecx, eax
call fcn.0040d750
test eax, eax
je 0x405032
mov ecx, dword [0x5738c4]
cmp dword [ecx + 0x18], 0
je 0x405032
call sym.TQMWatcher.exe_GbCollectorSetDeleteDump
mov ecx, dword [esp + 0x19c]
pop esi
pop ebx
xor ecx, esp
mov eax, edi
call fcn.0042cb12
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0043cd50
add esp, 4
mov edx, dword [0x5738c4]
cmp dword [edx + 0x18], 0
jmp 0x40502b
Function at 0x4053d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [edi + 0x18], 0
je 0x40545a
push ebx
push 0x454ec8
mov byte [edi + 0x18], 0
call fcn.00405310
push eax
call fcn.0042e8ab
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x405459
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 8]
push esi
push ebx
push 1
lea ecx, [edi + 4]
sar eax, 2
push 4
push ecx
mov dword [ebp - 4], eax
call fcn.0042ecc7
push ebx
push 1
lea edx, [ebp - 4]
push 4
push edx
call fcn.0042ecc7
mov esi, dword [edi + 8]
add esp, 0x20
cmp esi, dword [edi + 0xc]
je 0x40544f
mov eax, dword [esi]
push ebx
push eax
call fcn.0042e5b1
push ebx
push 0x454f7c
call fcn.0042e5b1
add esi, 4
add esp, 0x10
cmp esi, dword [edi + 0xc]
jne 0x405430
push ebx
call fcn.0042ef8e
add esp, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x67da5c]
cmp esi, dword [0x67da60]
je 0x405499
mov eax, dword [esi]
push eax
call fcn.0042d0b6
add esi, 4
add esp, 4
cmp esi, dword [0x67da60]
jne 0x405483
push 0x454f80
call fcn.00405310
push eax
call fcn.0042e8ab
mov ebx, eax
xor esi, esi
add esp, 8
cmp ebx, esi
je 0x4055f2
push ebx
push 1
push 4
push 0x67da58
mov dword [ebp - 0x10c], esi
call fcn.0042eb53
push ebx
push 1
lea ecx, [ebp - 0x10c]
push 4
push ecx
call fcn.0042eb53
add esp, 0x20
mov dword [ebp - 0x114], esi
cmp dword [ebp - 0x10c], esi
je 0x4055e9
push edi
push ebx
lea edx, [ebp - 0x108]
push 0x104
push edx
call fcn.0042e6b7
add esp, 0xc
test eax, eax
je 0x4055cf
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405520
sub eax, edx
mov esi, eax
cmp byte [ebp + esi - 0x109], 0xa
jne 0x40553c
mov byte [ebp + esi - 0x109], cl
push esi
call fcn.0042dfc3
mov edi, eax
lea eax, [ebp - 0x108]
push eax
push esi
push edi
mov dword [ebp - 0x110], edi
call fcn.0042cfea
mov eax, dword [0x67da60]
lea ecx, [ebp - 0x110]
add esp, 0x10
cmp ecx, eax
jae 0x4055a5
mov edx, ecx
mov ecx, dword [0x67da5c]
cmp ecx, edx
ja 0x4055a5
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [0x67da64]
jne 0x40559a
mov eax, 0x67da5c
call fcn.00408950
mov eax, dword [0x67da60]
mov ecx, dword [0x67da5c]
test eax, eax
je 0x4055c7
mov ecx, dword [ecx + esi*4]
mov dword [eax], ecx
jmp 0x4055c2
cmp eax, dword [0x67da64]
jne 0x4055bc
mov eax, 0x67da5c
call fcn.00408950
mov eax, dword [0x67da60]
test eax, eax
je 0x4055c7
mov dword [eax], edi
mov eax, dword [0x67da60]
add eax, 4
mov dword [0x67da60], eax
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp eax, dword [ebp - 0x10c]
jne 0x4054f4
pop edi
push ebx
call fcn.0042ef8e
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cb12
mov esp, ebp
pop ebp
ret
Function at 0x405630
Capabilities:
Create udp socket

Disassembly:
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x57bf68], eax
xor eax, eax
mov dword [0x57bf6c], eax
mov dword [0x57bf70], eax
mov dword [0x57bf74], eax
mov dword [0x57bf78], eax
mov eax, 2
push 0x1b5a
mov word [0x57bf6c], ax
call dword [sym.imp.WS2_32.dll_htons]
push str.101.226.32.186
mov word [0x57bf6e], ax
push edi
add bh, bh
adc eax, sym.imp.WS2_32.dll_inet_addr
Function at 0x405f60
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44769e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x45b480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [0x460f4c]
mov dword [esi + 0x14], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [ebp - 4], 1
push 0x18
mov dword [esi + 0x48], ebx
call fcn.0042cea7
add esp, 4
cmp eax, ebx
je 0x406090
mov dword [esi + 0x44], eax
mov dword [eax], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x14], 1
mov edx, dword [esi + 0x44]
mov byte [edx + 0x15], 1
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov byte [ebp - 4], 3
push 0x28
mov dword [esi + 0x68], ebx
call fcn.0042cea7
add esp, 4
cmp eax, ebx
je 0x40606c
mov dword [esi + 0x64], eax
mov dword [eax], eax
mov eax, dword [esi + 0x64]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x64]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x64]
mov byte [eax + 0x20], 1
mov ecx, dword [esi + 0x64]
mov byte [ecx + 0x21], 1
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
xor edx, edx
mov dword [esi], 0xffffffff
mov word [esi + 4], dx
mov byte [esi + 7], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0042e19c
push 0x4580d4
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00431a8f
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0042e19c
push 0x4580d4
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00431a8f
int3