joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4303c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448ed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 8]
mov dword [esp + 0x24], ebx
call sub.MFC42u.DLL_CString::CString_3
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
push esi
mov byte [esp + 0x38], 1
mov dword [esp + 0x24], ebx
call sub.MFC42u.DLL_AfxParseURL
test eax, eax
jne 0x43049c
push str.AfxParseURL
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_2
push esi
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x30], 2
call sub.MFC42u.DLL_operator_4
mov ecx, dword [esp + 0x30]
push eax
mov byte [esp + 0x28], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x24], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call fcn.004304f0
add esp, 0xc
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x24], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x430d90
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x44904f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
lea ecx, [esp + 4]
mov dword [esp + 0xc], 0
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
push 0x101
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], 0x101
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x20]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x43ac70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44a3c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov al, byte [esp + 0x54]
push ebx
xor ebx, ebx
push esi
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x14], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov cl, byte [esp + 0x5c]
mov dword [esp + 0x50], ebx
mov byte [esp + 0x28], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dl, byte [esp + 0x5c]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 1
mov byte [esp + 0x3c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [esp + 0x5c]
mov byte [esp + 0x50], 2
push esi
mov dword [esp + 0x10], 0x44ced4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x10]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
cmp dword [esp + 0x18], ebx
je 0x43ad2e
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x43ad15
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push eax
call fcn.0040f7b0
add esp, 8
test al, al
je 0x43ad2e
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
call dword [eax + 0xc]
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0xc]
push esi
mov dword [esp + 0x54], 3
call fcn.0042b3c0
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x43ad6a
mov al, byte [ecx - 1]
cmp al, bl
je 0x43ad5e
cmp al, 0xff
je 0x43ad5e
dec al
mov byte [ecx - 1], al
jmp 0x43ad6a
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x18]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x43adc6
mov al, byte [ecx - 1]
cmp al, bl
je 0x43adba
cmp al, 0xff
je 0x43adba
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x48]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x104a420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cld
push 0xffffffffffffffff
inc ecx
add esi, dword [edx + 0x20]
inc edi
pop ecx
inc ecx
lodsd eax, dword [esi]
jmp 0x104f007
stc
cld
mov ebp, ebp
sub dword [esp], eax
lea edi, [edi + 1]
cmp byte [edi], 1
pop eax
jmp 0x104eed6
imul eax, eax, 0xf
nop
push eax
movzx eax, byte [edi]
jmp 0x104a335
ret
dec edx
cld
test dl, dl
adc edx, 0x3d
not edx
push ebx
lea esi, [esi + ecx*2]
movzx eax, word [esi]
jmp 0x104eecb
mov edx, ebx
jmp 0x104ef34
inc edx
pop esi
xchg dl, dl
cld
add esi, dword [edi + eax*4]
ret 4
nop
mov esp, esp
ja 0x104a375
xor eax, 0xd9bd7fd0
mov ebx, ebx
sbb eax, dword [esp + 4]
cld
jne 0x104a25e
jmp 0x104f01b
mov esi, ebx
lea ecx, [edi - 0x30acae3b]
lea eax, [edx + 0x7d]
not ecx
mov eax, ebx
add ch, 0xed
add ch, 0x3e
add eax, dword [ebx + 0x3c]
add edx, dword [eax + 0x78]
jmp 0x104a255
lea edi, [eax + ebx]
cmp ecx, dword [edx + 0x18]
je 0x104a38b
push 0
pop eax
jmp 0x104a375
lea esi, [ebx]
lea edi, [ebx]
cld
nop
xchg al, al
add edi, dword [edx + 0x1c]
xor eax, 0x80617ea4
add esi, dword [edx + 0x24]
jmp 0x104a3ca

Function at 0xeb8f48
Capabilities:
Encode data using xor

Disassembly:
jmp 0xeb8f52
pushal
call 0xeb8f58
pop ebp
sub ebp, 0x10
sub ebp, 0x9b8f48
jmp 0xeb8f6e
mov eax, 0x9b8f48
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bf
mov edx, 0x8473182b
xor byte [eax], dl
inc eax
dec ecx
jne 0xeb8f85
jmp 0xeb8f98
mov al, byte [0x17a2a0e6]
sub ebp, dword [ebx]
sub ebp, dword [edx + 0x2b2bd3ea]
sub ebp, dword [eax]
out 0x93, al
sub al, 0x2b
sub ebp, dword [ebx]
xchg ecx, eax
add ebp, dword [ebx]
sub ebp, dword [ebx]
fmul st(1), st(0)
sub bl, ah
mov al, byte [0x2b2b27aa]
sub ebp, dword [eax]
out dx, al
cmpsb byte [esi], byte es:[edi]
dec edi
invalid
Function at 0x413cde
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
call fcn.00413ae0
inc ebx

