joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c4e
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
pop eax
mov ebx, 0x875ff47
push dword [ebp + 4]
push dword [ebp]
call fcn.00404225
or byte [ebx + 0x4e083c3], cl
push edi
mov dword [ebp - 4], eax
call fcn.00405f19
test bl, 8
mov dword [ebp - 8], eax
je 0x405c8d
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x42a308], eax
jmp 0x405e0a
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405ca7
test eax, eax
je 0x405db8
test bl, 2
je 0x405db8
mov esi, 0x425750
push edi
push esi
call fcn.0040653c
cmp dword [ebp + 8], 0
je 0x405cc6
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405ccc
push edi
call fcn.00405e5d
cmp word [edi], 0
jne 0x405cdc
cmp word [0x425750], 0x5c
jne 0x405ce7
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405dad
cmp word [ebp - 0x22c], 0x2e
jne 0x405d31
cmp word [ebp - 0x22a], 0
je 0x405d90
cmp word [ebp - 0x22a], 0x2e
jne 0x405d31
cmp word [ebp - 0x228], 0
je 0x405d90
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.0040653c
test byte [ebp - 0x258], 0x10
je 0x405d5c
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405d90
push dword [ebp + 0xc]
push edi
call fcn.00405c4e
jmp 0x405d90
push dword [ebp - 4]
push edi
call fcn.00405c06
test eax, eax
jne 0x405d88
cmp dword [ebp - 4], eax
je 0x405d80
push edi
push 0xfffffffffffffff1
call fcn.004055a4
push 0
push edi
call fcn.00406302
jmp 0x405d90
inc dword [0x42a308]
jmp 0x405d90
push edi
push 0xfffffffffffffff2
call fcn.004055a4
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405d09
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405db8
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405e0a
cmp dword [ebp - 8], esi
jne 0x405dcc
inc dword [0x42a308]
jmp 0x405e0a
push edi
call fcn.0040689a
test eax, eax
je 0x405e0a
push edi
call fcn.00405e11
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405c06
test eax, eax
jne 0x405e02
cmp dword [ebp - 4], esi
je 0x405dc4
push edi
push 0xfffffffffffffff1
call fcn.004055a4
push esi
push edi
call fcn.00406302
jmp 0x405e0a
push edi
push 0xffffffffffffffe5
call fcn.004055a4
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100010e6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x10012580
insd dword es:[edi], dx
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10011d15
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10011cca
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
inc esp
cld
invalid
dec dword [ecx]
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
test dword [ebx - 4], ecx
invalid
dec dword [edx]
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10011d15
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10011cca
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov dword [0xfc1c85c6], eax
invalid
inc dword [ecx - 0x3e27a3a]
invalid
dec dword [edx - 0x3e17a3a]
invalid
call [ebx - 0x3e07a3a]
invalid
inc dword [edx - 0x3df7a3a]
invalid
dec dword [ebx - 0x3de7a3a]
invalid
jmp dword [esi - 0x3dd7a3a]
invalid
dec dword [edi - 0x3dc7a3a]
invalid
inc dword [eax - 0x3db7a3a]
invalid
dec dword [edx - 0x3da7a3a]
invalid
inc dword [edx - 0x3d97a3a]
invalid
dec dword [ebx - 0x3d87a3a]
invalid
jmp [edi - 0x3d77a3a]
invalid
invalid
out dx, al
lea eax, [ebp - 0x3ec]
push eax
call fcn.10011d15
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10011cca
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10011d05
std
mov al, 0xa9
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], pe_nt_image_headers32
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.10011d15
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10011cca
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.10011d05
adc eax, 0x802df77c
imul dword [0xf99ca580]
Function at 0x1000a9f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x10027f88
push edi
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000aa1a
push edi
push 0x64
call fcn.10001046
add esp, 8
mov ebx, dword [sym.imp.MSVCR100.dll_fseek]
push 2
push 0
push esi
call ebx
push esi
call dword [sym.imp.MSVCR100.dll_ftell]
push 0
push 0
push esi
mov edi, eax
call ebx
lea eax, [edi + 1]
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, eax
add esp, 0x20
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x1000aa57
push 0x67
call fcn.10001046
add esp, 4
lea eax, [edi + 1]
push eax
push 0
push ebx
call sub.MSVCR100.dll_memset
push esi
push edi
push 1
push ebx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x1c
cmp eax, edi
jae 0x1000aa83
mov eax, dword [ebp + 8]
push eax
push 0x64
call fcn.10001046
add esp, 8
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
push 0x190
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1000aaa8
push 0x67
call fcn.10001046
add esp, 4
mov ecx, dword [ebp - 4]
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
push str.__t_r_n
push ecx
call edi
add esp, 8
mov esi, 1
test eax, eax
je 0x1000aaed
push str.__t_r_n
push 0
mov dword [ebx + esi*4], eax
call edi
inc esi
add esp, 8
cmp esi, 0x64
jl 0x1000aac1
test eax, eax
je 0x1000aaed
push str.option_table
push 0x66
call fcn.10001046
add esp, 8
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0x14]
push eax
push ebx
push esi
call fcn.10009eb0
mov esi, dword [sym.imp.MSVCR100.dll_free]
push ebx
call esi
mov ecx, dword [ebp - 4]
push ecx
call esi
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002344a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003155c]
jne 0x10023454
repz ret
jmp fcn.10023956
Function at 0x4019f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.mark_section_writable

