joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e820
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00401e20
mov eax, dword [0x56675c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x568100]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x46e9f8
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x46e947
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x46e947
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x46e925
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x46e8a9
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x46e9b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x46ea18
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x46e9f3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x46ea18
jmp 0x46e882
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004041f0
mov esp, ebp
pop ebp
ret
Function at 0x46ea30
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00401e20
mov eax, dword [0x56675c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x568100]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x46ec1b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x46eb66
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x46eb66
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x46eb42
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x46eab9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x46ebd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x46ec3b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x46ec16
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x46ec3b
jmp 0x46ea92
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004041f0
mov esp, ebp
pop ebp
ret
Function at 0x477a70
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x4c]
call fcn.00461880
lea ecx, [ebp - 0x34]
call fcn.00461880
call fcn.0045e630
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00460650
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x477ac3
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x34]
call fcn.004619a0
lea ecx, [ebp - 0x4c]
call fcn.004619a0
mov eax, dword [ebp - 8]
jmp 0x477b38
call fcn.0045e630
push eax
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00460650
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x477afe
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
call fcn.004619a0
lea ecx, [ebp - 0x4c]
call fcn.004619a0
mov eax, dword [ebp - 0x10]
jmp 0x477b38
lea ecx, [ebp - 0x34]
call fcn.00461fa0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.00461fa0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
call fcn.004619a0
lea ecx, [ebp - 0x4c]
call fcn.004619a0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x401aed
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
lea eax, [ebp - 8]
xor esi, esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call fcn.004018c8
pop ecx
cmp eax, esi
je 0x401b12
push 5
pop eax
jmp 0x401bcf
cmp dword [ebp - 8], esi
jne 0x401b1b
push 3
jmp 0x401b0c
push ebx
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
or dword [ebp - 0x18], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
push 0x44
pop edi
push edi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00402ec0
push dword [ebp + 8]
mov dword [ebp - 0x5c], edi
call fcn.00403951
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push edi
mov ebx, eax
call fcn.004038c3
pop ecx
push 5
pop edi
cmp ebx, esi
jne 0x401b78
mov dword [ebp - 4], edi
cmp dword [ebp - 4], esi
jne 0x401ba9
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x401b90
mov dword [ebp - 4], edi
cmp dword [ebp - 4], esi
jne 0x401ba9
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x401ba9
mov dword [ebp - 4], edi
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x18]
call edi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401d25
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x412320]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
mov eax, dword [ebp + 0x1ac]
push ebx
push esi
mov esi, dword [ebp + 0x1b0]
push 0x104
lea ecx, [ebp - 0x68]
push ecx
push 0xffffffffffffffff
push eax
xor ebx, ebx
push ebx
push 0xfde9
mov dword [ebp - 0x6c], 0xfffffffd
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x401e01
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x78], eax
cmp eax, ebx
je 0x401e01
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x70], eax
cmp eax, ebx
je 0x401e00
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x68]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x401df3
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x40e484
push dword [ebp - 0x70]
mov dword [ebp - 0x74], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x401df3
mov eax, dword [ebp - 0x7c]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
movzx ecx, word [eax + 8]
mov dword [esi + 4], ecx
movzx ecx, word [eax + 0xe]
mov dword [esi + 8], ecx
movzx eax, word [eax + 0xc]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x70]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov ecx, dword [ebp + 0x1a0]
mov eax, dword [ebp - 0x6c]
pop esi
xor ecx, ebp
pop ebx
call fcn.004024bc
add ebp, 0x1a4
leave
ret
Function at 0x4024bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412320]
jne 0x4024c6
repz ret
jmp fcn.00403ae7

Function at 0x404cec
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406dfb
and dword [ebp - 4], 0
cmp dword [0x4134c8], 0
mov ebx, eax
jne 0x404d9d
push 0x40e914
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x404e4e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
test eax, eax
je 0x404e4e
push eax
call fcn.00406d89
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4134c8], eax
call esi
push eax
call fcn.00406d89
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4134cc], eax
call esi
push eax
call fcn.00406d89
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x4134d0], eax
call esi
push eax
call fcn.00406d89
pop ecx
mov dword [0x4134d8], eax
test eax, eax
je 0x404d9d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406d89
pop ecx
mov dword [0x4134d4], eax
mov eax, dword [0x4134d4]
cmp eax, ebx
je 0x404df5
cmp dword [0x4134d8], ebx
je 0x404df5
push eax
call fcn.00406e04
push dword [0x4134d8]
mov esi, eax
call fcn.00406e04
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404df5
test edi, edi
je 0x404df5
call esi
test eax, eax
je 0x404dec
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404dec
test byte [ebp - 0xc], 1
jne 0x404df5
or dword [ebp + 0x10], 0x200000
jmp 0x404e2e
mov eax, dword [0x4134cc]
cmp eax, ebx
je 0x404e2e
push eax
call fcn.00406e04
pop ecx
test eax, eax
je 0x404e2e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404e2e
mov eax, dword [0x4134d0]
cmp eax, ebx
je 0x404e2e
push eax
call fcn.00406e04
pop ecx
test eax, eax
je 0x404e2e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4134c8]
call fcn.00406e04
pop ecx
test eax, eax
je 0x404e4e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404e50
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40bfb3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406dfb
and dword [ebp - 4], 0
cmp dword [0x413a8c], 0
mov ebx, eax
jne 0x40c064
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c115
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c115
push eax
call fcn.00406d89
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x413a8c], eax
call esi
push eax
call fcn.00406d89
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x413a90], eax
call esi
push eax
call fcn.00406d89
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x413a94], eax
call esi
push eax
call fcn.00406d89
pop ecx
mov dword [0x413a9c], eax
test eax, eax
je 0x40c064
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406d89
pop ecx
mov dword [0x413a98], eax
mov eax, dword [0x413a98]
cmp eax, ebx
je 0x40c0bc
cmp dword [0x413a9c], ebx
je 0x40c0bc
push eax
call fcn.00406e04
push dword [0x413a9c]
mov esi, eax
call fcn.00406e04
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c0bc
test edi, edi
je 0x40c0bc
call esi
test eax, eax
je 0x40c0b3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c0b3
test byte [ebp - 0xc], 1
jne 0x40c0bc
or dword [ebp + 0x10], 0x200000
jmp 0x40c0f5
mov eax, dword [0x413a90]
cmp eax, ebx
je 0x40c0f5
push eax
call fcn.00406e04
pop ecx
test eax, eax
je 0x40c0f5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c0f5
mov eax, dword [0x413a94]
cmp eax, ebx
je 0x40c0f5
push eax
call fcn.00406e04
pop ecx
test eax, eax
je 0x40c0f5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x413a8c]
call fcn.00406e04
pop ecx
test eax, eax
je 0x40c115
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c117
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4023c4
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4023d6
call fcn.0077bc94
mov eax, dword [0x78f09f]
shl eax, 2
mov dword [0x78f0a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov edx, eax
mov dword [0x78f0a7], edx
call fcn.0076ccec
pop edx
call fcn.0076cba8
call fcn.0076cde8
push 0x78f048
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov dword [0x78f0a7], eax
push 0
jmp 0x77d5a4
push ebx
push edi
push esi
sub esp, 0x4c
mov esi, dword [esp + 0x5c]
mov eax, dword [esi + 0x10]
and eax, 1
mov dword [0x7b56c0], eax
call fcn.0076cdb4
push dword [esi + 0x20]
push dword [esi + 0x1c]
call fcn.00778a2c
add esp, 8
push dword [esi + 0x28]
call fcn.0076e68c
add esp, 4
push dword [esi + 0x44]
call fcn.0076e69c
add esp, 4
mov dword [0x7c525c], 1
mov dword [0x7c5260], esi
mov eax, esp
mov dword [0x7c5224], eax
call fcn.0077e4f8
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [0x7c522c], eax
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x7c5234], eax
push dword [esi + 0x30]
push dword [esi + 0x2c]
call fcn.0077c104
add esp, 8
push dword [esi + 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x34]
call fcn.0077c13c
add esp, 0x10
push 0
push 0x7c525c
call fcn.0077d3a0
add esp, 8
test byte [esi + 0x10], 1
jne 0x77d66d
push dword [0x7c5250]
push dword [0x7c524c]
push dword [0x7c5240]
call dword [esi + 0x18]
add esp, 0xc
push 0xffffffffffffffff
push eax
push 0
push 0
jmp 0x77d71d
mov edi, dword [0x7c5234]
nop
add edi, 2
movzx eax, word [edi - 2]
cmp eax, 9
je 0x77d674
movzx ecx, ax
cmp ecx, 0x20
je 0x77d674
cmp ecx, 0x22
jne 0x77d697
mov ax, word [edi]
mov ecx, 0x22
jmp 0x77d69f
add edi, 0xfffffffe
mov ecx, 0x20
movzx edx, ax
cmp ecx, edx
je 0x77d6cc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test ax, ax
je 0x77d6cc
movzx edx, ax
cmp edx, 9
je 0x77d6cc
movzx eax, word [edi + 2]
add edi, 2
cmp ecx, eax
jne 0x77d6b4
movzx eax, ax
cmp eax, 0x22
jne 0x77d6d7
add edi, 2
movzx eax, word [edi]
cmp eax, 0x20
je 0x77d6d4
movzx eax, ax
cmp eax, 9
je 0x77d6d4
mov ebx, dword [esi + 0x18]
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov esi, eax
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetStartupInfoW
mov eax, dword [esp + 0x34]
test al, 1
mov eax, 0xa
je 0x77d70f
movzx eax, word [esp + 0x38]
push eax
push edi
push 0
push esi
call ebx
push 0xffffffffffffffff
push eax
push 0
push 0
call fcn.0077bf3c
add esp, 0x10
add esp, 0x4c
pop esi
pop edi
pop ebx
ret
Function at 0x407bd8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xe4
mov dword [ebp - 0x4c], eax
mov eax, esp
lea esi, [ebp - 0x4c]
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], ecx
call fcn.00407b78
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], 0x780834
mov dword [ebp - 0x24], 0x792f08
mov ecx, ebp
mov dword [ebp - 0x20], ecx
mov ecx, esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], 0x407fba
mov dword [ebp - 0x3c], 1
lea eax, [ebp - 0x44]
call fcn.007811a9
mov eax, esp
lea ecx, [ebp - 0x50]
mov dword [eax + 4], ecx
mov dword [eax], ecx
call fcn.00407b78
jmp 0x407c41
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], 0xffffffff
mov byte [ebp - 0x61], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x3c], 2
mov ecx, esp
lea edx, [ebp - 0x50]
mov dword [ecx + 4], edx
lea edx, [ebp - 0x68]
mov dword [ecx], edx
call fcn.00407fe0
jmp 0x407c74
jmp 0x407c76
Function at 0x41707c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4bc
mov ecx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x257], 0
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov eax, dword [ebp - 0x48]
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], 0x791b24
mov dword [ebp - 0x478], ecx
call fcn.00785588
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], 0x780834
mov dword [ebp - 0x24], 0x793ea8
mov ecx, ebp
mov dword [ebp - 0x20], ecx
mov ecx, esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], 0x417379
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x47c], eax
mov eax, ecx
call fcn.007811a9
mov eax, esp
lea ecx, [ebp - 0x256]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x47c]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax], 0
call fcn.0078deac
sub esp, 0x14
mov dword [ebp - 0x480], eax
jmp 0x41712a
mov eax, dword [ebp - 0x480]
cmp eax, 0
jl 0x41730e
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x3c], 2
mov eax, esp
lea ecx, [ebp - 0x256]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x470]
mov dword [eax], ecx
call fcn.0078574c
jmp 0x417164
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x3c], 3
mov eax, esp
lea ecx, [ebp - 0x474]
mov dword [eax], ecx
mov dword [eax + 4], 0x791d6a
call fcn.00785588
jmp 0x41718d
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x3c], 4
mov eax, esp
lea ecx, [ebp - 0x46c]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x4171af
mov dword [ebp - 0x3c], 5
mov eax, esp
lea ecx, [ebp - 0x474]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x470]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x46c]
mov dword [eax], ecx
call fcn.00785ebc
jmp 0x4171d9
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], 6
mov ecx, esp
lea edx, [ebp - 0x46c]
mov dword [ecx + 4], edx
mov dword [ecx], eax
call fcn.00785cc0
mov dword [ebp - 0x484], eax
jmp 0x4171fd
lea eax, [ebp - 0x46c]
mov dword [esp], eax
call fcn.0078556c
lea eax, [ebp - 0x474]
mov dword [esp], eax
call fcn.0078556c
lea eax, [ebp - 0x470]
mov dword [esp], eax
call fcn.0078556c
jmp 0x41730e
mov byte [ebp - 0x257], 1
test byte [ebp - 0x257], 1
jne 0x417346
jmp 0x41733b
jmp 0x4172fc
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.0078556c
jmp 0x417348
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.007811ca
mov eax, dword [ebp - 0x478]
add esp, 0x4bc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41ca98
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x88
mov ecx, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x10
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x28], 0x780834
mov dword [ebp - 0x24], 0x794518
mov eax, ebp
mov dword [ebp - 0x20], eax
mov eax, esp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x41cb94
mov dword [ebp - 0x3c], 1
lea eax, [ebp - 0x44]
mov dword [ebp - 0x68], ecx
call fcn.007811a9
mov eax, esp
lea ecx, [ebp - 0x4c]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x5c]
mov dword [eax], ecx
call sub.KERNEL32.DLL_GetComputerNameA
sub esp, 8
mov dword [ebp - 0x6c], eax
jmp 0x41caff
jmp 0x41cb2e
xor eax, eax
mov ecx, 4
lea edx, [ebp - 0x5c]
mov esi, dword [ebp - 0x48]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], edx
call fcn.0076d60f
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], 0xffffffff
mov dword [esp], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], eax
call fcn.00417010
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.007811ca
mov eax, dword [ebp - 0x68]
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4246c4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [ebp + 8]
mov ecx, 2
xor edx, edx
mov dword [ebp - 8], 0
mov dword [esp], 2
mov dword [esp + 4], 0
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x244], edx
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
sub esp, 8
mov ecx, 0xffffffff
mov dword [ebp - 8], eax
cmp dword [ebp - 8], ecx
jne 0x424720
mov dword [ebp - 4], 0
jmp 0x4247e1
xor eax, eax
mov ecx, 0x22c
lea edx, [ebp - 0x238]
mov dword [ebp - 0xc], 0
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x22c
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x24c], ecx
call fcn.0076d60f
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x238], 0x22c
mov edx, dword [ebp - 8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [ebp - 0x250], eax
call sub.KERNEL32.DLL_Process32FirstW
sub esp, 8
cmp eax, 0
jne 0x424787
jmp 0x4247c0
jmp 0x424789
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 8]
jne 0x42479f
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0xc], eax
jmp 0x4247be
jmp 0x4247a1
lea eax, [ebp - 0x238]
mov ecx, dword [ebp - 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sub.KERNEL32.DLL_Process32NextW
sub esp, 8
cmp eax, 0
jne 0x424789
jmp 0x4247c0
cmp dword [ebp - 8], 0
je 0x4247db
mov eax, dword [ebp - 8]
mov ecx, esp
mov dword [ecx], eax
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add esp, 0x260
pop ebp
ret