joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441450
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b5188
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x62d330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0045d751
sub esp, 8
mov ecx, esi
push eax
call fcn.00441a10
mov dword [0x63d3b4], esi
call fcn.004179b0
call fcn.00421030
push 0x63d410
mov byte [0x63d3ad], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
movdqa xmm0, xmmword [0x603990]
movdqa xmmword [0x63d440], xmm0
call fcn.0043e8a0
sub esp, 0x18
mov edx, 0x693825
mov ecx, esp
call fcn.0043ef00
lea ecx, [esp + 0x20]
call fcn.00440210
add esp, 0x18
mov dword [esp + 0x30], 0
mov ecx, esi
push dword [eax]
call fcn.0045b0ac
mov dword [esp + 0x30], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [esp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44151f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
mov edx, 0x3b9cdb
mov ecx, esp
call fcn.0043ef00
call fcn.00440300
add esp, 0x18
lea ecx, [esp + 0xc]
mov edx, 0x83bd48
call fcn.0043ef00
cmp dword [esp + 0x20], 0x10
jb 0x441557
push dword [esp + 0xc]
call fcn.0044ea58
add esp, 4
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov dword [0x63d368], 0x440a30
call fcn.0041b0a0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x441df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00459783

Function at 0x442290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4422a5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4422e4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4422e0
lea ebx, [ebx]
cmp esi, edx
jae 0x4422e4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4422d0
cmp esi, edx
jb 0x4422e9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x442a10
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x442a99
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp + 8]
neg eax
push 0
sbb eax, eax
push 0
and eax, 2
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x1c]
neg eax
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005743e5
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.005743e5
mov esp, ebp
pop ebp
ret 4
Function at 0x4437f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b549b
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x62d330]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
push esi
push edi
mov eax, dword [0x62d330]
xor eax, esp
push eax
lea eax, [esp + 0x678]
mov dword fs:[0], eax
mov ebx, edx
mov dword [esp + 0x10], ebx
mov esi, ecx
mov dword [esp + 0x14], esi
push 0
push 0x600beb
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00404be0
xor eax, eax
mov dword [esp + 0x680], 0
mov word [esp + 0x54], ax
test ebx, ebx
je 0x4439cc
lea eax, [esp + 0x54]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4439cc
mov eax, dword [0x6027ac]
lea edi, [esp + 0x54]
mov dword [esp + 0x4c], eax
xor ebx, ebx
mov ax, word [0x6027b0]
mov word [esp + 0x50], ax
jmp 0x4438c0
mov ax, word [edi]
mov word [esp + 0x4c], ax
lea eax, [esp + 0x25c]
push 0x104
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4439b0
lea esi, [esp + 0x25c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4438f2
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x4439b0
push esi
lea eax, [esp + 0x260]
push eax
push dword [esp + 0x18]
call fcn.00577aa7
add esp, 0xc
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x4439b0
mov eax, dword [esp + 0x10]
lea eax, [eax + esi*2]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x46c]
push 0x6027a0
push eax
call fcn.00444ff0
add esp, 0x10
lea edx, [esp + 0x464]
lea ecx, [esp + 0x1c]
call fcn.00422150
mov esi, eax
lea eax, [esp + 0x34]
cmp eax, esi
je 0x44399d
cmp dword [esp + 0x48], 0x10
jb 0x44397e
push dword [esp + 0x34]
call fcn.0044ea58
add esp, 4
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.004045a0
cmp dword [esp + 0x30], 0x10
jb 0x4439b0
push dword [esp + 0x1c]
call fcn.0044ea58
add esp, 4
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4439b0
test ebx, ebx
jne 0x4439c8
cmp word [edi], bx
jne 0x4438c0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call fcn.004044d0
cmp dword [esp + 0x48], 0x10
jb 0x4439eb
push dword [esp + 0x34]
call fcn.0044ea58
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.005743e5
mov esp, ebp
pop ebp
ret
Function at 0x443a20
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b54f2
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
push 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push 0x600bff
mov dword [ebp - 0x228], edi
mov byte [edi], 0
call fcn.00404be0
push esi
push 0
mov dword [ebp - 4], 0
push 0x410
mov dword [ebp - 0x224], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x443b7e
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.005787f0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x443b77
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x240]
call fcn.004437f0
mov esi, eax
cmp edi, esi
je 0x443b60
cmp dword [edi + 0x14], 0x10
jb 0x443b0f
push dword [edi]
call fcn.0044ea58
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x443b39
mov eax, dword [esi + 0x10]
inc eax
je 0x443b43
push eax
push esi
push edi
call fcn.005745e0
add esp, 0xc
jmp 0x443b43
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x22c], 0x10
jb 0x443b77
push dword [ebp - 0x240]
call fcn.0044ea58
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 - 0x10]
xor ecx, ebp
call fcn.005743e5
mov esp, ebp
pop ebp
ret
Function at 0x4442f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b08f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047b0
lea ecx, [ebp - 0x1c]
call fcn.00443ba0
mov eax, dword [ebp - 0x18]
add esp, 0x18
mov ebx, dword [ebp - 0x1c]
xor edi, edi
sub eax, ebx
sar eax, 2
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4443b5
lea esp, [esp]
push dword [ebx + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x444390
test ebx, ebx
je 0x4443c2
push ebx
call fcn.0044ea58
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x4443d3
push dword [ebp + 8]
call fcn.0044ea58
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005743e5
mov esp, ebp
pop ebp
ret

Function at 0x4443f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0e78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00444140
mov ebx, dword [ebp - 0x18]
xor edi, edi
mov eax, dword [ebp - 0x1c]
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x444487
nop
push dword [eax + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, ebx
jb 0x444460
test eax, eax
je 0x444494
push eax
call fcn.0044ea58
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005743e5
mov esp, ebp
pop ebp
ret
Function at 0x4444b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5608
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047b0
call fcn.0042c850
add esp, 0x18
test al, al
je 0x44468a
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444528
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub ecx, edx
push 0
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444550
push edx
sub eax, ebx
lea ecx, [ebp - 0x218]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047b0
lea ecx, [ebp - 0x438]
call fcn.0042dc10
add esp, 0x18
lea esi, [ebp - 0x438]
cmp dword [ebp - 0x424], 0x10
cmovae esi, dword [ebp - 0x438]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4445b4
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4445d3
push edx
sub eax, ebx
lea ecx, [ebp - 0x420]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x474], 0x3c
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x474]
push eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x458], 5
mov dword [ebp - 0x454], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x424], 0x10
jb 0x44466f
push dword [ebp - 0x438]
call fcn.0044ea58
add esp, 4
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x44469b
push dword [ebp + 8]
call fcn.0044ea58
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005743e5
mov esp, ebp
pop ebp
ret
Function at 0x444940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5688
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x62e8ec], 0x10
mov ecx, 0x62e8d8
push 0
cmovae ecx, dword [0x62e8d8]
mov edx, 0x600c26
mov dword [ebp - 0x5c], 0
call fcn.00405ec0
add esp, 4
test eax, eax
jne 0x4449a3
cmp dword [0x62e8e8], eax
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x4449d5
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x62e8d8
mov byte [esi], 0
call fcn.004047b0
jmp 0x444b33
cmp dword [0x63d22c], 1
jne 0x444a5c
xorps xmm0, xmm0
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x58]
movlpd qword [ebp - 0x68], xmm0
call fcn.00444d40
mov edx, 0x600c25
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00412f80
test al, al
je 0x444a44
mov edx, 0x6027c0
lea ecx, [ebp - 0x58]
call fcn.00412f80
test al, al
je 0x444a44
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov ecx, 0x62e8d8
push eax
call fcn.004047b0
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004044d0
lea ecx, [ebp - 0x58]
call fcn.00404540
jmp 0x444b33
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 0x10
jb 0x444a5c
push dword [ebp - 0x58]
call fcn.0044ea58
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00443570
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, 0x600c27
push 0
cmovae ecx, dword [ebp - 0x28]
call fcn.00405ec0
add esp, 4
test eax, eax
jne 0x444a91
cmp dword [ebp - 0x18], eax
setne al
test eax, eax
sete al
test al, al
je 0x444aa1
push 2
push 0x6027c8
jmp 0x444ac3
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x444abc
test al, 0x10
jne 0x444acb
push 2
push 0x6027c4
lea ecx, [ebp - 0x28]
call fcn.00404be0
push 0x6027cc
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00409970
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x62e8d8
call fcn.004047b0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004044d0
cmp dword [ebp - 0x2c], 0x10
jb 0x444b10
push dword [ebp - 0x40]
call fcn.0044ea58
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x444b33
push dword [ebp - 0x28]
call fcn.0044ea58
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005743e5
mov esp, ebp
pop ebp
ret
Function at 0x444b50
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b56bb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d0], edx
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1bc]
push 0
push 0x600c39
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1a8], 0xf
mov dword [ebp - 0x1ac], 0
mov byte [ebp - 0x1bc], 0
call fcn.00404be0
push esi
push 1
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 4], 0
call fcn.004257f0
push 2
push 0x6027d0
lea ecx, [ebp - 0x1bc]
call fcn.004046c0
cmp dword [ebp - 0x1a8], 0x10
lea esi, [ebp - 0x1bc]
cmovae esi, dword [ebp - 0x1bc]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444c00
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub eax, edx
push 0
push 0
inc eax
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444c23
push edx
sub eax, ebx
lea ecx, [ebp - 0x1a4]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
cmp dword [ebp - 0x1a8], 0x10
lea ecx, [ebp - 0x1cc]
push ecx
lea ecx, [ebp - 0x1c4]
push ecx
lea ecx, [ebp - 0x1c0]
push ecx
lea ecx, [ebp - 0x1c8]
lea eax, [ebp - 0x1bc]
cmovae eax, dword [ebp - 0x1bc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov edi, dword [ebp - 0x1c0]
mov ebx, eax
mov eax, dword [ebp - 0x1d4]
mov esi, dword [ebp - 0x1c8]
push 0
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x1d0]
mov dword [eax + 4], 0
push dword [eax + 4]
mov dword [eax], esi
push esi
call fcn.0057b2f0
mov ecx, dword [ebp - 0x1d0]
push edx
push eax
push 0
push dword [ebp - 0x1cc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
call fcn.0057b2f0
mov ecx, dword [ebp - 0x1d0]
push 0
push edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ecx + 4], edx
mov dword [eax], esi
mov esi, eax
mov dword [esi + 4], 0
push dword [esi + 4]
push dword [esi]
call fcn.0057b2f0
push edx
push eax
push 0
push dword [ebp - 0x1c4]
call fcn.0057b2f0
cmp dword [ebp - 0x1a8], 0x10
mov dword [esi], eax
mov dword [esi + 4], edx
jb 0x444d1e
push dword [ebp - 0x1bc]
call fcn.0044ea58
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005743e5
mov esp, ebp
pop ebp
ret
Function at 0x4483d0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov dword [ebp - 0x218], eax
test edi, edi
je 0x4484f2
lea eax, [ebp - 0x210]
push eax
push 0x5faaec
push 1
push 0
push 0x5faddc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4484f2
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5fae3c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4484e6
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
test esi, esi
jne 0x44845d
push dword [0x639f5c]
jmp 0x44845e
push esi
push eax
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x218]
test edx, edx
je 0x448479
mov eax, dword [ebp - 0x210]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x210]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x4484a0
mov eax, dword [ebp - 0x210]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test ebx, ebx
je 0x4484bf
push ebx
push edi
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.00577c75
add esp, 0x10
jmp 0x44854b
push 0x5c
test esi, esi
je 0x4484c8
push esi
jmp 0x4484ce
push dword [0x639f5c]
call fcn.00577a01
add esp, 8
test eax, eax
jne 0x448505
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005743e5
mov esp, ebp
pop ebp
ret
push eax
push edi
lea eax, [ebp - 0x20c]
push 0x6028e0
push eax
call fcn.00577c75
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448524
sub ecx, edx
mov eax, 0x6b
sar ecx, 1
mov dword [ebp + ecx*2 - 0x212], 0x6e006c
mov word [ebp + ecx*2 - 0x20e], ax
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop edi
setns al
xor ecx, ebp
pop esi
pop ebx
call fcn.005743e5
mov esp, ebp
pop ebp
ret
Function at 0x4488b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x62d330]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
mov esi, ecx
mov dword [esp + 8], 0
xor ecx, ecx
jmp 0x4488e0
movzx eax, word [ecx + 0x6028f8]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x26], ax
test ax, ax
jne 0x4488e0
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x44893b
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x600c75
mov byte [esi], 0
call fcn.00404be0
mov eax, esi
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.005743e5
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x448964
xor ecx, ecx
movzx eax, word [ecx + 0x6028fc]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x26], ax
test ax, ax
jne 0x448950
push dword [esp + 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.00422150
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004044d0
cmp dword [esp + 0x24], 0x10
jb 0x44899a
push dword [esp + 0x10]
call fcn.0044ea58
add esp, 4
mov ecx, dword [esp + 0x234]
mov eax, esi
pop esi
xor ecx, esp
call fcn.005743e5
mov esp, ebp
pop ebp
ret

Function at 0x449370
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x61], 0
jne 0x449385
cmp byte [ecx + 0x60], 0
je 0x449385
mov byte [ecx + 0x60], 0
jmp fcn.00449390
ret
Function at 0x44a050
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4549
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
call fcn.0040c0b0
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [esi + 0x4e], al
push 4
setne al
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 6
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0x600c9d
lea ecx, [edi + 4]
mov byte [edi], 1
call fcn.00404be0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005743e5
mov esp, ebp
pop ebp
ret 4
Function at 0x44e3f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x2d], 0
jne 0x44e405
cmp byte [ecx + 0x2c], 0
je 0x44e405
mov byte [ecx + 0x2c], 0
jmp fcn.0044e410
ret