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

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x51896882
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7602173b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4075ae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40f028]
jne 0x4075bf
test ecx, 0xffff0000
jne 0x4075bf
ret
jmp fcn.004075c9

Function at 0x4076ae
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
push edi
jne 0x4077b5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x94
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4076f8
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
push esi
push 0
jne 0x4076ff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x4077a8
mov eax, dword [esi + 0x10]
mov dword [0x40fab8], eax
mov eax, dword [esi + 4]
mov dword [0x40fac4], eax
mov eax, dword [esi + 8]
mov dword [0x40fac8], eax
mov eax, dword [esi + 0xc]
and eax, 0x7fff
mov dword [0x40fabc], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x40fab8], 2
je 0x40773d
or byte [0x40fabd], 0x80
mov eax, dword [0x40fac4]
shl eax, 8
add eax, dword [0x40fac8]
push 0
mov dword [0x40fac0], eax
call fcn.004086a2
test eax, eax
pop ecx
je 0x4076f8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x411394], eax
call fcn.0040878f
mov dword [0x40fa98], eax
call fcn.00408191
test eax, eax
jge 0x407784
call fcn.004086fe
jmp 0x4076f8
call fcn.004085db
test eax, eax
jl 0x4077ae
call fcn.00408383
test eax, eax
jl 0x4077ae
call fcn.0040807d
test eax, eax
jne 0x4077ae
inc dword [0x40fa94]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0xc
call fcn.00408359
jmp 0x40777a
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x4077a5
cmp dword [0x40fa94], esi
jle 0x4076f8
dec dword [0x40fa94]
cmp dword [0x40faf4], esi
jne 0x4077db
call fcn.00408179
cmp dword [ebp + 0x10], esi
jne 0x4077a5
call fcn.00408359
call fcn.004086fe
jmp 0x4077a5
Function at 0x40878f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x40fc08]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
xor ebx, ebx
xor edi, edi
cmp eax, ebx
jne 0x4087db
call esi
mov edi, eax
cmp edi, ebx
je 0x4087c1
mov dword [0x40fc08], 1
jmp 0x4087e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4087d6
push 2
pop eax
mov dword [0x40fc08], eax
jmp 0x4087db
mov eax, dword [0x40fc08]
cmp eax, 1
jne 0x408858
cmp edi, ebx
jne 0x4087ec
call esi
mov edi, eax
cmp edi, ebx
je 0x408861
cmp word [edi], bx
mov eax, edi
je 0x408801
inc eax
inc eax
cmp word [eax], bx
jne 0x4087f3
inc eax
inc eax
cmp word [eax], bx
jne 0x4087f3
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, edi
push ebx
sar eax, 1
inc eax
push eax
push edi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call esi
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 8], ecx
je 0x40884f
call fcn.0040a678
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40884f
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push edi
push ebx
push ebx
call esi
test eax, eax
jne 0x40884c
push dword [ebp - 4]
call fcn.00408c91
pop ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x4088b0
cmp eax, 2
je 0x408865
cmp eax, ebx
je 0x408865
xor eax, eax
jmp 0x4088b2
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x408861
cmp byte [esi], bl
je 0x408882
inc eax
cmp byte [eax], bl
jne 0x408878
inc eax
cmp byte [eax], bl
jne 0x408878
sub eax, esi
inc eax
mov edi, eax
mov ecx, edi
call fcn.0040a678
cmp eax, ebx
je 0x4088a9
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4088bc
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp ecx, dword [esi*8 + 0x40f050]
je 0x4088de
inc esi
cmp esi, 0x13
mov dword [ebp - 4], esi
jb 0x4088cc
cmp esi, 0x13
je 0x408a1a
mov eax, dword [0x40faa0]
cmp eax, 1
push ebx
je 0x4089e9
test eax, eax
jne 0x408907
cmp dword [0x40faa4], 1
je 0x4089e9
cmp ecx, 0xfc
je 0x408a19
push edi
push 6
pop ecx
mov esi, 0x401718
mov edi, 0x40fc10
rep movsd dword es:[edi], dword [esi]
push 0x104
mov ebx, 0x40fc2a
push ebx
movsw word es:[edi], word [esi]
push 0
mov byte [0x40fd2e], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408955
push 5
pop ecx
mov esi, 0x401700
mov edi, 0x40fc2a
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40895a
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x40898d
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40896e
sub eax, edx
push 3
lea eax, [eax + 0x40fbef]
push 0x4016fc
push eax
call fcn.0040b4e0
add esp, 0xc
mov edx, 0x40fc10
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x408995
mov eax, dword [ebp - 4]
mov eax, dword [eax*8 + 0x40f054]
mov esi, 0x4016f8
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4089b1
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4089bd
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x4016d0
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0040b3d8
add esp, 0xc
pop edi
jmp 0x408a19
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x408a19
mov edx, dword [esi*8 + 0x40f054]
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x408a01
push 0
sub ecx, esi
lea esi, [ebp - 8]
push esi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebx
pop esi
leave
ret
Function at 0x408a60
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x408a91
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x408a98
cmp ebx, dword [ebp + 8]
jae 0x408a98
xor eax, eax
jmp 0x408c88
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x408aa9
xor eax, eax
inc eax
jmp 0x408c87
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x408abf
cmp ecx, edx
jae 0x408c04
cmp dword [eax + 4], 0
je 0x408ac8
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x408ab0
cmp dword [ebp + 8], 0
je 0x408aea
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x408c04
cmp eax, esi
jae 0x408c04
mov eax, dword [0x40ff28]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x408b0f
cmp dword [esi*4 + 0x40ff30], edi
je 0x408c08
inc esi
cmp esi, eax
jl 0x408afd
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x408c84
cmp dword [ebp - 8], 0x1000000
jne 0x408c84
test byte [ebp - 0xc], 0xcc
je 0x408b8d
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x408c84
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x408c84
cmp word [eax + 0x18], 0x10b
jne 0x408c84
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x408c84
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x408b8d
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x408b8d
test byte [ecx + 0x27], 0x80
jne 0x408c04
push 1
push 0x40ff70
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x408aa1
mov ecx, dword [0x40ff28]
test ecx, ecx
mov edx, ecx
jle 0x408bc1
lea eax, [ecx*4 + 0x40ff2c]
cmp dword [eax], edi
je 0x408bc1
dec edx
sub eax, 4
test edx, edx
jg 0x408bb5
test edx, edx
jne 0x408bf2
push 0xf
pop ebx
cmp ecx, ebx
jg 0x408bce
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x408be6
lea eax, [edx*4 + 0x40ff30]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x408bd4
cmp ecx, 0x10
jge 0x408bf2
inc ecx
mov dword [0x40ff28], ecx
push 0
push 0x40ff70
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x408aa1
xor eax, eax
jmp 0x408c87
test esi, esi
jle 0x408aa1
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x40ff70
call ebx
test eax, eax
jne 0x408aa1
cmp dword [esi*4 + 0x40ff30], edi
je 0x408c5e
mov eax, dword [0x40ff28]
lea esi, [eax - 1]
test esi, esi
jl 0x408c4c
cmp dword [esi*4 + 0x40ff30], edi
je 0x408c48
dec esi
jns 0x408c3c
test esi, esi
jge 0x408c5c
cmp eax, 0x10
jge 0x408c57
inc eax
mov dword [0x40ff28], eax
lea esi, [eax - 1]
jmp 0x408c5e
je 0x408c76
xor ecx, ecx
test esi, esi
jl 0x408c76
lea eax, [ecx*4 + 0x40ff30]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x408c64
push 0
push 0x40ff70
call ebx
jmp 0x408aa1
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b3d8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40ff94], ebx
push esi
push edi
jne 0x40b45a
push 0x401820
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40b495
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401814
push edi
call esi
test eax, eax
mov dword [0x40ff94], eax
je 0x40b495
push 0x401804
push edi
call esi
push 0x4017f0
push edi
mov dword [0x40ff98], eax
call esi
cmp dword [0x40fab8], 2
mov dword [0x40ff9c], eax
jne 0x40b45a
push 0x4017d4
push edi
call esi
test eax, eax
mov dword [0x40ffa4], eax
je 0x40b45a
push 0x4017bc
push edi
call esi
mov dword [0x40ffa0], eax
mov eax, dword [0x40ffa0]
test eax, eax
je 0x40b49f
call eax
test eax, eax
je 0x40b486
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x40ffa4]
test eax, eax
je 0x40b486
test byte [ebp - 8], 1
jne 0x40b49f
cmp dword [0x40fac4], 4
jb 0x40b499
or byte [ebp + 0x12], 0x20
jmp 0x40b4be
xor eax, eax
jmp 0x40b4ce
or byte [ebp + 0x12], 4
jmp 0x40b4be
mov eax, dword [0x40ff98]
test eax, eax
je 0x40b4be
call eax
mov ebx, eax
test ebx, ebx
je 0x40b4be
mov eax, dword [0x40ff9c]
test eax, eax
je 0x40b4be
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40ff94]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40bce3
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x411268]
mov eax, dword [0x40f028]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], edi
jae 0x40bec9
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x411280]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x424], ebx
je 0x40bec9
and dword [ebp - 0x414], 0
and dword [ebp - 0x420], 0
cmp dword [ebp + 0x10], 0
jne 0x40bd54
xor eax, eax
jmp 0x40bedd
test al, 0x20
je 0x40bd67
push 2
push 0
push 0
push ecx
call fcn.0040cb61
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x40be27
and dword [ebp - 0x40c], 0
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x410], edi
jbe 0x40bea3
mov ecx, dword [ebp - 0x410]
xor edi, edi
sub ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x408]
cmp ecx, dword [ebp + 0x10]
jae 0x40bdd6
mov edx, dword [ebp - 0x410]
inc dword [ebp - 0x410]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x40bdc4
inc dword [ebp - 0x420]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x424]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x40bda0
mov edi, eax
lea eax, [ebp - 0x408]
sub edi, eax
push 0
lea eax, [ebp - 0x418]
push eax
push edi
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40be55
mov eax, dword [ebp - 0x418]
add dword [ebp - 0x414], eax
cmp eax, edi
jl 0x40be61
mov eax, dword [ebp - 0x410]
sub eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0x10]
jb 0x40bd8c
jmp 0x40be61
push 0
lea ecx, [ebp - 0x418]
push ecx
push dword [ebp + 0x10]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40be55
mov eax, dword [ebp - 0x418]
and dword [ebp - 0x40c], 0
mov dword [ebp - 0x414], eax
jmp 0x40be61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x414]
test eax, eax
jne 0x40bec1
cmp dword [ebp - 0x40c], eax
je 0x40be9d
push 5
pop eax
cmp dword [ebp - 0x40c], eax
jne 0x40be8f
mov dword [0x40faac], 9
mov dword [0x40fab0], eax
jmp 0x40beda
push dword [ebp - 0x40c]
call fcn.0040ca2b
pop ecx
jmp 0x40beda
mov edi, dword [ebp - 0x41c]
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x40beb5
cmp byte [edi], 0x1a
je 0x40bd4d
mov dword [0x40faac], 0x1c
jmp 0x40bed3
sub eax, dword [ebp - 0x420]
jmp 0x40bedd
mov dword [0x40faac], 9
and dword [0x40fab0], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004075ae
leave
ret
Function at 0x40d175
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push 4
pop eax
call fcn.0040d280
mov dword [ebp - 8], esp
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40d271
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x4c]
xor esi, esi
cmp dword [0x40fab8], 2
jne 0x40d1f6
push 0x401e4c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, esi
je 0x40d1f6
push 0x401e34
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x40d1f6
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], esi
call eax
cmp eax, 1
pop ecx
jne 0x40d1f6
cmp dword [ebp - 4], esi
jbe 0x40d1f6
mov esi, dword [ebp - 4]
mov edx, dword [0x40fab8]
mov ebx, edx
dec ebx
neg ebx
sbb ebx, ebx
and ebx, 0x103
lea ecx, [edi - 1]
lea eax, [esi + edi - 1]
not ecx
inc ebx
and eax, ecx
mov dword [ebp - 4], eax
je 0x40d21f
add eax, edi
mov dword [ebp - 4], eax
lea ecx, [edi + edi]
cmp eax, ecx
jae 0x40d22b
mov dword [ebp - 4], ecx
mov eax, ecx
lea esi, [edi - 1]
not esi
and esi, dword [ebp - 8]
sub esi, eax
cmp edx, 1
jne 0x40d23d
push 0x11
pop edi
mov ecx, dword [ebp - 0xc]
add edi, ecx
cmp esi, edi
jb 0x40d271
push 4
push 0x1000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x40d271
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40d271
xor eax, eax
inc eax
jmp 0x40d273
xor eax, eax
lea esp, [ebp - 0x5c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4147e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x414805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x414878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x41483a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x41486d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x41486b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x414831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4147fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x5001e17
Capabilities:
Create directory

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, edi
cmp byte [edi], 0
je 0x5001e4d
cmp byte [esi], 0x5c
jne 0x5001e47
and byte [esi], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x5001e44
push edi
push 0x50010d8
call fcn.05001ec8
mov byte [esi], 0x5c
inc esi
cmp byte [esi], 0
jne 0x5001e24
pop edi
pop esi
ret 4

Function at 0x5001e52
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x104]
mov eax, ecx
lea ecx, [eax + 1]
lea eax, [ebp + eax - 0x104]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [eax - 1], 0x5c
pop edi
pop esi
je 0x5001e9b
mov byte [eax], 0x5c
and byte [eax + 1], 0
lea eax, [ebp - 0x104]
push eax
call fcn.05001e17
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x5001ec2
test al, 0x10
je 0x5001ec2
push 1
pop eax
jmp 0x5001ec4
xor eax, eax
leave
ret 4

