joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4047c0
Capabilities:
Delete directory

Disassembly:
push ebp
push edi
mov eax, 0x445c
push esi
push ebx
call fcn.0040a610
sub esp, eax
mov eax, dword [esp + 0x4470]
mov dword [esp + 8], 0x1000
lea ebp, [esp + 0x44c]
mov dword [esp + 4], eax
lea eax, [esp + 0x244e]
mov dword [esp], eax
call fcn.00405280
lea eax, [esp + 0x244e]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscpy
mov dword [esp], ebp
call sub.msvcrt.dll_wcslen
mov dword [esp + 0x22c], eax
movzx eax, word [esp + eax*2 + 0x44a]
cmp ax, 0x5c
je 0x404833
cmp ax, 0x2f
jne 0x4048e0
lea ebx, [esp + 0x230]
mov dword [esp + 4], 0x40d2a8
mov dword [esp], ebp
call sub.msvcrt.dll_wcscat
mov dword [esp + 4], ebx
mov dword [esp], ebp
call dword [sym.imp.msvcrt.dll__wfindfirst]
cmp eax, 0xffffffff
mov dword [esp + 0x228], eax
je 0x4048c1
mov edi, esp
mov esi, ebx
mov ecx, 0x87
rep movsd dword es:[edi], dword [esi]
mov eax, ebp
mov edx, dword [esp + 0x22c]
call fcn.00404900
jmp 0x404899
mov edi, esp
mov esi, ebx
mov ecx, 0x87
rep movsd dword es:[edi], dword [esi]
mov eax, ebp
mov edx, dword [esp + 0x22c]
call fcn.00404900
mov eax, dword [esp + 0x228]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wfindnext]
test eax, eax
je 0x404880
mov eax, dword [esp + 0x228]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__findclose]
lea eax, [esp + 0x244e]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wrmdir]
add esp, 0x445c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x40d2a4
mov dword [esp], ebp
call sub.msvcrt.dll_wcscat
add dword [esp + 0x22c], 1
jmp 0x404833

Function at 0x404900
Capabilities:
Delete file

Disassembly:
push edi
push esi
push ebx
push eax
mov eax, 0x101c
call fcn.0040a610
sub esp, eax
mov edi, edx
mov eax, dword [esp + eax]
lea ebx, [esp + 0x1044]
mov dword [esp + 4], 0x40d2ac
mov dword [esp], ebx
mov esi, eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x404940
add esp, 0x1020
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], 0x40d2b0
mov dword [esp], ebx
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x404932
xor eax, eax
mov dword [esp + 4], ebx
mov dword [esp], esi
mov word [esi + edi*2], ax
call sub.msvcrt.dll_wcscat
test byte [esp + 0x1030], 0x10
jne 0x4049a0
mov dword [esp], esi
mov ebx, dword [sym.imp.msvcrt.dll__wremove]
call ebx
test eax, eax
je 0x404932
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
mov dword [esp], esi
call ebx
jmp 0x404932
lea ebx, [esp + 0x1f]
mov dword [esp + 8], 0x1000
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004050e0
mov dword [esp], ebx
call fcn.004047c0
jmp 0x404932
Function at 0x4049f0
Capabilities:
Create directory

Disassembly:
push ebp
push edi
mov eax, 0x405c
push esi
push ebx
call fcn.0040a610
sub esp, eax
mov eax, dword [esp + 0x4070]
lea ebx, [esp + 0x50]
lea esi, [esp + 0x1050]
lea ebp, [esp + 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [esp + 0x4074]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcpy
mov dword [esp], esi
mov dword [esp + 4], 0x40d2b6
lea esi, [esp + 0x2050]
call sub.msvcrt.dll_strtok
mov edi, eax
mov eax, dword [sym.imp.msvcrt.dll__wstat]
test edi, edi
mov dword [esp + 0x1c], eax
je 0x404b00
nop
mov ecx, ebx
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0x404a62
mov eax, edx
shr eax, 0x10
test edx, 0x8080
cmove edx, eax
lea eax, [ecx + 2]
cmove ecx, eax
add dl, dl
sbb ecx, 3
sub ecx, ebx
lea eax, [ebx + ecx + 1]
mov byte [ebx + ecx], 0x5c
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov dword [esp + 4], 0x40d2b6
mov dword [esp], 0
call sub.msvcrt.dll_strtok
test eax, eax
mov edi, eax
je 0x404b00
mov dword [esp + 8], 0x1000
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00405280
mov dword [esp + 4], ebp
mov dword [esp], esi
mov eax, dword [esp + 0x1c]
call eax
test eax, eax
jns 0x404a60
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__wmkdir]
jmp 0x404a60
mov dword [esp + 8], 0x1000
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00405280
mov dword [esp + 4], ebp
mov dword [esp], esi
mov eax, dword [esp + 0x1c]
call eax
test eax, eax
je 0x404b40
mov dword [esp], ebx
mov dword [esp + 4], 0x40d2e9
call fcn.00402ef0
add esp, 0x405c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], ebx
mov dword [esp], str.WARNING:_file_already_exists_but_should_not:__s_n
call fcn.00401e20
jmp 0x404b25
Function at 0x404b60
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push edi
push esi
mov eax, 0x1010
push ebx
call fcn.0040a610
sub esp, eax
mov eax, dword [esp + 0x1020]
mov dword [esp + 4], 0x40d2ec
mov dword [esp], eax
call fcn.00402ef0
mov ebx, eax
mov eax, dword [esp + 0x1028]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1024]
mov dword [esp], eax
call fcn.004049f0
test eax, eax
mov edi, eax
je 0x404c74
test ebx, ebx
je 0x404c74
lea esi, [esp + 0x10]
nop
lea esi, [esi]
mov dword [esp], ebx
call sub.msvcrt.dll_feof
test eax, eax
jne 0x404c70
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1000
mov dword [esp], esi
call sub.msvcrt.dll_fread
cmp eax, 0xffffffff
je 0x404c50
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1000
mov dword [esp], esi
call sub.msvcrt.dll_fwrite
test eax, eax
jle 0x404c1d
mov dword [esp], edi
call sub.msvcrt.dll_ferror
test eax, eax
je 0x404bc0
mov dword [esp], edi
mov esi, 0xffffffff
call sub.msvcrt.dll_clearerr
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov eax, esi
add esp, 0x1010
pop ebx
pop esi
pop edi
ret
mov dword [esp], ebx
call sub.msvcrt.dll_ferror
test eax, eax
je 0x404bc0
mov dword [esp], ebx
mov esi, 0xffffffff
call sub.msvcrt.dll_clearerr
jmp 0x404c2a
xor esi, esi
jmp 0x404c2a
mov eax, 0xffffffff
jmp 0x404c3c
Function at 0x404cf0
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push edi
push esi
mov eax, 0x20a0
push ebx
call fcn.0040a610
sub esp, eax
mov eax, dword [esp + 0x20b0]
lea esi, [esp + 0xa0]
mov dword [esp + 8], 0x1000
mov dword [esp + 0x3c], 0
lea edi, [esp + 0x5c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00405280
mov dword [esp + 4], 1
mov dword [esp], 0x16
call sub.msvcrt.dll_signal
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.msvcrt.dll_signal
mov dword [esp + 4], 1
mov dword [esp], 0xf
call sub.msvcrt.dll_signal
mov dword [esp + 4], 1
mov dword [esp], 0x15
call sub.msvcrt.dll_signal
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 1
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 1
sub esp, 4
mov word [esp + 0x8c], ax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x88], 0x101
mov dword [esp], eax
call sub.msvcrt.dll__fileno
mov ebx, dword [sym.imp.msvcrt.dll__get_osfhandle]
mov dword [esp], eax
call ebx
mov dword [esp + 0x94], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp], eax
call sub.msvcrt.dll__fileno
mov dword [esp], eax
call ebx
mov dword [esp + 0x98], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll__fileno
mov dword [esp], eax
call ebx
mov dword [esp + 0x9c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x4c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x404ea0
mov dword [esp], str.Error_creating_child_process__n
call fcn.00401e20
add esp, 0x20a0
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
sub esp, 8
mov eax, dword [esp + 0x3c]
add esp, 0x20a0
pop ebx
pop esi
pop edi
ret
Function at 0x409a50
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00409ab0

Function at 0x409ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x3c
mov eax, dword [0x41d2f0]
test eax, eax
jle 0x409bb3
mov edx, dword [0x41d2f4]
xor ebx, ebx
mov ecx, dword [edx + 4]
cmp ecx, esi
ja 0x409ae1
mov edi, dword [edx + 8]
add ecx, dword [edi + 8]
cmp esi, ecx
jb 0x409b56
add ebx, 1
add edx, 0xc
cmp ebx, eax
jne 0x409ad0
mov dword [esp], esi
call fcn.0040a3f0
test eax, eax
mov edi, eax
je 0x409bda
lea esi, [ebx + ebx*2]
mov ebx, dword [0x41d2f4]
shl esi, 2
add ebx, esi
mov dword [ebx + 8], eax
mov dword [ebx], 0
call fcn.0040a4e0
add eax, dword [edi + 0xc]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [0x41d2f4]
mov dword [esp + 8], 0x1c
mov eax, dword [eax + esi + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x409bba
mov eax, dword [ebp - 0x20]
cmp eax, 0x40
jne 0x409b60
add dword [0x41d2f0], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 4
je 0x409b4f
cmp eax, 0x80
je 0x409b4f
cmp eax, 8
je 0x409b4f
mov eax, dword [ebp - 0x28]
add esi, dword [0x41d2f4]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0xc], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x409b4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00409a50
xor ebx, ebx
jmp 0x409aeb
mov eax, dword [0x41d2f4]
mov eax, dword [eax + esi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00409a50
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00409a50
lea esi, [esi]

Function at 0x40a310
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x40a348
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x40a33e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x40a34a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x40a330
xor eax, eax
pop ebx
pop esi
ret
Function at 0x741df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x30f000]
push edi
jmp 0x741e0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x741e11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x741e00
mov eax, 1
add ebx, ebx
jne 0x741e23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x741e34
jne 0x741e53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x741e53
dec eax
add ebx, ebx
jne 0x741e40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x741e18
add ebx, ebx
jne 0x741e4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x741ea5
xor ecx, ecx
sub eax, 3
jb 0x741e6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x741eda
sar eax, 1
mov ebp, eax
jmp 0x741e76
add ebx, ebx
jne 0x741e76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x741e44
inc ecx
add ebx, ebx
jne 0x741e84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x741e44
add ebx, ebx
jne 0x741e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x741e86
jne 0x741ea2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x741e86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x741ec4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x741eb6
jmp 0x741e06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x741ec4
add edi, ecx
jmp 0x741e06
pop esi
mov edi, esi
mov ecx, 0x33
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x741ee2
cmp byte [edi], 4
jne 0x741ee2
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 0x741ee7
lea edi, [esi + 0x33f000]
mov eax, dword [edi]
or eax, eax
je 0x741f56
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x341efc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x341f68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x741f14
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x341f70]
or eax, eax
je 0x741f50
mov dword [ebx], eax
add ebx, 4
jmp 0x741f31
call dword [esi + 0x341f6c]
mov ebp, dword [esi + 0x341f74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x741f8a
sub esp, 0xffffff80
jmp 0x40dbaa
Function at 0x40a24b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40a28f
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40a25e
jmp 0x40a28f
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40a27f
pop esi
pop ebp
ret

Function at 0x40b1af
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40b1e4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40b20e
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40b20e
test edi, edi
je 0x40b1db
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40b1db
test edi, edi
je 0x40b216
mov eax, edi
jmp 0x40b1dd
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40b1dd
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_autoland_w32_d_000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040eda6
add esp, 0xc
int3
Function at 0x40edda
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.TestBloomFilter.exe_gMozillaPoisonSize], eax
call fcn.0040b1af
pop ecx
mov ecx, dword [sym.TestBloomFilter.exe_gMozillaPoisonSize]
mov dword [sym.TestBloomFilter.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40ee12
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestBloomFilter.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x401300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push str.TeenyWiny
push str.Balaklava
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401338
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xbc], eax
push str.Times_New
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 8]
push eax
call fcn.00401600
add esp, 4
push str.Roman
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x3c], 0xe
mov dword [ebp - 0x4c], 0xa
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call section..text
add esp, 8
test eax, eax
jne 0x40139c
xor eax, eax
jmp 0x4013d5
push 0
push 0
push 0
lea ecx, [ebp - 0xb8]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4013cf
lea edx, [ebp - 0xb8]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40139c
mov eax, dword [ebp - 0xb0]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x3ad7258d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3ad7a064]
jne 0x3ad72597
repz ret
jmp fcn.3ad73d0c

Function at 0x3ad7344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x3ad7345b
pop dword [ebp - 0x4c]
mov eax, 0xb1845d36
sub eax, 0x76ad28db
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x37911
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xaec9b6c1
sub ecx, 0xaec96eda
mov ebx, eax
mov esi, 0x3ad88e00
add esi, dword [ebp - 0x4c]
mov edx, 0x5b871326
add edx, 0xbab42489
xor dword [ebp - 0x3c], ecx
mov edi, dword [esi]
sub dword [ebp - 0x38], 0xd324dcd6
add edi, edx
sub dword [ebp - 0x44], 0x932b704b
mov dword [ebx], edi
xor dword [ebp - 0x1c], 0xf2c20b56
add ebx, 0x5be9dba4
add ebx, 0xa4162460
add esi, 0x111719f2
sub esi, 0x111719ee
loop 0x3ad734af
add eax, 0x1126f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x2c07cc99
sub ecx, 0xf130cc99
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x40c5c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
push ebx
mov edx, 0xa
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40c5c7
call fcn.0045cf10
mov edx, dword [esp + 0x34]
lea ecx, [esp]
call fcn.00417060
mov edx, dword [esp + 0x38]
lea ecx, [esp + 4]
call fcn.00417060
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 8]
call fcn.00417060
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xc]
call fcn.00417060
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x10]
call fcn.00417060
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x14]
call fcn.00417060
push 0
call sub.ole32.dll_CoInitialize
lea eax, [esp + 0x24]
push eax
mov ebp, 0x86d55b
push ebp
push 1
push 0
mov ebp, 0x86d54b
push ebp
call sub.ole32.dll_CoCreateInstance
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
and ebx, ebx
jne 0x40c725
sub esp, 4
push dword [esp + 4]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0x50]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
push eax
pop eax
add esp, 4
lea eax, [esp + 0x20]
push eax
mov ebp, 0x86d56b
push ebp
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
and ebx, ebx
jne 0x40c71b
sub esp, 4
push 1
push dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
pop eax
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 8]
call sub.ole32.dll_CoUninitialize
mov eax, dword [esp + 0x18]
jmp 0x40c732
push dword [esp]
call fcn.0045cf80
push dword [esp + 4]
call fcn.0045cf80
push dword [esp + 0x14]
call fcn.0045cf80
push dword [esp + 0xc]
call fcn.0045cf80
push dword [esp + 0x1c]
call fcn.0045cf80
push dword [esp + 8]
call fcn.0045cf80
push dword [esp + 0x10]
call fcn.0045cf80
add esp, 0x28
pop ebx
pop ebp
ret 0x1c
Function at 0x414185
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0045cf10
push 0xa0
call sub.USER32.dll_GetAsyncKeyState
mov dword [esp], eax
push 0x24
call sub.USER32.dll_GetAsyncKeyState
mov dword [esp + 4], eax
push 0x23
call sub.USER32.dll_GetAsyncKeyState
mov dword [esp + 8], eax
push 0x21
call sub.USER32.dll_GetAsyncKeyState
mov dword [esp + 0xc], eax
push 0x22
call sub.USER32.dll_GetAsyncKeyState
mov dword [esp + 0x10], eax
mov ebx, dword [esp]
and ebx, ebx
je 0x4141ed
mov ebx, dword [esp + 4]
and ebx, ebx
je 0x4141ed
mov eax, 1
jmp 0x4141ef
xor eax, eax
and eax, eax
je 0x414202
call fcn.0040cc8a
mov dword [0x8717f8], 0
mov ebx, dword [esp]
and ebx, ebx
je 0x414218
mov ebx, dword [esp + 8]
and ebx, ebx
je 0x414218
mov eax, 1
jmp 0x41421a
xor eax, eax
and eax, eax
je 0x41422d
call fcn.0040c422
mov dword [0x8717f8], 0
mov ebx, dword [esp]
and ebx, ebx
je 0x414243
mov ebx, dword [esp + 0xc]
and ebx, ebx
je 0x414243
mov eax, 1
jmp 0x414245
xor eax, eax
and eax, eax
je 0x41424e
call fcn.0040ede6
mov ebx, dword [esp]
and ebx, ebx
je 0x414264
mov ebx, dword [esp + 0x10]
and ebx, ebx
je 0x414264
mov eax, 1
jmp 0x414266
xor eax, eax
and eax, eax
je 0x41426f
call fcn.004126aa
xor eax, eax
add esp, 0x14
pop ebx
ret

Function at 0x41b247
Capabilities:
Parse pe header

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

Function at 0x41dd0d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x5b6ca0
push str.FlsAlloc
push 0x1f
call fcn.0041d9df
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41dd41
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x41dd47
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41dd8b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x5b6cc4
push str.FlsGetValue
push 0x21
call fcn.0041d9df
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ddc2
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41ddca
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x5b6cd8
push str.FlsSetValue
push 0x22
call fcn.0041d9df
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41de04
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x41e5c3
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e53a