Function at 0x401a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x406050]
test esi, esi
jle 0x401b3d
mov edi, dword [0x406054]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401a84
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401b36
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x401a70
mov dword [esp], eax
mov ebx, eax
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x401b7a
lea ebx, [esi + esi*2]
mov esi, dword [0x406054]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call dbg._GetPEImageBase
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x406054]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401b5a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x401b2f
sub eax, 0x40
and eax, 0xffffffbf
je 0x401b2f
mov eax, dword [esp + 0x20]
add ebx, dword [0x406054]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x401b44
add dword [0x406050], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x401a8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
mov eax, dword [0x406054]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
Function at 0x402040
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x406408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x406400]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x402095
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40208e
test esi, esi
je 0x40208e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402070
mov dword [esp], 0x406408
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4022b0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x4022e8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x4022de
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x4022ea
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4022d0
xor eax, eax
pop ebx
pop esi
ret

Function at 0x401144
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x412008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.00401000
push 0x40c
xor ebx, ebx
mov dword [ebp - 0x414], 0x22
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00401de0
add esp, 0xc
lea eax, [ebp - 0x412]
mov esi, 0x207
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401259
cmp eax, esi
jae 0x401259
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x412]
push eax
call esi
lea eax, [ebp - 0x412]
push eax
call esi
push str.GoogleUpdate.exe
lea eax, [ebp - 0x412]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401259
push str.___broker
push 0x208
lea eax, [ebp - 0x414]
push eax
call fcn.00401046
test eax, eax
js 0x40125e
push edi
push 0x40
lea eax, [ebp - 0x464]
mov dword [ebp - 0x468], 0x44
push ebx
push eax
call fcn.00401de0
xor eax, eax
lea edi, [ebp - 0x424]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x401259
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
xor eax, eax
jmp 0x40125e
call fcn.0040102b
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004014b9
leave
ret 0x10
Function at 0x451b10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x44000]
push edi
or ebp, 0xffffffff
jmp 0x451b32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x451b39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x451b28
mov eax, 1
add ebx, ebx
jne 0x451b4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x451b5c
jne 0x451b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x451b7b
dec eax
add ebx, ebx
jne 0x451b68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x451b40
add ebx, ebx
jne 0x451b77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x451bcd
xor ecx, ecx
sub eax, 3
jb 0x451b93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x451c02
sar eax, 1
mov ebp, eax
jmp 0x451b9e
add ebx, ebx
jne 0x451b9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x451b6c
inc ecx
add ebx, ebx
jne 0x451bac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x451b6c
add ebx, ebx
jne 0x451bb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x451bae
jne 0x451bca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x451bae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x451bec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x451bde
jmp 0x451b2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x451bec
add edi, ecx
jmp 0x451b2e
pop esi
mov edi, esi
mov ecx, 0xcda
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x451c0a
cmp byte [edi], 0
jne 0x451c0a
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 0x451c0f
lea edi, [esi + 0x4f000]
mov eax, dword [edi]
or eax, eax
je 0x451c7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x56d38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x56dc4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x451c3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x56dc8]
or eax, eax
je 0x451c78
mov dword [ebx], eax
add ebx, 4
jmp 0x451c59
call dword [esi + 0x56dd0]
mov ebp, dword [esi + 0x56dcc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x451cb2
sub esp, 0xffffff80
jmp 0x415388

Function at 0x6215e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov edi, dword [eax + 0xc]
mov ebx, ecx
add edi, 0xc
mov esi, dword [edi]
cmp esi, edi
je 0x621609
mov ecx, dword [esi + 0x30]
call fcn.00621450
cmp eax, ebx
je 0x62160f
mov esi, dword [esi]
cmp esi, edi
jne 0x6215f7
jmp 0x63025d
jmp 0x630270
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00431219
Function at 0x406a26
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a4a
xor eax, eax
test eax, eax
je 0x406a5d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a5d
xor ecx, ecx
jmp 0x406a60
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b83
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406bba
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b94
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b8f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406beb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bcd
pop edi
not eax
pop esi
ret 0xc

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2cf55da6
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x63544410
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x408200
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1108
call fcn.004f4040
mov eax, dword [0x59c388]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.0050bda0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1004]
push 0xfff
push 0x1000
push eax
call fcn.004090f0
push dword [eax + 4]
push dword [eax]
call fcn.00513d53
lea eax, [ebp - 0x1104]
add esp, 0x20
lea ecx, [ebp - 0x1004]
mov dword [ebp - 0x1108], eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408270
push ebx
push esi
push edi
sub ecx, edx
lea eax, [ebp - 0x1104]
push 0x80
push eax
lea eax, [ebp - 0x1108]
lea edi, [ecx + 1]
push edi
push eax
call fcn.004068f0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x1004]
add esp, 0x10
push edi
push dword [ebp - 0x1108]
push edi
push eax
push 0
push 3
call esi
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x40831c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40831c
push 0
push 0
push edi
lea eax, [ebp - 0x1004]
push eax
push 0
push 3
call esi
mov esi, eax
lea eax, [ebp - 0x1104]
push 0x80
push eax
lea eax, [ebp - 0x1108]
push esi
push eax
call fcn.004068f0
add esp, 0x10
lea eax, [ebp - 0x1004]
push esi
push dword [ebp - 0x1108]
push edi
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
pop edi
pop esi
test ebx, ebx
pop ebx
jne 0x408356
push dword [ebp - 0x1108]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x1108]
lea ecx, [ebp - 0x1104]
cmp eax, ecx
je 0x408348
push eax
call fcn.005107b2
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f3d68
mov esp, ebp
pop ebp
ret
push 0x80
lea eax, [ebp - 0x1104]
push eax
push dword [ebp - 0x1108]
call fcn.00406970
add esp, 0xc
call fcn.00407a80
int3
Function at 0x40d530
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x59c388]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x210]
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x10
push eax
mov eax, 0x19
cmove eax, ecx
push eax
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d596
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00408a30
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004f3d68
mov esp, ebp
pop ebp
ret

Function at 0x40d5d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x59c388]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x210]
push esi
mov esi, dword [ebp + 8]
mov ecx, 2
push eax
mov eax, 0x17
cmove eax, ecx
push eax
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d636
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00408a30
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004f3d68
mov esp, ebp
pop ebp
ret

Function at 0x411790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4117a0
xor eax, eax
pop edi
pop ebp
ret
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4117a5
sub ecx, edx
mov edx, 0
push esi
mov esi, edx
je 0x4117d0
movsx eax, byte [esi + edi]
inc esi
add eax, edx
imul edx, eax, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
cmp esi, ecx
jb 0x4117b8
lea ecx, [edx + edx*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
pop esi
imul eax, eax, 0x8001
pop edi
pop ebp
ret