Function at 0x413cee
Capabilities:
Enumerate pe sections

Disassembly:
inc ebx
adc cl, byte [ebx - 0x24ccefbb]
cmp eax, ebx
je 0x4142fb
mov edi, dword [eax + 0x3c]
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00413b02
mov edx, 0xf485d7d
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00413b02
lodsb al, byte [esi]
mov dword [esi], edx
jle 0x413d9f
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x413d5c
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x413d56
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x413d47
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov bh, 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00413b02
ljmp 0xa845
mov ecx, 0xfd5ce8a7
invalid
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413f3e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec edi
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00413b12
push eax
push esi
push dword [ebp + 8]
call fcn.00413ac7
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00413b02
test byte [ecx + edi*2 - 0x80], bl
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00413b02
mov ecx, 0x8da7de26
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x42974b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x42975f
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x429793
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00437c90
test al, al
jne 0x4297c6
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00413be9
lea eax, [ebp - 0x4c]
push 0x46c760
push eax
call fcn.0043bb7a
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4297c6
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004138a9
lea eax, [ebp - 0x48]
push 0x46c628
push eax
call fcn.0043bb7a
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x429b8d
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esp + 8], 0
je 0x429ba9
mov ecx, esi
call fcn.00429bad
pop esi
ret 4

Function at 0x42b269
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b284
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x42c726
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4638ce
call fcn.0043b410
sub esp, 0xf4
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 0x30]
mov dword [ebp - 4], esi
test bl, 0x10
je 0x42c778
lea ecx, [ebp + 8]
call fcn.00419452
test al, al
je 0x42c778
push ebx
lea eax, [ebp + 8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp + 0x30], esp
push 1
push eax
call fcn.004016f7
call fcn.0042c9db
add esp, 0x2c
mov bl, al
jmp 0x42c8f5
sub esp, 0x28
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push esi
push eax
mov dword [ecx], 0x467548
mov dword [ecx + 0x20], 0x467550
call fcn.00401b24
call fcn.0042f715
add esp, 0x28
cmp eax, 0xffffffff
je 0x42c7c5
test bl, 4
je 0x42c7ad
test al, 0x10
je 0x42c7be
test bl, 8
je 0x42c8f3
test al, 0x10
je 0x42c8f3
mov bl, 1
jmp 0x42c8f5
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov esi, eax
cmp esi, 2
je 0x42c905
cmp esi, 3
je 0x42c905
push 1
cmp esi, 5
pop ebx
jne 0x42c87a
lea ecx, [ebp - 0x100]
call fcn.0042c94c
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
push eax
call fcn.004016f7
call fcn.0042f649
add esp, 0x2c
cmp eax, 0xffffffff
je 0x42c867
test byte [ebp + 0x30], 4
je 0x42c835
test byte [ebp - 0x100], 0x10
je 0x42c846
test byte [ebp + 0x30], 8
je 0x42c844
test byte [ebp - 0x100], 0x10
jne 0x42c846
xor bl, bl
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
test ecx, ecx
je 0x42c853
push eax
call ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.0042c9a5
jmp 0x42c8f5
call edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
mov esi, eax
call fcn.0042c9a5
test byte [ebp + 0x30], 0x20
je 0x42c8f3
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x467578
mov dword [ebp - 0x1c], 0x467570
call fcn.00401b24
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], 0x467f38
call fcn.00413b91
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.0042c922
mov eax, dword [ebp - 0x84]
push 0x46c628
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x84], vtable.is::file_exception.0
lea eax, [ebp - 0x84]
push eax
call fcn.0043bb7a
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401279
mov al, bl
jmp 0x42c913
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401279
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x401aa0
Capabilities:
Parse pe header

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