Function at 0x50020e9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push esi
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x5002103
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [0x5006208], 0
jne 0x5002154
lea eax, [ebp - 0x280]
push eax
push 0x200
push esi
call fcn.05002085
and byte [ebp - 0x80], 0
lea eax, [ebp - 0x80]
push 0x80
push eax
push 0x20000003
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x80]
push 0x10010
push eax
lea eax, [ebp - 0x280]
push eax
push dword [0x5016434]
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.0500216c
test esi, esi
jne 0x5002160
push 1
pop esi
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x5002431
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x501643c
push 8
mov eax, edx
pop esi
test al, 1
je 0x500244b
shr eax, 1
xor eax, 0xedb88320
jmp 0x500244d
shr eax, 1
dec esi
jne 0x500243e
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x501683c
jl 0x5002439
pop esi
ret

Function at 0x5002460
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test edx, edx
je 0x500248c
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x501643c]
xor eax, esi
inc ecx
dec edx
jne 0x5002472
pop edi
pop esi
ret 0xc
Function at 0x5003972
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, eax
dec eax
test edi, edi
jle 0x50039b2
lea edi, [eax + 1]
movzx eax, byte [ecx]
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or eax, ebx
inc ecx
xor edx, eax
dec edi
jne 0x5003990
and esi, 3
xor eax, eax
dec esi
je 0x50039ce
dec esi
je 0x50039c7
dec esi
jne 0x50039d3
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
pop esi
xor eax, edx
pop ebx
ret 0xc

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x52b33621
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x724607bf
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402130
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov edi, eax
mov esi, eax
and ecx, 0xfff
sar eax, 0x10
sar esi, 0xc
and eax, 0xffff
mov dword [ebp - 0x44], ecx
and edi, 0x8000
and esi, 7
mov dword [ebp - 0x38], eax
call fcn.00405cf8
test eax, eax
jne 0x40216c
push 0x21
call fcn.00402c37
lea eax, [ebp + 8]
push eax
push 0x4084cc
push 1
push ebx
push 0x4084dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40223c
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x30]
push edx
push 0x4084ec
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x40222e
mov eax, dword [ebp + 8]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp edi, ebx
mov dword [ebp - 0x10], eax
jne 0x4021c8
mov eax, dword [ebp + 8]
push 0x436000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x4021d6
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x48]
cmp word [ecx], bx
je 0x4021f7
mov eax, dword [ebp + 8]
push dword [ebp - 0x44]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x10], ebx
jl 0x402225
mov eax, dword [ebp - 0x30]
push 1
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x10], ebx
jge 0x40224f
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x40148a.65
push 0xfffffffffffffff4
jmp 0x402245
mov eax, dword [ebp - 4]
add dword [0x42a2e8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x402cc7
Capabilities:
Delete file

Disassembly:
salc
add byte [ecx + 0xf], al
mov dh, 2
jmp 0x4028fc