joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ef0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x402f8b
cmp ax, 9
je 0x402f78
cmp ax, 0x20
je 0x402f78
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp ax, 0x5c
je 0x402fe0
cmp ax, 0x22
je 0x402ff0
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x402f8b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x402f30
test edi, 1
jne 0x402f30
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x402f78
cmp ax, 0x20
je 0x402f78
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x403008
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
inc dword [ebp - 0x6c]
jmp 0x402f4b
and dword [ebp - 0x6c], 1
jne 0x402f44
xor edi, 1
jmp 0x402f4b
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x402fa4

Function at 0x403020
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x402043
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, 5
push eax
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, 0x258
push eax
call fcn.00401ae3
add esp, 4
mov eax, 0
push eax
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_ShowWindow
leave
ret

Function at 0x40242b
Capabilities:
Get graphical window text
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
nop
mov eax, 0x5a
push eax
lea eax, [ebp - 0x5a]
push eax
mov eax, dword [0x4092a4]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, 0x4081ce
push eax
lea eax, [ebp - 0x5a]
push eax
call sub.msvcrt.dll_fopen
add esp, 8
mov dword [ebp - 0x60], eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.msvcrt.dll_fseek
add esp, 0xc
lea eax, [ebp - 0x5a]
push eax
call fcn.00401a7b
add esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], esp
mov eax, dword [ebp - 0x68]
push eax
call fcn.00407c5c
add esp, 4
mov dword [ebp - 0x6c], esp
mov eax, dword [ebp - 0x64]
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 1
mov dword [ebp - 0x74], eax
mov esp, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
jge 0x402504
jmp 0x4024e1
mov esp, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
mov ecx, eax
inc eax
mov dword [ebp - 0x74], eax
jmp 0x4024bd
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
add ecx, eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, 1
push eax
mov eax, 1
push eax
push ecx
call sub.msvcrt.dll_fread
add esp, 0x10
jmp 0x4024d3
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.msvcrt.dll_fseek
add esp, 0xc
mov eax, 0
mov dword [ebp - 0x78], eax
mov esp, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
jge 0x402593
jmp 0x402548
mov esp, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x78]
mov ecx, eax
inc eax
mov dword [ebp - 0x78], eax
jmp 0x402524
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x6c]
add ecx, eax
movzx eax, byte [ecx]
cmp eax, 9
jne 0x402591
mov eax, dword [ebp - 0x78]
dec eax
mov ecx, 0
push ecx
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.msvcrt.dll_fseek
add esp, 0xc
mov eax, dword [ebp - 0x60]
push eax
mov eax, 1
push eax
mov eax, 1
push eax
mov eax, 0x4081d2
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x40253a
mov eax, dword [ebp - 0x60]
push eax
call sub.msvcrt.dll_fclose
add esp, 4
mov esp, dword [ebp - 0x70]
leave
ret
Function at 0x402936
Capabilities:
Delete file
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
nop
mov eax, 0x4081ec
mov dword [ebp - 0xb8], eax
mov eax, 0
mov byte [ebp - 0x180], al
mov eax, 0xc7
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x17f]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x50
push eax
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [0x4092a4]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, 0x2f
push eax
lea eax, [ebp - 0xb4]
push eax
call sub.msvcrt.dll_strrchr
add esp, 8
inc eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
push eax
call sub.msvcrt.dll_strlen
add esp, 4
dec eax
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0xb8]
push eax
call sub.msvcrt.dll_strlen
add esp, 4
dec eax
push eax
mov eax, dword [ebp - 0xb8]
push eax
lea eax, [ebp - 0x180]
push eax
call sub.msvcrt.dll_strncpy
add esp, 0xc
mov eax, 0
mov byte [ebp - 0x2ec], al
mov eax, 0xb3
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x2eb]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x2ec]
push eax
call sub.msvcrt.dll_strcat
add esp, 8
mov eax, 0x4081ed
push eax
lea eax, [ebp - 0x2ec]
push eax
call sub.msvcrt.dll_strcat
add esp, 8
lea eax, [ebp - 0x2ec]
push eax
call fcn.004011e9
add esp, 4
cmp eax, 1
jne 0x402a79
mov eax, str.Program
push eax
mov eax, 2
push eax
mov eax, 0x401
push eax
mov eax, dword [0x409284]
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x2ec]
push eax
call fcn.004010f3
add esp, 4
mov eax, str.d:_aksa_editorc_
push eax
lea eax, [ebp - 0x234]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x234]
push eax
call sub.msvcrt.dll_strcat
add esp, 8
mov eax, 0x408219
push eax
lea eax, [ebp - 0x234]
push eax
call sub.msvcrt.dll_strcat
add esp, 8
lea eax, [ebp - 0x234]
push eax
call fcn.00401a11
add esp, 4
cmp eax, 0
je 0x402b3a
lea eax, [ebp - 0x234]
push eax
mov eax, dword [0x409280]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x402b1d
mov eax, 5
push eax
mov eax, 0
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x234]
push eax
mov eax, 0x40821d
push eax
mov eax, 0
push eax
call fcn.00407787
add esp, 0x18
mov eax, dword [ebp + 8]
cmp eax, 2
jne 0x402b35
lea eax, [ebp - 0x234]
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x402b4c
mov eax, str._Dosya_Yok__...
push eax
mov eax, dword [0x409280]
push eax
call sub.user32.dll_SetWindowTextA
leave
ret
Function at 0x4079bc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
nop
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_GetStartupInfoA
mov eax, dword [ebp - 0x18]
and eax, 1
cmp eax, 0
je 0x4079ea
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x50], eax
jmp 0x4079f2
mov eax, 0xa
mov dword [ebp - 0x50], eax
mov eax, 0
mov dword [ebp - 0x48], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x407a21
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.msvcrt.dll_strstr
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, 0
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x407a47
mov eax, 0x408840
push eax
call sub.msvcrt.dll__strdup
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x407a70
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
jbe 0x407a70
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x407a70
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov eax, 0x30000
push eax
mov eax, 0x10000
push eax
call sub.msvcrt.dll__controlfp
add esp, 8
mov eax, 0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, 0
push ecx
push eax
call fcn.00403950
leave
ret
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.004015cd
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x401b78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, esi
add ebx, 0xc8
mov edi, dword [ebp + 0xc]
mov eax, edi
or eax, esi
cdq
idiv ebx
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
jmp 0x401c25
and dword [ebp - 0xc], 0
and dword [ebp - 0x10], 0
jmp 0x401bb2
add dword [ebp - 0xc], ebx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jl 0x401bac
mov ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x401bcf
mov eax, dword [ebp + 0xc]
mov edx, esi
inc edx
imul eax, edx
mov ebx, eax
sub ebx, dword [ebp - 0xc]
or ebx, ebx
je 0x401c35
and dword [ebp - 0x14], 0
push ebx
push dword [ebp - 0xc]
push esi
call fcn.00401b35
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp - 0xc]
push esi
call fcn.00401b35
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
xor edx, esi
add edx, eax
push edx
mov edx, dword [ebp - 0x18]
mov ecx, edx
or cl, 1
mov edi, esi
imul edi, ecx
sub edx, edi
add edx, eax
push edx
call fcn.00401b1b
add esp, 0x20
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x7e8
jl 0x401bd7
inc dword [ebp - 4]
mov edi, dword [ebp - 8]
mov ecx, esi
sar edi, cl
cmp dword [ebp - 4], edi
jle 0x401ba2
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..00cfg
mov ebx, 0x408ecc
nop
mov ecx, 0x578557ab
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x23194103
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x44ba6e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ea808]
jne 0x44ba78
repz ret
jmp fcn.0044e10e
Function at 0x455798
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ea808]
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.00451012
and dword [ebp - 0x14], 0
cmp dword [0x5ec574], 0
mov dword [ebp - 0x18], eax
jne 0x45584b
push 0x4b52f0
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4558f3
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x4b52e4
push ebx
call edi
test eax, eax
je 0x4558f3
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push 0x4b52d4
push ebx
mov dword [0x5ec574], eax
call edi
push eax
call esi
push 0x4b52c0
push ebx
mov dword [0x5ec578], eax
call edi
push eax
call esi
push 0x4b52a4
push ebx
mov dword [0x5ec57c], eax
call edi
push eax
call esi
mov dword [0x5ec584], eax
test eax, eax
je 0x45584b
push 0x4b528c
push ebx
call edi
push eax
call esi
mov dword [0x5ec580], eax
mov eax, dword [0x5ec580]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x4558a4
cmp dword [0x5ec584], ecx
je 0x4558a4
push eax
call esi
push dword [0x5ec584]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4558a4
test ebx, ebx
je 0x4558a4
call edi
test eax, eax
je 0x45589b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45589b
test byte [ebp - 8], 1
jne 0x4558a4
or dword [ebp + 0x10], 0x200000
jmp 0x4558d7
mov eax, dword [0x5ec578]
cmp eax, dword [ebp - 0x18]
je 0x4558d7
push eax
call esi
test eax, eax
je 0x4558d7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4558d7
mov eax, dword [0x5ec57c]
cmp eax, dword [ebp - 0x18]
je 0x4558d7
push eax
call esi
test eax, eax
je 0x4558d7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5ec574]
call esi
test eax, eax
je 0x4558f3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4558f5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ba6e
leave
ret

Function at 0x40ed5e
Capabilities:
Encode data using xor

Disassembly:
push 0x40eae0
pop esi
sub edx, ebx
dec edx
call fcn.0040ed75
xor dword [ecx], esi
inc ecx
cmp ecx, edi
jne fcn.0040ed5e
inc edx
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5e
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x98
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x62
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x33
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc5
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6e
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc6
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x13
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 5
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x87
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xeb
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5d
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0xa3b790
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa3b7cf
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa53d42
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a539bf

Function at 0xa5a3f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5a26b

Function at 0x408942
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop ebx
call fcn.0040896f
sub edi, 1
xor dword [eax], ebx
inc edx
add edx, edx
add eax, 1
mov edi, 0xb477dcf9
sub edi, 1
cmp eax, ecx
jne fcn.00408942
inc edi
ret
Function at 0x4011d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4011e8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x40128c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x401287
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401680
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x401246
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401246
xor eax, eax
jmp 0x40128c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4011df
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x438c95
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
mov eax, dword [esp]
add esp, 4
sub ecx, 1
call fcn.00438cd2
push 0xecbd6ab0
mov edx, dword [esp]
add esp, 4
sub ecx, 1
xor dword [edi], eax
and ecx, ecx
inc edi
mov edx, 0xa0a3d409
cmp edi, ebx
jne fcn.00438c95
sub edx, ecx
add ecx, edx
and edx, ecx
ret
Function at 0x408866
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410204
push 0x4101fc
push str.FlsGetValue
push 0x21
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40889d
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4088a5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41020c
push 0x410204
push str.FlsSetValue
push 0x22
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4088df
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x409f8f
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x409f33
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x409f51
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x409faf
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
invalid
je 0x409f96
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x409f9f
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x409fa9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x409f8b
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x409f15
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x409ffc
dec eax
je 0x409ff3
sub eax, 3
je 0x409fea
mov dword [ebp - 4], 0x40
jmp 0x40a019
mov dword [ebp - 4], 4
jmp 0x409fff
mov dword [ebp - 4], 0x20
jmp 0x409fff
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40a04b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x409fcb
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040985c
dec ebp
adc ebp, ebx
cli
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x40a057
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5d8ab7
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x5d87dc
inc ecx
call fcn.005d8aeb
inc ecx
or ecx, ecx
add eax, 0x82dbb6a5
xor dword [ebx], esi
dec eax
sub eax, ecx
dec eax
add ebx, 2
add ecx, 1
cmp ebx, edi
jl fcn.005d8ab7
sub eax, eax
dec ecx
ret