joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57a590
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040c128
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.005746e4
test ebx, ebx
jne 0x57a5e3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0057a40c
mov ebx, eax
test ebx, ebx
je 0x57a6d9
cmp esi, ebx
je 0x57a60c
mov eax, dword [esp]
sub eax, dword [ebx + 0x48]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x4c]
mov dword [esp + 0x118], eax
jmp 0x57a621
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x57a659
add eax, 0xffffff5f
sub eax, 2
jb 0x57a671
dec eax
sub eax, 2
jb 0x57a685
dec eax
sub eax, 2
jb 0x57a67b
jmp 0x57a68f
add eax, 0xfffffdff
sub eax, 2
jb 0x57a671
dec eax
sub eax, 2
jb 0x57a685
dec eax
sub eax, 2
jb 0x57a67b
jmp 0x57a68f
mov byte [esp + 0x120], 0
jmp 0x57a697
mov byte [esp + 0x120], 2
jmp 0x57a697
mov byte [esp + 0x120], 1
jmp 0x57a697
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0054218c
mov esi, eax
call fcn.005711d8
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00575f78
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x57a6db
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x5899f4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5ae774], 0
jne 0x589a0b
call fcn.005899b0
mov eax, edi
dec eax
test eax, eax
jl 0x589a33
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5ae374]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x589a15
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x58c694
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x58c72e.0
jmp dword [ecx*4 + 0x58c6c7]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x58c6f9
sub dl, 8
je 0x58c708
jmp case.0x58c72e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58c360
jmp case.0x58c72e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58c3b4
jmp case.0x58c72e.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x58c72e.0
movzx ecx, byte [ecx + 0x58c735]
jmp dword [ecx*4 + 0x58c746]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58c454
jmp case.0x58c72e.0
cmp dl, 3
jne 0x58c773
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58c4ac
jmp case.0x58c72e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58c468
jmp case.0x58c72e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58c4f0
jmp case.0x58c72e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x58c79e
sub dl, 8
je 0x58c7aa
jmp case.0x58c72e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58c51c
jmp case.0x58c72e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58c580
jmp case.0x58c72e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x58c7c9
sub dl, 8
je 0x58c7d5
jmp case.0x58c72e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58c630
jmp case.0x58c72e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58c658
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x58c877
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0058b89c
test eax, eax
je 0x58c877
mov eax, ebx
call fcn.0058c880
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x58c810
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x58c880
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x58c8b1
dec al
je 0x58c8ec
dec al
je 0x58c931
dec al
je 0x58c99a
jmp 0x58ca24
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x58ca24
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x58c8c1
jmp 0x58ca24
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x58ca24
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x58c8fc
jmp 0x58ca24
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x58ca24
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x58c960
xor ebp, ebp
jmp 0x58c970
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x58c979
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x58c941
jmp 0x58ca24
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x58ca24
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x58c9f3
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00589a3c
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x58c9ae
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x59497c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x594a1f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407308
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x5949b0
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x5949d4
mov eax, edx
test eax, eax
je 0x5949c6
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 4]
mov ecx, 1
xchg edx, eax
call fcn.00407e70
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00404e88
xor eax, eax
mov dword [ebp - 0x22], eax
mov eax, dword [ebp - 4]
call fcn.00407a4c
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x614
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x594a26
lea eax, [ebp - 4]
call fcn.00406ee0
ret
Function at 0x595ac0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x595c63
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, ebx
call fcn.00407a4c
mov edi, eax
push edi
lea eax, [ebp - 0x14]
mov ecx, dword [0x5a82e8]
mov edx, dword [0x5ae7d4]
call fcn.00407cb8
mov eax, dword [ebp - 0x14]
call fcn.00407a4c
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x595c4d
test esi, esi
je 0x595b2b
push edi
mov eax, esi
call fcn.00407a4c
pop edx
call fcn.00594d60
push 0x42
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4720dc]
call fcn.00490924
mov dword [ebp - 8], eax
mov eax, 0x18
call fcn.00404900
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x46be34]
call fcn.004052f8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x595c46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
add eax, 4
adc edx, 0
add eax, 0xf42a5
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.0049004c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.0048ffe8
mov esi, dword [ebp - 0xc]
mov ebx, esi
mov eax, dword [ebp - 8]
call fcn.0048ffc8
mov dword [ebx], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00595db8
mov eax, dword [ebp - 8]
call fcn.0048ffc8
sub eax, dword [ebx]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 8]
call fcn.0048ffc8
mov dword [ebx + 8], eax
push ebp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.005957e8
pop ecx
mov eax, dword [ebp - 8]
call fcn.0048ffc8
sub eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0048ffc8
mov dword [ebx + 0x10], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00595a24
mov eax, dword [ebp - 8]
call fcn.0048ffc8
sub eax, dword [ebx + 0x10]
mov dword [ebx + 0x14], eax
mov edx, esi
mov ecx, 0x18
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x10]
call fcn.00595a8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x595c4d
mov eax, dword [ebp - 0x10]
call fcn.00405328
mov eax, dword [ebp - 0xc]
call fcn.0040491c
mov eax, dword [ebp - 8]
call fcn.00405328
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x595c6a
lea eax, [ebp - 0x14]
call fcn.00406ee0
ret

Function at 0x596d8c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x596dec
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0041da14
mov eax, dword [ebp - 4]
call fcn.00407a4c
push eax
mov eax, esi
call fcn.00407a4c
push eax
mov eax, ebx
call fcn.00407a4c
push eax
push 0x596df8
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x596df3
lea eax, [ebp - 4]
call fcn.00406ee0
ret
Function at 0x2a30195d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2a357578]
jne 0x2a301967
repz ret
jmp fcn.2a341dce

Function at 0x2a309f40
Capabilities:
Terminate thread

Disassembly:
push 0x10
mov eax, 0x2a342707
call fcn.2a30229e
mov esi, ecx
xor edi, edi
cmp dword [esi], 0xb
mov dword [ebp - 0x14], edi
jne 0x2a30a02b
mov edi, dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 0xea60
push dword [esi + 0x2e0]
call edi
or dword [esi + 0x1ac], 0xffffffff
push 1
push dword [esi + 0x2dc]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
call ebx
shr eax, 4
add eax, 0x12c
mov dword [ebp - 0x10], eax
jmp 0x2a309fdb
push 0xea60
push dword [esi + 0x2e0]
call edi
push dword [esi + 0x2e0]
xor eax, eax
cmp dword [esi], 0xb
setne al
movzx eax, ax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp word [ebp - 0x1c], 0
jne 0x2a309fe5
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call ebx
shr eax, 4
cmp eax, dword [ebp - 0x10]
jb 0x2a309fa5
push 0xea60
push dword [esi + 0x2e0]
call edi
cmp dword [esi], 0xb
jne 0x2a30a00a
xor edi, edi
inc edi
push edi
push dword [esi + 0x2dc]
call dword [sym.imp.kernel32.dll_TerminateThread]
mov dword [ebp - 0x14], edi
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_CloseHandle]
and dword [esi + 0x2e0], 0
xor edi, edi
mov eax, dword [esi + 0x1c]
lea ebx, [esi + 0x1ac]
mov dword [ebx], edi
cmp eax, edi
je 0x2a30a05c
cmp word [ebp - 0x14], di
jne 0x2a30a059
push ebx
push eax
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
cmp dword [ebx], edi
jne 0x2a30a05c
push ebx
push dword [esi + 0x18]
mov dword [esi + 0x1c], edi
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
jmp 0x2a30a05c
mov dword [esi + 0x1c], edi
cmp word [esi + 0x14c], di
je 0x2a30a0c8
push edi
push edi
lea ecx, [ebp - 0x18]
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
mov ebx, dword [0x2a358a70]
push edi
lea eax, [esi + 0x48]
push eax
mov eax, dword [0x2a358a74]
push str.Cstring
mov dword [ebp - 4], edi
call dword [eax + 0x14]
movzx eax, ax
pop ecx
push eax
push edi
call dword [ebx + 0xd0]
add esp, 0x10
push edi
push eax
lea ecx, [ebp - 0x18]
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
cmp dword [ebp - 0x14], edi
je 0x2a30a0bc
lea ecx, [ebp - 0x18]
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
test al, al
je 0x2a30a0bc
lea ecx, [ebp - 0x18]
call fcn.2a330802
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a3032b3
mov eax, dword [esi + 0x3c]
cmp eax, edi
je 0x2a30a0df
push eax
mov eax, dword [0x2a358780]
call dword [eax + 0x284]
pop ecx
mov dword [esi + 0x3c], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x2a30a107
push eax
mov eax, dword [0x2a358a90]
cmp word [esi + 0x1a2], di
je 0x2a30a0fd
call dword [eax + 0x124]
jmp 0x2a30a103
call dword [eax + 0x11c]
pop ecx
mov dword [esi + 0x24], edi
mov dword [esi], 2
call fcn.2a3026e6
ret
Function at 0x2a323cd6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x2a3442a0
call fcn.2a30372f
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x2a323d84
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
add esp, 0xc
test eax, eax
js 0x2a323d84
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x2a323d6a
push edi
call fcn.2a3203ae
pop ecx
test al, al
je 0x2a323d6a
mov eax, edi
call fcn.2a341a00
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a323d76
push edi
lea ecx, [ebp - 0x428]
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
push 3
push edi
push esi
push eax
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
cmp eax, ebx
jne 0x2a323dc1
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a323d9d
lea ecx, [ebp - 0x418]
call fcn.2a31ffe1
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.2a31fe2e
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.2a303768
ret 0x10
push 2
push ebx
push eax
call fcn.2a3212fd
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x2a323de2
call fcn.2a31f619
mov esi, eax
jmp 0x2a323eac
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x2a323e05
call fcn.2a31f619
jmp 0x2a323e9e
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x2a323dfb
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x424], esi
cmp eax, esi
jae 0x2a323e35
mov esi, 0x8007000e
jmp 0x2a323ea0
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
mov dword [ebp - 4], 1
jmp 0x2a323e63
cmp dword [ebp - 0x418], ebx
je 0x2a323e2e
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call sym.SEARCH.API__ixSetLocationForTemporaryFiles_4
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a323da2
lea ecx, [ebp - 0x418]
call fcn.2a31ffe1
jmp 0x2a323da2
Function at 0x45a7d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3e000]
push edi
or ebp, 0xffffffff
jmp 0x45a7f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45a7f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a7e8
mov eax, 1
add ebx, ebx
jne 0x45a80b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45a81c
jne 0x45a83b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a83b
dec eax
add ebx, ebx
jne 0x45a828
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45a800
add ebx, ebx
jne 0x45a837
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45a88d
xor ecx, ecx
sub eax, 3
jb 0x45a853
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45a8c2
sar eax, 1
mov ebp, eax
jmp 0x45a85e
add ebx, ebx
jne 0x45a85e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a82c
inc ecx
add ebx, ebx
jne 0x45a86c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a82c
add ebx, ebx
jne 0x45a879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45a86e
jne 0x45a88a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45a86e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45a8ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45a89e
jmp 0x45a7ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45a8ac
add edi, ecx
jmp 0x45a7ee
pop esi
mov edi, esi
mov ecx, 0x8b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45a8ca
cmp byte [edi], 5
jne 0x45a8ca
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 0x45a8cf
lea edi, [esi + 0x58000]
mov eax, dword [edi]
or eax, eax
je 0x45a947
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5a0c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5a104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45a8fc
mov ecx, edi
jns 0x45a92b
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 + 0x5a108]
or eax, eax
je 0x45a941
mov dword [ebx], eax
add ebx, 4
jmp 0x45a919
call dword [esi + 0x5a118]
mov ebp, dword [esi + 0x5a10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x45a97b
sub esp, 0xffffff80
jmp 0x40138c
Function at 0x408df6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408e34
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x408e3b
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
mov dword [esp + 4], str._s_S.dll
add edx, 0x40c660
add eax, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4

Function at 0x408fdc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x43d564], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x409019
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x409004
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x408ff6
mov dword [ecx*4 + 0x43d560], eax
inc ecx
cmp ecx, 0x100
jne 0x408fef
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x40903b
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43d560]
jmp 0x409023
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x3c23700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.03c2378f
jae 0x3c2370e
xor ecx, ecx
call fcn.03c2378f
jae 0x3c2373d
xor eax, eax
call fcn.03c2378f
jae 0x3c2374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.03c2378f
adc al, al
jae 0x3c2372f
jne 0x3c23779
stosb byte es:[edi], al
jmp 0x3c23711
call fcn.03c2379b
sub ecx, ebx
jne 0x3c23756
call fcn.03c23799
jmp 0x3c23775
lodsb al, byte [esi]
shr eax, 1
je 0x3c23783
adc ecx, ecx
jmp 0x3c23772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03c23799
cmp eax, 0x7d00
jae 0x3c23772
cmp ah, 5
jae 0x3c23773
cmp eax, 0x7f
ja 0x3c23774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3c23711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219