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

Disassembly:
push 0x60
mov eax, 0x4968e2
call fcn.00464b13
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x48]
call fcn.004041de
xor esi, esi
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], esi
call fcn.004041de
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
call fcn.00432627
cmp dword [ebp - 0x68], 6
pop ecx
pop ecx
jb 0x43106a
push str.advfirewall_firewall_delete_rule_name_
lea ecx, [ebp - 0x2c]
call fcn.004041de
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040ab49
push str.__dirin_program_
lea ecx, [ebp - 0x2c]
call fcn.0040afcc
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ab49
push 0x4a2650
jmp 0x431095
cmp dword [ebp - 0x68], 5
jne 0x4310d0
push str.firewall_delete_allowedprogram_program_
lea ecx, [ebp - 0x2c]
call fcn.004041de
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040ab49
push str.__profileALL
lea ecx, [ebp - 0x2c]
call fcn.0040afcc
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x4310a9
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4310b5
lea eax, [ebp - 0x28]
push esi
push ecx
push eax
push str.netsh.exe
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004021e1
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.004021e1
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.004021e1
call fcn.00464b96
ret
Function at 0x432cf4
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x432d08
xor eax, eax
jmp 0x432d9e
cmp byte [0x4bed68], bl
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x432d4b
cmp byte [0x4bed69], bl
jne 0x432d3b
call edi
mov ecx, dword [0x4bed6c]
cmp eax, ecx
jbe 0x432d3b
sub eax, ecx
cmp eax, dword [0x4bc01c]
jb 0x432d3b
mov byte [0x4bed68], bl
cmp byte [0x4bed68], bl
je 0x432d4b
cmp byte [0x4bed69], bl
je 0x432d9b
cmp dword [esi + 0x18], 0x10
jb 0x432d56
mov eax, dword [esi + 4]
jmp 0x432d59
lea eax, [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2afc
jne 0x432d7f
mov byte [0x4bed68], 1
call edi
mov dword [0x4bed6c], eax
jmp 0x432d8e
cmp dword [0x4bed6c], ebx
je 0x432d8e
mov byte [0x4bed69], 1
cmp esi, ebx
je 0x432d9b
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x432d9d
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x433609
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x40
mov eax, 0x496d74
call fcn.00464aaa
mov ecx, dword [ebp + 0x214]
mov edi, dword [ebp + 0x218]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
call fcn.00401fc5
push 0x208
xor esi, esi
lea eax, [ebp]
push ebx
inc esi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], esi
call fcn.004665b0
add esp, 0xc
push esi
push 0x2b
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x433714
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.004041de
push str.TencentQQDownload
push eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], esi
call fcn.0040afe9
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0040ab49
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.004021e1
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004021e1
cmp dword [edi + 0x14], ebx
je 0x4336f6
push edi
lea eax, [ebp - 0x30]
push 0x49fa70
push eax
call fcn.0040d605
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ebx
push eax
mov dword [ebp - 4], 3
call fcn.0040ab49
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004021e1
push dword [ebp - 0x10]
call fcn.004332b3
test al, al
pop ecx
jne 0x43370e
push dword [ebp - 0x10]
call fcn.0043337c
pop ecx
jmp 0x433710
mov al, 1
cmp al, bl
jne 0x433721
mov ecx, dword [ebp - 0x10]
push 0x4a8d80
call fcn.0040219c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00464a9b
add ebp, 0x20c
leave
ret
Function at 0x433747
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0x5c
mov eax, 0x496db4
call fcn.00464aaa
mov eax, dword [ebp + 0x420]
xor ebx, ebx
test byte [0x4bee9c], 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
mov esi, 0x4bee80
jne 0x4337ab
or dword [0x4bee9c], 1
push ebx
mov ecx, esi
mov dword [0x4bee98], 7
call fcn.004024d0
push 0x49d187
call fcn.004673b2
pop ecx
cmp dword [0x4bee94], ebx
jne 0x4338b3
mov edi, 0x208
push edi
lea eax, [ebp]
push ebx
push eax
call fcn.004665b0
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x433841
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.004041de
push str.TencentTencentdl
push eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], ebx
call fcn.0040afe9
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040ab49
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004021e1
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004021e1
push esi
call fcn.004332b3
test al, al
pop ecx
jne 0x43383b
push esi
call fcn.0043337c
pop ecx
jmp 0x43383d
mov al, 1
cmp al, bl
jne 0x4338b3
push edi
lea eax, [ebp + 0x20a]
push ebx
push eax
mov word [ebp + 0x208], bx
call fcn.004665b0
add esp, 0xc
push 0x20a
lea eax, [ebp + 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x208]
push 0x5c
push eax
call fcn.004691a3
cmp eax, ebx
pop ecx
pop ecx
je 0x433883
mov word [eax], bx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x68]
call fcn.004041de
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00402109
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.004021e1
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00401fda
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.00464a9b
add ebp, 0x418
leave
ret
Function at 0x4338e2
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0x40
mov eax, 0x496e18
call fcn.00464aaa
mov edi, dword [ebp + 0x420]
xor ebx, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00401fc5
push 0x208
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x10], esi
call fcn.004665b0
mov al, byte [ebp + 0x444]
add esp, 0xc
neg al
push esi
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4339bc
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.004041de
lea ecx, [ebp + 0x428]
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.00413c60
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040ab49
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.004021e1
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004021e1
push edi
call fcn.004332b3
test al, al
pop ecx
jne 0x4339b6
push edi
call fcn.0043337c
pop ecx
jmp 0x4339b8
mov al, 1
cmp al, bl
jne 0x433a2a
push 0x208
lea eax, [ebp + 0x20a]
push ebx
push eax
mov word [ebp + 0x208], bx
call fcn.004665b0
add esp, 0xc
push 0x20a
lea eax, [ebp + 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x208]
push 0x5c
push eax
call fcn.004691a3
cmp eax, ebx
pop ecx
pop ecx
je 0x433a02
mov word [eax], bx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x30]
call fcn.004041de
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00402109
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.004021e1
push ebx
push esi
lea ecx, [ebp + 0x428]
call fcn.004021e1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.00464a9b
add ebp, 0x418
leave
ret
Function at 0x4347b4
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 0xc
mov eax, 0x497053
call fcn.00464aaa
mov edi, dword [ebp + 0x428]
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 8], ebx
jne 0x43480e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x41c]
xor ecx, ebp
call fcn.00464a9b
add ebp, 0x420
leave
ret 4
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.0040230d
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x43485e
cmp dword [ebp - 0x10], 0
je 0x434874
push edi
push dword [edi + 8]
lea ecx, [ebp - 0x18]
call fcn.00438ff9
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
lea eax, [ebp + eax + 0x1c]
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.004343c3
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp + 0x1c]
push eax
push dword [esi + 8]
call ebx
test eax, eax
jne 0x43482c
mov ecx, edi
call fcn.00434171
xor esi, esi
test al, al
je 0x434894
push 0
push 1
lea ecx, [ebp]
call fcn.004020be
mov eax, esi
jmp 0x4347e9
inc esi
jmp 0x434881
Function at 0x4383d6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x78], 0x104
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call esi
test eax, eax
jne 0x438549
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push str._sConnection
push 0x103
push eax
call fcn.004383b9
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x438540
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.MediaSubType
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x438537
push 0x104
xor edi, edi
lea eax, [ebp - 0x64]
push ebx
inc edi
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0x103
call fcn.004665b0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.PnpInstanceID
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x438537
cmp dword [ebp - 0x70], edi
jne 0x438527
mov esi, 0x4a3268
push esi
call fcn.004664c0
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00469c4e
add esp, 0x10
test eax, eax
jne 0x438501
mov dword [ebp - 0x6c], ebx
jmp 0x438537
cmp dword [ebp - 0x70], edi
jne 0x438527
push esi
call fcn.004664c0
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00469c4e
add esp, 0x10
test eax, eax
je 0x438527
mov dword [ebp - 0x6c], 2
jmp 0x438537
xor eax, eax
cmp dword [ebp - 0x70], 2
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ebp - 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464a9b
add ebp, 0xa4
leave
ret
Function at 0x438564
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x2ac4]
mov eax, 0x2ac4
call fcn.004671d0
push 0xffffffffffffffff
push 0x497499
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x2ac0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x2acc]
push 7
pop esi
xor edi, edi
push edi
lea ecx, [ebp + 0x2880]
mov dword [ebp + 0x2898], esi
call fcn.004024d0
push edi
lea ecx, [ebp + 0x289c]
mov dword [ebp - 4], edi
mov dword [ebp + 0x28b4], esi
call fcn.004024d0
push 0x206
lea eax, [ebp + 0x28ba]
push edi
push eax
mov byte [ebp - 4], 1
mov word [ebp + 0x28b8], di
call fcn.004665b0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x28b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x28b8]
push eax
lea ecx, [ebp + 0x289c]
call fcn.0040219c
mov eax, dword [ebp + 0x28b0]
dec eax
push eax
lea ecx, [ebp + 0x289c]
call fcn.0041bae9
cmp word [eax], 0x5c
je 0x43865f
push 0x49fa70
lea ecx, [ebp - 0x40]
call fcn.004041de
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x289c]
mov byte [ebp - 4], 2
call fcn.0040ab49
push edi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004021e1
push 0x4a3300
lea eax, [ebp + 0x289c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040afe9
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x2880]
mov byte [ebp - 4], 3
call fcn.00402109
push edi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004021e1
cmp dword [ebp + 0x2898], 8
mov eax, dword [ebp + 0x2884]
jae 0x4386ae
lea eax, [ebp + 0x2884]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [ebp - 0x20], eax
jne 0x4386ff
xor bl, bl
push edi
push 1
lea ecx, [ebp + 0x289c]
call fcn.004021e1
push edi
push 1
lea ecx, [ebp + 0x2880]
call fcn.004021e1
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2ac0]
xor ecx, ebp
call fcn.00464a9b
add ebp, 0x2ac4
leave
ret
push 0x4a32f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x438787
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp]
push ecx
mov dword [ebp - 0x24], 0x2880
call eax
test eax, eax
jne 0x438787
lea esi, [ebp]
mov dword [ebp - 0x14], 3
lea eax, [esi + 8]
push eax
call fcn.004383d6
push 6
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1a]
push edi
push eax
call fcn.004665b0
add esp, 0x10
lea eax, [ebp - 0x1a]
push eax
mov ecx, ebx
call fcn.00438038
test al, al
jne 0x438769
cmp dword [esi + 0x1a0], 6
jne 0x438781
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jle 0x438781
xor eax, eax
mov cl, byte [esi + eax + 0x194]
mov byte [ebx + eax], cl
inc eax
cmp eax, 6
jl 0x43876b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov esi, dword [esi]
cmp esi, edi
jne 0x43872e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 6
lea eax, [ebp - 0x1a]
push edi
push eax
call fcn.004665b0
add esp, 0xc
lea eax, [ebp - 0x1a]
push eax
mov ecx, ebx
call fcn.00438038
mov bl, al
neg bl
sbb bl, bl
inc bl
jmp 0x4386be
Function at 0x4390d8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0xffffffff
mov eax, dword [ebp + 0x14]
je 0x43911c
mov cx, word [ebp + 0x10]
mov word [ebp - 0x12], cx
mov ecx, dword [ebp + 0xc]
push 0x10
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [ebp + 0x18]
mov word [ebp - 0x14], 2
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
jmp 0x43911f
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464a9b
leave
ret

Function at 0x43bad1
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
mov esi, ecx
call fcn.004390ab
push 1
push eax
mov dword [esi + 0xc], eax
call fcn.00438831
add esp, 0xc
test al, al
je 0x43bb45
mov eax, dword [ebp + 8]
mov cx, word [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xc]
mov word [ebp - 0x14], 2
mov word [ebp - 0x12], cx
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [esi + 4]
push esi
push dword [esi + 0xc]
mov dword [esi + 0x10], 1
call fcn.0043b323
mov ecx, dword [esi + 4]
push esi
push dword [esi + 0xc]
call fcn.0043b83d
mov al, 1
jmp 0x43bb5a
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x43bb54
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [esi + 0xc], 0xffffffff
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00464a9b
leave
ret 4
Function at 0x43da2f
Capabilities:
Initialize winsock library

Disassembly:
push 0x198
mov eax, 0x4978ae
call fcn.00464b13
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x1a4], esi
mov dword [esi], 0x4a3524
call fcn.004387e3
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.0041e4c7
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 1
call fcn.0041e4c7
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.0041e4c7
mov dword [esi + 0x350], ebx
mov byte [esi + 0x354], bl
lea eax, [esi + 0x358]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x368]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x378]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea ecx, [esi + 0x388]
call fcn.004387e3
lea ecx, [esi + 0x3a4]
mov byte [ebp - 4], 7
call fcn.00439779
mov eax, dword [ebp + 8]
mov dword [esi + 0x3b0], eax
mov eax, dword [eax + 0x10]
add eax, 2
push eax
lea ecx, [esi + 0x3b4]
mov byte [ebp - 4], 8
call fcn.004394c7
mov eax, 0x43d94b
push eax
lea edi, [esi + 0x3cc]
push esi
mov ecx, edi
mov byte [esi + 0x3c8], bl
call fcn.0043889f
lea eax, [esi + 0x3ec]
mov dword [esi + 0x3e8], ebx
lea ecx, [esi + 0x3fc]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
call fcn.004387e3
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
mov ecx, edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x24c], ebx
call fcn.004302ce
mov eax, esi
call fcn.00464b96
ret 4
Function at 0x43eacb
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x447c5d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x447c7f
cmp word [eax], 0
je 0x447c7f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x447c7f
and al, 0x10
cmp al, 0x10
setne al
ret
xor al, al
ret

