joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494068
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4940fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00402e34
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.004095bc
cmp dword [ebp - 0x108], 0
jne 0x4940d6
mov eax, ebx
call fcn.00404230
jmp 0x4940e3
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004095bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494103
lea eax, [ebp - 0x108]
call fcn.00404230
ret

Function at 0x427d60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
mov dword [edi + 0x1b0c0], 0x44c617a1
push edi
or ebp, 0xffffffff
jmp 0x427d8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427d91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427d80
mov eax, 1
add ebx, ebx
jne 0x427da3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427d98
jne 0x427db4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427d98
xor ecx, ecx
sub eax, 3
jb 0x427dc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427e3a
mov ebp, eax
add ebx, ebx
jne 0x427dd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427de0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427e04
inc ecx
add ebx, ebx
jne 0x427df0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427de5
jne 0x427e01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427de5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427e24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427e15
jmp 0x427d86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427e24
add edi, ecx
jmp 0x427d86
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427e42
cmp byte [edi], 6
jne 0x427e42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x427e47
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x427eb6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x272a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x427e74
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x272a8]
or eax, eax
je 0x427eb0
mov dword [ebx], eax
add ebx, 4
jmp 0x427e91
call dword [esi + 0x272ac]
popal
jmp 0x41a4b8
Function at 0x401000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call fcn.00401dd2
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop ecx
xor ebx, ebx
push esi
call edi
cmp eax, 0xffffffff
je 0x401036
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.00401dd2
inc ebx
pop ecx
cmp ebx, 0xa
jl 0x401016
push esi
call edi
inc eax
pop edi
neg eax
sbb eax, eax
pop esi
inc eax
pop ebx
ret

Function at 0x401084
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push str.E5C53971_D80E_4500_BE0D_761BF3CD8457
xor ebx, ebx
push 1
push ebx
mov dword [0x515fbc], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x515fd4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4010d5
push dword [0x515fd4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x515fd4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x2711
jmp 0x4011b4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, 0x412060
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
lea ecx, [ebp - 4]
push ecx
push eax
movsb byte es:[edi], byte [esi]
call fcn.00401043
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x40118c
lea eax, [edi - 1]
mov ebx, str.SILENCE
mov dword [0x515fc0], eax
mov esi, str.CHECKSUM
push str.SILENT
call fcn.00407c20
push eax
push str.SILENT
push edi
call fcn.00407adb
add esp, 0x10
test eax, eax
je 0x40116e
push ebx
call fcn.00407c20
push eax
push ebx
push edi
call fcn.00407adb
add esp, 0x10
test eax, eax
je 0x40116e
push esi
call fcn.00407c20
push eax
push esi
push edi
call fcn.00407adb
add esp, 0x10
test eax, eax
jne 0x401178
push esi
call fcn.00407c20
add eax, edi
push eax
call fcn.00407a50
pop ecx
mov dword [0x412040], eax
pop ecx
jmp 0x401178
mov dword [0x515fcc], 1
lea eax, [ebp - 4]
push eax
push edi
call fcn.00401043
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x401110
xor ebx, ebx
cmp dword [0x515fcc], ebx
pop edi
pop esi
push ebx
je 0x40119e
call fcn.0040147c
jmp 0x4011af
push 0x4011b9
push ebx
push 0x65
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov eax, dword [0x515fd8]
pop ebx
leave
ret 0x10
Function at 0x401d0a
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, 0x515eb8
mov edi, 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x401d30
push edi
push str.C:Temp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
call fcn.00401f3f
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor ebx, ebx
test eax, eax
jne 0x401d51
push esi
call fcn.00402003
pop ecx
push ebx
push esi
call edi
test eax, eax
je 0x401db4
push 0x5c
push esi
call fcn.00407d7e
pop ecx
cmp eax, ebx
pop ecx
je 0x401d66
cmp byte [eax + 1], bl
jne 0x401d66
mov byte [eax], bl
push 0x104
push str.RavTmp
push esi
call fcn.004082d4
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401d9f
push esi
call fcn.00401dd2
pop ecx
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.00402003
pop ecx
push ebx
push esi
call edi
push esi
call fcn.00401f3f
test eax, eax
jne 0x401dcb
cmp dword [esp + 0x10], ebx
jne 0x401dc7
push 0x10
push 9
push ebx
call fcn.004022fc
add esp, 0xc
xor eax, eax
jmp 0x401dce
push 1
pop eax
pop edi
pop esi
pop ebx
ret
Function at 0x401dd2
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
and byte [ebp - 0x104], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp + 8]
test edi, edi
je 0x401f3a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call esi
test eax, eax
jle 0x401f3a
push edi
call esi
mov esi, 0x104
cmp eax, esi
jbe 0x401e2a
push 0x6f
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x401f3a
push 0x103
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
lea eax, [ebp - 0x104]
push str..
push eax
call fcn.00408480
and dword [ebp + 8], 0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401f3a
mov esi, str._s_s
lea eax, [ebp - 0x218]
push 0x412154
push eax
call fcn.004083f0
pop ecx
test eax, eax
pop ecx
je 0x401efe
lea eax, [ebp - 0x218]
push 0x412150
push eax
call fcn.004083f0
pop ecx
test eax, eax
pop ecx
je 0x401efe
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x218]
push eax
push edi
lea eax, [ebp - 0x104]
push esi
push eax
jne 0x401ed7
call fcn.00408391
lea eax, [ebp - 0x104]
push eax
call fcn.00401dd2
add esp, 0x14
jmp 0x401efe
call fcn.00408391
add esp, 0x10
lea eax, [ebp - 0x104]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x244]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401f22
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x401f22
mov dword [ebp + 8], 1
cmp dword [ebp + 8], 0
je 0x401e7a
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401f3f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401f57
test al, 0x10
je 0x401f57
push 1
pop eax
jmp 0x401f59
xor eax, eax
ret 4
Function at 0x401f5c
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
push esi
push esi
push 2
push esi
push 1
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp edi, 0xffffffff
je 0x401f93
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp + 0x10], eax
jbe 0x401f98
or eax, 0xffffffff
jmp 0x401fff
push ebx
push esi
push esi
mov dword [ebp - 4], esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 0xc]
push esi
mov ebx, 0x100000
push eax
mov esi, 0x415eb4
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
test eax, eax
je 0x401ff2
cmp dword [ebp + 0xc], 0
jbe 0x401ff2
lea eax, [ebp - 0xc]
push 0
push eax
push dword [ebp + 0xc]
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xc]
push 0
add dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
push dword [ebp + 8]
jmp 0x401fc0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
leave
ret

