joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b630
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ecx, 0x56c279
call fcn.00500c8d
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp + 8]
xor bl, bl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b6c3
movzx eax, word [ebp + 0xc]
push edi
push dword [ebp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40b6bb
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x40b6bb
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov edx, dword [ebp + 8]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b6e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x40b6f8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40bb10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov ecx, 0x56c21c
call fcn.00500c8d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40bb75
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40bb75
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40bb64
cmp esi, edx
jae 0x40bb75
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40bb52
cmp esi, edx
jae 0x40bb75
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x411590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, 0x56c83f
call fcn.00500c8d
mov eax, dword [ebp + 8]
push 0
push 0
push eax
push 0x4143a0
push 0
push 0
mov dword [eax + 0x18], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]

Function at 0x4115d0
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fc1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
push edi
mov edi, ecx
mov ecx, 0x56c83f
call fcn.00500c8d
mov ax, word [0x536c90]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0xa
movq xmm0, qword [0x536c88]
mov dword [ebp - 0x20], 0xf
movq qword [ebp - 0x34], xmm0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x2a], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [edi + 4]
push 0
push 0x469
mov dword [ebp - 4], 0
push dword [eax]
call esi
mov eax, dword [edi + 4]
push 0
push 1
push 0x46a
push dword [eax]
call esi
push 0
call fcn.0040abc0
add esp, 4
mov dword [ebp - 0x5c], 0x500053
xor eax, eax
mov dword [ebp - 0x58], 0x680043
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x36]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x54], 0x6f0072
push eax
push ecx
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x50], 0x65006d
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x4c], 0x46005f
mov dword [ebp - 0x48], 0x610072
mov dword [ebp - 0x44], 0x65006d
mov dword [ebp - 0x40], 0x690057
mov dword [ebp - 0x3c], 0x5f006e
call fcn.00404100
push dword [eax]
mov byte [ebp - 4], 1
call fcn.00406d60
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040bc60
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x54], 0x700047
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x36]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x50], 0x420074
push eax
push ecx
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], 0x6f0072
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], 0x730077
mov dword [ebp - 0x44], 0x720065
mov dword [ebp - 0x40], 0x65002e
mov dword [ebp - 0x3c], 0x650078
call fcn.00404100
mov byte [ebp - 4], 2
push dword [eax]
call fcn.004098c0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040bc60
xor esi, esi
mov eax, dword [edi + 4]
add eax, 4
push eax
call fcn.00406d80
mov eax, dword [edi + 4]
add esp, 4
push dword [eax + 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41176c
inc esi
cmp esi, 0x14
jl 0x411747
mov ecx, dword [ebp - 0x20]
pop edi
pop esi
cmp ecx, 0x10
jb 0x41179e
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411794
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4117ac
push ecx
push edx
call fcn.00500c7f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00507f1f
int3
Function at 0x4143d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ec1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
mov ecx, 0x56c83f
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00500c8d
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x4144a2
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x10], 1
call fcn.00503f20
add esp, 0xc
lea eax, [ebp - 0x810]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x414491
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414467
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406790
push 0x536974
mov ecx, esi
call fcn.0040e800
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x415bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5302ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov ecx, 0x56c89e
mov dword [ebp - 0x10], esi
call fcn.00500c8d
push 0
mov ecx, esi
call fcn.005024bb
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x415c47
push eax
push esi
call fcn.005027c5
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.005023ad
int3
Function at 0x4187a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5304cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, 0x56c921
push esi
mov dword [ebp - 0x14], ebx
push edi
mov dword [ebp - 0x10], 0
call fcn.00500c8d
cmp dword [ebp + 8], 0
je 0x418814
mov dword [ebx], 0x536fd0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebx]
lea esi, [ebx + 4]
push 0
push esi
mov dword [ebp + 8], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00417140
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00500ce2
mov esi, eax
add esp, 4
test esi, esi
je 0x41888c
push 1
mov byte [ebp - 4], 3
call fcn.005026c8
add esp, 4
mov dword [esi + 4], eax
jmp 0x41888e
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
pop edi
mov dword [eax], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [ebp - 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41dc20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5309fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov ecx, 0x56cb49
call fcn.00500c8d
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x61004d
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x34], 0x6e0069
push ecx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], 0x6e0057
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], 0x2e0064
mov dword [ebp - 0x28], 0x6d0078
mov dword [ebp - 0x24], 0x6c
call fcn.00404100
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 4], 0
call fcn.0046b090
lea ecx, [ebp - 0x20]
call fcn.0040bc60
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41e150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp

Function at 0x41eff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov ecx, 0x56cb49
push edi
call fcn.00500c8d
lea eax, [ebp - 0x11]
mov dword [ebp - 0x20], 0x6c0063
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0x630069
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], 0x6b
push edx
lea ecx, [ebp - 0x6c]
call fcn.00404100
push dword [eax]
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0046b450
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.0040bc60
test bl, bl
je 0x41f080
mov esi, dword [ebp - 0x10]
push edi
lea ecx, [esi - 0x20]
call fcn.0041ff20
jmp 0x41f1c1
lea eax, [ebp + 0xb]
mov dword [ebp - 0x3c], 0x650073
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x38], 0x65006c
push ecx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x740063
push edx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x30], 0x680063
mov dword [ebp - 0x2c], 0x6e0061
mov dword [ebp - 0x28], 0x650067
mov dword [ebp - 0x24], 0x64
call fcn.00404100
push dword [eax]
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0046b450
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.0040bc60
test bl, bl
je 0x41f1be
push 0
push 0x569000
push 0x568fe0
push 0
push dword [edi + 0x108]
call fcn.00504d06
add esp, 0x14
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x5c], 0x680063
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x3e]
lea eax, [ebp + 0xb]
mov dword [ebp - 0x58], 0x630065
push eax
push ecx
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x54], 0x5f006b
push edx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x50], 0x730075
mov dword [ebp - 0x4c], 0x720065
mov dword [ebp - 0x48], 0x73005f
mov dword [ebp - 0x44], 0x650070
call fcn.00404100
mov esi, eax
mov ecx, dword [edi + 0x108]
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 4], 2
mov edx, dword [ecx]
call dword [edx + 4]
push dword [esi]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0046b450
lea ecx, [ebp - 0xfc]
mov bl, al
call fcn.0046b230
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bc60
test bl, bl
je 0x41f1be
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x41f1be
mov ecx, eax
call fcn.00481eb0
mov esi, dword [ebp - 0x10]
test al, al
setne al
mov byte [esi + 0x758], al
jmp 0x41f1c1
mov esi, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.004806e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f770
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530a25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov ecx, 0x56cb49
call fcn.00500c8d
xor eax, eax
mov dword [ebp - 0x70], 0x740068
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x6c], 0x700074
push eax
push ecx
lea edx, [ebp - 0x70]
mov dword [ebp - 0x68], 0x3a0073
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x64], 0x2f002f
mov dword [ebp - 0x60], 0x770077
mov dword [ebp - 0x5c], 0x2e0077
mov dword [ebp - 0x58], 0x700067
mov dword [ebp - 0x54], 0x630074
mov dword [ebp - 0x50], 0x720068
mov dword [ebp - 0x4c], 0x6d006f
mov dword [ebp - 0x48], 0x2e0065
mov dword [ebp - 0x44], 0x65006e
mov dword [ebp - 0x40], 0x2f0074
mov dword [ebp - 0x3c], 0x720070
mov dword [ebp - 0x38], 0x760069
mov dword [ebp - 0x34], 0x630061
mov dword [ebp - 0x30], 0x2e0079
mov dword [ebp - 0x2c], 0x740068
mov dword [ebp - 0x28], 0x6c006d
call fcn.00404100
mov esi, dword [eax]
mov dword [ebp - 4], 0
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x41f8e8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404ac0
test al, al
jne 0x41f899
test esi, esi
jne 0x41f873
xor eax, eax
jmp 0x41f88f
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f880
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00406790
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bc60
mov esi, dword [ebp - 0x14]
push 5
push 0
push 0
push esi
push 0x53769c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41f8d7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x41f900
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530a25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov ecx, 0x56cb49
call fcn.00500c8d
xor eax, eax
mov dword [ebp - 0x68], 0x740068
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x64], 0x700074
push eax
push ecx
lea edx, [ebp - 0x68]
mov dword [ebp - 0x60], 0x3a0073
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x5c], 0x2f002f
mov dword [ebp - 0x58], 0x770077
mov dword [ebp - 0x54], 0x2e0077
mov dword [ebp - 0x50], 0x700067
mov dword [ebp - 0x4c], 0x630074
mov dword [ebp - 0x48], 0x720068
mov dword [ebp - 0x44], 0x6d006f
mov dword [ebp - 0x40], 0x2e0065
mov dword [ebp - 0x3c], 0x65006e
mov dword [ebp - 0x38], 0x2f0074
mov dword [ebp - 0x34], 0x730075
mov dword [ebp - 0x30], 0x720065
mov dword [ebp - 0x2c], 0x700073
mov dword [ebp - 0x28], 0x2f0065
call fcn.00404100
mov esi, dword [eax]
mov dword [ebp - 4], 0
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x41fa68
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404ac0
test al, al
jne 0x41fa19
test esi, esi
jne 0x41f9f5
xor eax, eax
jmp 0x41fa0f
mov eax, esi
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fa00
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00406790
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bc60
mov esi, dword [ebp - 0x14]
push 5
push 0
push 0
push esi
push 0x53769c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41fa57
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x41fa80
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530a25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov ecx, 0x56cb49
call fcn.00500c8d
xor eax, eax
mov dword [ebp - 0x68], 0x740068
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x64], 0x700074
push eax
push ecx
lea edx, [ebp - 0x68]
mov dword [ebp - 0x60], 0x3a0073
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x5c], 0x2f002f
mov dword [ebp - 0x58], 0x770077
mov dword [ebp - 0x54], 0x2e0077
mov dword [ebp - 0x50], 0x700067
mov dword [ebp - 0x4c], 0x630074
mov dword [ebp - 0x48], 0x720068
mov dword [ebp - 0x44], 0x6d006f
mov dword [ebp - 0x40], 0x2e0065
mov dword [ebp - 0x3c], 0x65006e
mov dword [ebp - 0x38], 0x2f0074
mov dword [ebp - 0x34], 0x69006c
mov dword [ebp - 0x30], 0x650063
mov dword [ebp - 0x2c], 0x73006e
mov dword [ebp - 0x28], 0x2f0065
call fcn.00404100
mov esi, dword [eax]
mov dword [ebp - 4], 0
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x41fbe8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404ac0
test al, al
jne 0x41fb99
test esi, esi
jne 0x41fb75
xor eax, eax
jmp 0x41fb8f
mov eax, esi
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fb80
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00406790
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bc60
mov esi, dword [ebp - 0x14]
push 5
push 0
push 0
push esi
push 0x53769c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41fbd7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x420d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5309fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov ecx, 0x56ccbe
call fcn.00500c8d
xor eax, eax
mov dword [ebp - 0x3c], 0x6f0050
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x750070
push eax
push ecx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x4d0070
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], 0x670073
mov dword [ebp - 0x2c], 0x78002e
mov dword [ebp - 0x28], 0x6c006d
call fcn.00404100
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 4], 0
call fcn.0046b090
lea ecx, [ebp - 0x20]
call fcn.0040bc60
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x4213d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530f03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
push edi
mov ecx, 0x56ce5f
call fcn.00500c8d
lea eax, [ebp - 0xd]
mov dword [ebp - 0x1c], 0x49005a
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0x50
push ecx
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00404100
push dword [eax]
mov dword [ebp - 4], 0
push 0x81
call fcn.00470b00
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.0040bc60
test esi, esi
je 0x4214f6
push esi
call fcn.00470b00
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4214ef
push esi
call fcn.00470b00
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4214ef
push 0
push eax
push edi
call fcn.00478e80
add esp, 0xc
mov dword [ebp - 0x44], 0x650072
lea eax, [ebp - 0xd]
mov dword [ebp - 0x40], 0x2e0073
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], 0x6d0078
lea edx, [ebp - 0x44]
mov dword [ebp - 0x38], 0x6c
push eax
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00404100
mov ecx, dword [eax]
push 0
push ecx
mov eax, esp
mov dword [ebp - 4], 1
mov dword [eax], ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x56ae54]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x56a740]
cmp eax, dword [ecx + 0x10]
jg 0x421506
mov ecx, dword [0x56a73c]
call fcn.00484c70
lea ecx, [ebp - 0x34]
call fcn.0040bc60
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x56a740
call fcn.005010a4
add esp, 4
cmp dword [0x56a740], 0xffffffff
jne 0x4214dc
push 0x1f8
mov byte [ebp - 4], 2
call fcn.00500ce2
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x421541
mov ecx, eax
call fcn.00484560
jmp 0x421545
xor eax, eax
jmp 0x421545
push 0x56a740
mov dword [0x56a73c], eax
mov byte [ebp - 4], 1
call fcn.0050105a
add esp, 4
jmp 0x4214dc
Function at 0x429890
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x1505
lea ebx, [esi + eax]
cmp esi, ebx
jae 0x4298c6
mov al, byte [esi]
push eax
call fcn.00437630
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x4298a8
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret