joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006ff0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
call fcn.100070b0
cmp dword [0x1000b060], 1
mov esi, dword [esp + 0x10]
jne 0x10007013
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x1000b05c], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x1000b058], bl
jne 0x1000706d
cmp dword [0x1000e8e8], 0
je 0x1000705b
mov edi, dword [0x1000e8e4]
sub edi, 4
cmp edi, dword [0x1000e8e8]
jb 0x1000705b
mov eax, dword [edi]
test eax, eax
je 0x10007050
call eax
sub edi, 4
cmp edi, dword [0x1000e8e8]
jae 0x10007048
push 0x1000a01c
push 0x1000a014
call fcn.100070d0
add esp, 8
push 0x1000a024
push 0x1000a020
call fcn.100070d0
add esp, 8
test ebx, ebx
je 0x1000708c
call fcn.100070c0
pop edi
pop esi
pop ebx
ret
mov dword [0x1000b060], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100070f0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.10006620
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1000b064], eax
cmp eax, 0xffffffff
jne 0x1000710a
xor eax, eax
pop esi
ret
push 0x74
push 1
call fcn.10006110
add esp, 8
mov esi, eax
test esi, esi
je 0x1000714c
push esi
mov eax, dword [0x1000b064]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1000714c
push esi
call fcn.10007180
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x100071a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x1000b064]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x10007203
push 0x74
push 1
call fcn.10006110
add esp, 8
mov edi, eax
test edi, edi
je 0x100071f9
push edi
mov eax, dword [0x1000b064]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x100071f9
push edi
call fcn.10007180
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi], eax
mov dword [edi + 4], 0xffffffff
jmp 0x10007203
push 0x10
call fcn.10006520
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
ret
Function at 0x10007b80
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
push ebp
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [0x1000b2ac], ebx
jne 0x10007bcf
call esi
cmp eax, ebx
mov edi, eax
je 0x10007bad
mov dword [0x1000b2ac], 1
jmp 0x10007bcf
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x10007bc5
mov dword [0x1000b2ac], 2
jmp 0x10007bcf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x1000b2ac], 1
jne 0x10007c7e
test edi, edi
jne 0x10007bf2
call esi
mov edi, eax
test edi, edi
jne 0x10007bf2
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x10007c0c
add esi, 2
cmp word [esi], 0
jne 0x10007bfa
add esi, 2
cmp word [esi], 0
jne 0x10007bfa
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x10007c6d
push ebp
call fcn.10006230
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x10007c6d
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x10007c5c
push ebx
call fcn.100061c0
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x1000b2ac], 2
jne 0x10007d02
test ebx, ebx
jne 0x10007ca1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x10007ca1
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x10007cb6
inc ebp
cmp byte [ebp], 0
jne 0x10007ca8
inc ebp
cmp byte [ebp], 0
jne 0x10007ca8
sub ebp, ebx
inc ebp
push ebp
call fcn.10006230
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x10007cdb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x10007d70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor ecx, ecx
mov eax, 0x1000b2b0
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [eax], edx
je 0x10007d97
add eax, 8
inc ecx
cmp eax, 0x1000b340
jb 0x10007d88
cmp dword [ecx*8 + 0x1000b2b0], edx
lea ebx, [ecx*8]
jne 0x10007f5b
cmp dword [0x1000a72c], 1
je 0x10007f17
cmp dword [0x1000a72c], 0
jne 0x10007dce
cmp dword [0x1000a730], 1
je 0x10007f17
cmp edx, 0xfc
je 0x10007f5b
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x10007e0b
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x10007e4f
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x100092ec
push ebp
call fcn.10008100
add esp, 0xc
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x100092cc
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x1000b2b4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.10008060
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
cmp dword [0x1000e7e0], 0
je 0x10007f2d
mov eax, dword [0x1000e7e0]
mov esi, dword [eax + 0x48]
cmp esi, 0xffffffff
jne 0x10007f37
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x1000b2b4]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x464be0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8138
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4f2d80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
mov esi, dword [ebp + 0xc]
jb 0x464c1b
mov eax, dword [edi]
jmp 0x464c1d
mov eax, edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x464c43
test esi, esi
je 0x464c3c
mov dword [esi], 0
call fcn.00460960
mov dword [esi + 4], eax
mov al, 1
jmp 0x464ce3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x6c], 0
call fcn.00460960
mov dword [ebp - 0x68], eax
cmp ebx, 0xb7
jne 0x464c91
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x74]
push edi
push ecx
call fcn.00464a20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 0xc
mov dword [ebp - 0x70], edx
cmp ecx, 3
jne 0x464c91
test esi, esi
je 0x464ce1
mov dword [esi], 0
call fcn.00460960
jmp 0x464cde
test esi, esi
jne 0x464cd7
push 0x23
push str.boost::filesystem::create_directory
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
call fcn.00402a10
mov dword [ebp - 4], esi
call fcn.00460960
push eax
push ebx
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00464740
push 0x4e93a0
lea ecx, [ebp - 0x64]
push ecx
call fcn.0049332a
call fcn.00460960
mov dword [esi], ebx
mov dword [esi + 4], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049269f
mov esp, ebp
pop ebp
ret