Function at 0x40206c
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
push edi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
push edi
push eax
push 0x100000
push 0x415eb4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4020b8
cmp word [0x415eb4], 0x5a4d
jne 0x4020b8
mov ecx, dword [0x415ef0]
cmp dword [ecx + 0x415eb4], 0x4550
je 0x4020bd
or eax, 0xffffffff
jmp 0x4020e8
push esi
xor eax, eax
movzx esi, word [ecx + 0x415eba]
cmp esi, edi
jle 0x4020e7
lea edx, [ecx + 0x415fbc]
mov ecx, dword [edx + 4]
add ecx, dword [edx]
cmp ecx, eax
jbe 0x4020dc
mov eax, ecx
add edx, 0x28
inc edi
movsx ecx, di
cmp ecx, esi
jl 0x4020d1
pop esi
pop edi
leave
ret
Function at 0x4020eb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push 0x44
xor ebx, ebx
pop esi
lea eax, [ebp - 0x74]
push esi
push ebx
push eax
call fcn.00408620
add esp, 0xc
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
cmp dword [0x515fc4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x40212b
push str.__AUTOPATCH
push dword [ebp + 8]
call esi
cmp dword [ebp + 0xc], ebx
je 0x40214f
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40214f
push 0x41216c
push dword [ebp + 8]
call esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4021a0
cmp dword [ebp + 0x10], ebx
mov dword [ebp + 8], ebx
je 0x40218b
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 8]
jmp 0x4021e0
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x2f]
mov byte [ebp - 0x30], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea eax, [ebp - 0x30]
push 0x412168
push eax
call fcn.00408391
add esp, 0xc
lea eax, [ebp - 0x30]
push ebx
push dword [ebp + 8]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x2719
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4021e4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push esi
mov ebx, 0x100000
push eax
mov esi, 0x415eb4
push ebx
push esi
push dword [ebp + 8]
call edi
test eax, eax
je 0x402249
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x402249
lea ecx, [ecx + 0x415eb4]
mov eax, esi
cmp ecx, esi
jbe 0x40223c
mov edx, dword [eax]
add eax, 4
add dword [ebp - 4], edx
cmp eax, ecx
jb 0x402230
lea eax, [ebp - 8]
push 0
push eax
push ebx
push esi
push dword [ebp + 8]
jmp 0x402217
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40297b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14038
call fcn.00408de0
push ebx
push esi
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004089ff
push 0x4121b0
push dword [ebp + 0x14]
call fcn.00408bae
add esp, 0x14
mov dword [ebp + 0xc], eax
test eax, eax
je 0x402aca
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00408620
push 0x38
push str.1.1.3
lea eax, [ebp - 0x38]
push 0xfffffffffffffff1
push eax
mov dword [ebp - 0x14], 0x402b57
mov dword [ebp - 0x18], 0x402b46
call fcn.00402cb0
mov edi, dword [ebp + 0x10]
add esp, 0x1c
mov esi, 0xa000
push 1
pop ebx
test edi, edi
jbe 0x402ace
push dword [ebp + 8]
cmp edi, esi
jbe 0x402a00
push esi
jmp 0x402a01
push edi
lea eax, [ebp - 0x14038]
push ebx
push eax
call fcn.00408917
add esp, 0x10
test eax, eax
je 0x402aa4
and dword [ebp - 8], 0
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14038]
sub edi, eax
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0xa038]
test eax, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], esi
jbe 0x402a80
cmp dword [ebp - 0x28], 0
jne 0x402a65
push dword [ebp + 0xc]
lea eax, [ebp - 0xa038]
push esi
push ebx
push eax
call fcn.004086d9
lea eax, [ebp - 0xa038]
add esp, 0x10
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00402dc0
pop ecx
test eax, eax
pop ecx
jl 0x402aae
cmp eax, ebx
je 0x402a80
cmp dword [ebp - 0x34], 0
ja 0x402a3f
mov eax, esi
sub eax, dword [ebp - 0x28]
je 0x4029ee
push dword [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0xa038]
push eax
call fcn.004086d9
add esp, 0x10
jmp 0x4029ee
push dword [ebp + 0xc]
call fcn.00408683
jmp 0x402ac0
lea eax, [ebp - 0x38]
push eax
call fcn.00402c60
push dword [ebp + 0xc]
call fcn.00408683
pop ecx
pop ecx
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
jmp 0x402b3f
lea eax, [ebp - 0xa038]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0
jne 0x402b00
push dword [ebp + 0xc]
lea eax, [ebp - 0xa038]
push esi
push ebx
push eax
call fcn.004086d9
lea eax, [ebp - 0xa038]
add esp, 0x10
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push 4
push eax
call fcn.00402dc0
pop ecx
test eax, eax
pop ecx
je 0x402ada
sub esi, dword [ebp - 0x28]
je 0x402b2a
push dword [ebp + 0xc]
lea eax, [ebp - 0xa038]
push ebx
push esi
push eax
call fcn.004086d9
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
call fcn.00402c60
push dword [ebp + 0xc]
call fcn.00408683
pop ecx
mov al, bl
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x402b62
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
lea eax, [ebp - 0x12c]
push dword [ebp + 8]
push eax
call fcn.00408391
lea eax, [ebp - 0x12c]
push 0x5c
push eax
call fcn.004085a3
add esp, 0x10
mov esi, eax
test esi, esi
je 0x402bd5
lea eax, [ebp]
cmp esi, eax
jae 0x402bd5
and byte [esi], 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402bc1
lea eax, [ebp - 0x12c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x402bd1
mov byte [esi], 0x5c
inc esi
push 0x5c
push esi
call fcn.004085a3
pop ecx
pop ecx
jmp 0x402b8c
xor eax, eax
jmp 0x402bd8
push 1
pop eax
pop esi
leave
ret 4
Function at 0x443a80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d750b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c6d7e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x443b02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c3b57
mov eax, dword [eax]
push 0x694244
push eax
call fcn.004b5624
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c7009
test bl, bl
je 0x443b02
push 0x694244
lea ecx, [esp + 0xc]
call fcn.004c73e5
push 0x697dbc
lea ecx, [esp + 0xc]
call fcn.004c73e5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x443b3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c7009
jmp 0x443c09
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x443bc2
lea edx, [esp + 0x7c]
push 0x697db8
push edx
call fcn.004b5624
add esp, 8
test eax, eax
je 0x443bc2
lea eax, [esp + 0x7c]
push 0x697db4
push eax
call fcn.004b5624
add esp, 8
test eax, eax
je 0x443bc2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x443b52
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c7009
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x444400
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x444462
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x444470
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d758b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x69f614]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4445a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4444d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c7009
xor eax, eax
jmp 0x44461f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c7192
push esi
lea ecx, [esp + 0xc]
call fcn.004c7421
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x697df4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4445fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00444400
test eax, eax
jne 0x4445fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00444400
test eax, eax
jne 0x4445fd
lea eax, [esp + 0x14]
push 0x697dd0
push eax
call fcn.004b67d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4445dc
lea ecx, [esp + 0x14]
push 0x697dcc
push ecx
call fcn.004b6750
mov esi, eax
add esp, 8
test esi, esi
jne 0x4445dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4445df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c7142
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4444ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c7009
xor eax, eax
jmp 0x44461f
mov byte [esi], 0
push 0x697dc8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004c7009
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4