Function at 0x447c82
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push esi
push edi
lea esi, [ebp + 0x1b4]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x1c4]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x447ce7
push dword [ebp - 0x78]
lea eax, [ebp - 0x60]
push str.CLSID_sLocalServer32
push 0x103
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push dword [ebp - 0x78]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x60]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x447d02
xor al, al
jmp 0x447d38
push ebx
lea eax, [ebp - 0x7c]
push eax
push esi
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push dword [ebp - 0x74]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x447d2c
xor bl, bl
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.00464a9b
add ebp, 0x1ac
leave
ret 0x14
Function at 0x4481ee
Capabilities:
Enumerate process modules

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x8c
mov eax, 0x4989a1
call fcn.00464aaa
xor ebx, ebx
push 0x1fe
lea eax, [ebp + 2]
push ebx
push eax
mov esi, ecx
mov word [ebp], bx
call fcn.004665b0
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0xc
cmp dword [ebp + 0x20c], ebx
jbe 0x4482e1
cmp byte [ebp + 0x210], bl
je 0x4482e9
push dword [ebp + 0x20c]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x44827b
lea eax, [ebp]
push str.Unknown_Process__OpenProcessError_
push eax
call fcn.0046a378
pop ecx
pop ecx
jmp 0x448317
lea ecx, [ebp - 0x28]
push ecx
push 4
lea ecx, [ebp - 0x14]
push ecx
push eax
call sub.PSAPI.DLL_EnumProcessModules
cmp eax, ebx
lea eax, [ebp]
je 0x4482c9
push 0xff
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
jne 0x4482d6
push 0x200
lea eax, [ebp]
push ebx
push eax
call fcn.004665b0
lea eax, [ebp]
push str.Unknown_Process__GetModuleBaseNameError_
push eax
call fcn.0046a378
add esp, 0x14
jmp 0x4482d6
push str.Unknown_Process__EnumProcessModulesError_
push eax
call fcn.0046a378
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x448317
cmp byte [ebp + 0x210], bl
jne 0x4482fe
push str.No_pid_option_found_in_CmdLine
lea eax, [ebp]
push 0x100
push eax
call edi
add esp, 0xc
jmp 0x448317
push dword [ebp + 0x20c]
lea eax, [ebp]
push str.Unknown_ProcessID._PID___d
push 0x100
push eax
call edi
add esp, 0x10
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x98]
call fcn.004041de
push eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], ebx
call fcn.0044df21
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1f8]
mov byte [ebp - 4], 1
call fcn.0040200d
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.004020be
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.004021e1
push 0x200
lea eax, [ebp]
push ebx
push eax
call fcn.004665b0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push 0x4a3d24
lea eax, [ebp]
push 0x14
push eax
call edi
add esp, 0x24
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x60]
call fcn.004041de
push eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 4], 2
call fcn.0044df21
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x214]
mov byte [ebp - 4], 3
call fcn.0040200d
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.004020be
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.004021e1
push ebx
lea ecx, [esi + 0x268]
call fcn.004596f0
push eax
call fcn.004325ba
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.00464a9b
add ebp, 0x204
leave
ret 8