Function at 0x406bd0
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x406c1b
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00406d6b
test al, al
jne 0x406c15
sub edx, 2
cmp edx, edi
jne 0x406bfb
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x406c3d
lea eax, [edi + 2]
cmp edx, eax
je 0x406c3d
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00406b1c
add esp, 0x10
jmp 0x406d37
push esi
lea ecx, [ebp - 0x255]
call fcn.00406d6b
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406c80
push dword [ebp - 0x25c]
jmp 0x406c2d
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x406cbd
cmp word [ebp - 0x226], 0
je 0x406cde
cmp word [ebp - 0x226], ax
jne 0x406cbd
cmp word [ebp - 0x224], 0
je 0x406cde
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00406b1c
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x406d2a
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x406c97
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x406d12
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x406d37
push 0x40694c
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00409870
add esp, 0x10
jmp 0x406d07
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040126a
leave
ret

Function at 0x408592
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4085cd
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4085b4
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4085c5
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4085cf
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4085aa
xor eax, eax
pop edi
pop esi
ret
Function at 0x4088e7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00408562
push eax
push esi
push dword [ebp + 8]
call fcn.00408517
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00408562
push eax
push esi
push dword [ebp + 8]
call fcn.00408517
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00408562
push eax
push esi
push dword [ebp + 8]
call fcn.00408517
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00408552
mov ebx, 0x8812f4e3
popfd
jl 0x4089d7
invalid
invalid

Function at 0x408c8f
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x408c8c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x408c95
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x408c9f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x408c81
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]

Function at 0x40909f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ebp - 0x6b000007], esp
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.00408562
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408517
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.00408562
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408517
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00408552
add byte [ecx + edi*8 + 0x3e], cl
and byte [ebp - 0x514], 0
invalid
inc dword [eax]
Function at 0x40a719
Capabilities:
Write file on windows

Disassembly:
push eax
call fcn.00408552
push esp
jp 0x40a75a
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00408552
shl ebx, 1
pop ecx
mov edi, 0x8b348b49
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x40a73f
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x40a73f
call fcn.00408552
push ss
pop ss
pushal
pop ecx
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00408552
adc ebx, dword [ecx + ebp + 0x58]
push dword [ebp + 8]
invalid
fcomp st(5)
invalid
sub dword [eax - 1], ebx
jne 0x40a789
push dword [ebp + 4]
push dword [ebp]
call fcn.00408d52
or eax, 0x46068846
in eax, 0xff
dec dword [0x46068846]
lea eax, [ebp - 5]
cmp esi, eax
jb 0x40a77c
lea eax, [ebp - 0x1404]
mov dword [ebp + 0x10], ecx
sub esi, eax
lea eax, [ebp - 0x1408]
push 0
push eax
push esi
lea eax, [ebp - 0x1404]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40a7db
mov eax, dword [ebp - 0x1408]
add dword [ebx + 4], eax
cmp eax, esi
jb 0x40a7e3
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x140c]
cmp ecx, edx
jb 0x40a776
jmp 0x40a7e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040126a
leave
ret
Function at 0x40d5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d5cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d5cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xe1b1c8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe1b1d2
pushal
call 0xe1b1d8
pop ebp
sub ebp, 0x10
sub ebp, 0xa1b1c8
jmp 0xe1b1ee
mov eax, 0xa1b1c8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5af
mov edx, 0xce04bdb4
xor byte [eax], dl
inc eax
dec ecx
jne 0xe1b205
jmp 0xe1b218
aas
jns 0xe1b25a
cmp eax, 0xb4b4b488
xor eax, 0xb4b44c75
mov ah, 0xb7
jns 0xe1b235
mov esp, 0xeb4b4b4
pushfd
mov ah, 0xb4
mov ah, 0x43
push esi
mov bh, 0x7c
aas
jl 0xe1b276
xor eax, 0xb4b4b4b8
mov bh, 0x71
in al, 0x39
rcl byte [eax - 0x6f4fc2b8]
fsubr qword [eax - 0x234b6974]
sbb ch, cl
retf
mov ah, 0xb4
mov ah, 0x5d
pushfd
mov ah, 0xb4
mov ah, 0xe1
aas
pop eax
aas
xor dword [esp + esi*4 + 0x213fb4b4], edi
mov eax, 0x3fb4b4b4
cmp dword [esp + esi*4 + 0x5d75b4b4], esp
mov ah, 0x75
pop ebp
mov dh, 0x85
mov dh, 0x37
jbe 0xe1b22f
std
mov ebx, 0x4b4b4031
dec ebx
jmp 0x40966b01