Function at 0x465610
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0x4650c0
push 0x4f581c
call fcn.00465360
mov eax, dword [0x4f2074]
add esp, 8
cmp eax, 0xffffffff
je 0x465654
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x465668
push 0x5a
push str...libs_thread_srcwin32_thread.cpp
push str.TlsSetValue_current_thread_tls_key_new_data_
call fcn.00496397
add esp, 0xc
pop ebp
ret
push 0x5e
push str...libs_thread_srcwin32_thread.cpp
push str.false
call fcn.00496397
add esp, 0xc
pop ebp
ret
Function at 0x466db0
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
push edi
jne 0x466dd0
push 0xa2
push str.d:CB11XMainQImportsOpen_boost_boost_smart_ptr_intrusive_ptr.hpp
push 0x4d8134
call fcn.00496397
add esp, 0xc
mov eax, dword [esi]
lea ecx, [eax + 0x20]
push ecx
push 4
push eax
push 0x466d30
push 0
push 0
call fcn.00497117
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x466df5
pop edi
xor al, al
pop esi
ret
mov edx, dword [esi]
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
cmp dword [esi], 0
jne 0x466e1f
push 0xa2
push str.d:CB11XMainQImportsOpen_boost_boost_smart_ptr_intrusive_ptr.hpp
push 0x4d8134
call fcn.00496397
add esp, 0xc
mov ecx, dword [esi]
push edi
add ecx, 8
call fcn.00414030
cmp dword [esi], 0
jne 0x466e46
push 0xa2
push str.d:CB11XMainQImportsOpen_boost_boost_smart_ptr_intrusive_ptr.hpp
push 0x4d8134
call fcn.00496397
add esp, 0xc
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
mov al, 1
pop esi
ret
Function at 0x4a8ec5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f2d80]
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.0049d0a3
and dword [ebp - 0x14], 0
cmp dword [0x4f6a8c], 0
mov dword [ebp - 0x18], eax
jne 0x4a8f78
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a9020
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4dc654
push ebx
call edi
test eax, eax
je 0x4a9020
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4f6a8c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4f6a90], eax
call edi
push eax
call esi
push 0x4dc614
push ebx
mov dword [0x4f6a94], eax
call edi
push eax
call esi
mov dword [0x4f6a9c], eax
test eax, eax
je 0x4a8f78
push 0x4dc5fc
push ebx
call edi
push eax
call esi
mov dword [0x4f6a98], eax
mov eax, dword [0x4f6a98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4a8fd1
cmp dword [0x4f6a9c], ecx
je 0x4a8fd1
push eax
call esi
push dword [0x4f6a9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a8fd1
test ebx, ebx
je 0x4a8fd1
call edi
test eax, eax
je 0x4a8fc8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a8fc8
test byte [ebp - 8], 1
jne 0x4a8fd1
or dword [ebp + 0x10], 0x200000
jmp 0x4a9004
mov eax, dword [0x4f6a90]
cmp eax, dword [ebp - 0x18]
je 0x4a9004
push eax
call esi
test eax, eax
je 0x4a9004
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a9004
mov eax, dword [0x4f6a94]
cmp eax, dword [ebp - 0x18]
je 0x4a9004
push eax
call esi
test eax, eax
je 0x4a9004
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4f6a8c]
call esi
test eax, eax
je 0x4a9020
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a9022
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049269f
leave
ret
Function at 0x40190b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20c
mov eax, dword [0x425040]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, 0x100
mov ecx, edi
xor edx, edx
mov byte [esp + ecx + 0x10], cl
push 0x3f
mov eax, ecx
pop esi
div esi
mov al, byte [edx + 0x46acb0]
mov byte [esp + ecx + 0x110], al
inc ecx
cmp ecx, ebp
jl 0x40192c
mov esi, edi
mov ebx, edi
mov dl, byte [esp + esi + 0x10]
movzx eax, byte [esp + esi + 0x110]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x401972
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x10]
mov byte [esp + esi + 0x10], al
inc esi
mov byte [esp + ebx + 0x10], dl
cmp esi, ebp
jl 0x40194f
mov ebx, edi
mov ebp, edi
inc edi
and edi, 0x800000ff
jns 0x401998
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x10]
movzx esi, cl
add ebx, esi
and ebx, 0x800000ff
jns 0x4019b1
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x10]
mov byte [esp + edi + 0x10], al
mov byte [esp + ebx + 0x10], cl
call fcn.00401f03
push eax
call fcn.004020c6
movzx eax, byte [esp + edi + 0x14]
add eax, esi
movzx eax, al
pop ecx
mov al, byte [esp + eax + 0x10]
xor byte [ebp + section..Right], al
inc ebp
cmp ebp, 0x43800
jl 0x401987
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004047e0
add esp, 0x20c
ret

Function at 0x401c18
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x425040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x422e88
lea ecx, [ebp - 0x1c]
call fcn.00401d07
push 0xc
call fcn.004047f3
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.004019ff
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x46a800
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
xor eax, eax
push eax
push eax
push eax
push 0x401bdd
push eax
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push ecx
push ecx
call fcn.0040190b
pop ecx
pop ecx
mov edx, 0x46a800
add edx, 0x188
mov esi, section..Right
push esi
call edx
lea ecx, [ebp - 0x1c]
call fcn.00401d94
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004047e0
leave
ret

Function at 0x404f90
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x404fcf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404fcf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404fcf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404fcf
cmp dword [ecx + 0x74], 0xe
jbe 0x404fcf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000aff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1000afff
pop dword [ebp - 0x34]
mov eax, 0x1000afff
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x3b12f923
add dword [ebp - 0x44], 0x133f4c28
mov dword [ebp - 0x40], 0x3cef1690
add dword [ebp - 0x40], 0xf54435b5
mov dword [ebp - 0x3c], 0x7b9b0f97
sub dword [ebp - 0x3c], 0x2f4ecb69
mov dword [ebp - 0x38], 0x2e6cf899
sub dword [ebp - 0x38], 0x2e6cf899
lea eax, [ebp - 0x44]
push eax
mov eax, 0x570d5307
sub eax, 0x470792e7
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x1f32e37a
add dword [ebp - 0x44], 0x553f85dc
mov dword [ebp - 0x40], 0xe404a22e
add dword [ebp - 0x40], 0x5d67bf47
mov dword [ebp - 0x3c], 0x7088de88
sub dword [ebp - 0x3c], 0xd19721c
mov dword [ebp - 0x38], 0xd3485807
add dword [ebp - 0x38], 0x2cb7a7f9
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x538d1
push 0
call eax
mov ecx, 0x3ec63cd
sub ecx, 0x3ec1aa9
xor ebx, ebx
add ebx, eax
mov esi, 0x10091c00
add esi, dword [ebp - 0x34]
mov edi, 0x40c26244
mov dword [ebp - 0x2c], 0x19c92471
mov edx, dword [esi]
sub dword [ebp - 0x2c], ebx
sub edx, edi
mov dword [ebp - 8], 0x2c55c45a
mov dword [ebx], edx
xor dword [ebp - 0x1c], 0xe9573b6d
add ebx, 0x7e8f372a
sub ebx, 0x7e8f3726
add esi, 4
loop 0x1000b10d
add eax, 0x7cf845b1
add eax, 0x8308d1b2
xor ebx, ebx
add ebx, eax
add eax, 0xa1e00047
sub eax, 0xa1e00042
mov ecx, 0xb1f8b9da
add ecx, 0x5e074626
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x43ebb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43ebce
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43ebc3
pop esi
ret

Function at 0x43ed10
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43eda2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43ed94
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x43ed8c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43ed55
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4074e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4000]
push edi
or ebp, 0xffffffff
jmp 0x407502
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4074f8
mov eax, 1
add ebx, ebx
jne 0x40751b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407510
jne 0x40752c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407510
xor ecx, ecx
sub eax, 3
jb 0x407540
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4075b2
mov ebp, eax
add ebx, ebx
jne 0x40754b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407558
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40757c
inc ecx
add ebx, ebx
jne 0x407568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40755d
jne 0x407579
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40755d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40759c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40758d
jmp 0x4074fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40759c
add edi, ecx
jmp 0x4074fe
pop esi
mov edi, esi
mov ecx, 0x1e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4075ba
cmp byte [edi], 1
jne 0x4075ba
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 0x4075bf
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x40762e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x720c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x725c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4075ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7264]
or eax, eax
je 0x407628
mov dword [ebx], eax
add ebx, 4
jmp 0x407609
call dword [esi + 0x7260]
mov ebp, dword [esi + 0x7268]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x407662
sub esp, 0xffffff80
jmp 0x403331

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx