joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002bb22
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002bb39
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1002bb4e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0xfffffff9
mov esp, ebp
pop ebp
ret
Function at 0x10030ba6
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10030bf7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
inc eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx + 0xc], eax
jmp 0x10030c08
push 0x1402
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov esp, ebp
pop ebp
ret
Function at 0x100339f7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10033a1b
xor eax, eax
jmp 0x10033b66
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.100337d0
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10033a43
xor eax, eax
jmp 0x10033b66
push dword [ebp - 8]
push 0x4a45
push 0x336d
lea eax, [ebp - 0xc]
push eax
push 0x13f7
push 1
call fcn.1003346a
add esp, 0x18
cmp dword [ebp - 0xc], 0
jne 0x10033a70
xor eax, eax
jmp 0x10033b66
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x7e05
lea eax, [ebp - 4]
push eax
push 0x27d8
lea eax, [ebp - 0xc]
push eax
call fcn.10033830
add esp, 0x20
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.100338f2
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x3269
push 0x535e
lea eax, [ebp - 8]
push eax
push 1
call fcn.10033962
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x10033ae4
push dword [ebp - 0x14]
push 1
push dword [ebp - 4]
call fcn.1002f5be
add esp, 0xc
push dword [ebp - 4]
call fcn.10033356
pop ecx
test eax, eax
jne 0x10033af5
xor eax, eax
jmp 0x10033b66
push dword [ebp - 4]
push 1
push 0x12ad
push 0x3b4d
call fcn.1002bf44
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10033b4e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10033b2b
xor eax, eax
jmp 0x10033b66
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10033b44
xor eax, eax
jmp 0x10033b66
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10033b5f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10033b63
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004af05
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004af3a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1004af38
push 0
push 0
push 0x2030
push 0x2386
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ScrollWindow]
jmp 0x1004af4e
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1004af4e
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esp, ebp
pop ebp
ret

Function at 0x1004b082
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1004b09b
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x1004b1d9
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, 0x2abf7c2f
test eax, eax
je 0x1004b0f1
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x1004b0f1
mov dword [ebp - 8], 1
jmp 0x1004b0f5
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0x9281c1d9
jb 0x1004b10c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1004b10c
and dword [ebp - 0xc], 0
jmp 0x1004b113
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
cmp eax, 0xb608
jg 0x1004b12b
mov dword [ebp - 0x14], 1
jmp 0x1004b12f
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
jl 0x1004b142
mov dword [ebp - 0x18], 1
jmp 0x1004b146
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jg 0x1004b159
mov dword [ebp - 0x1c], 1
jmp 0x1004b15d
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x1004b181
mov eax, 0xfffa
test eax, eax
jne 0x1004b181
and dword [ebp - 0x24], 0
jmp 0x1004b188
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jne 0x1004b19b
mov dword [ebp - 0x28], 1
jmp 0x1004b19f
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jl 0x1004b1b2
mov dword [ebp - 0x2c], 1
jmp 0x1004b1b6
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 6
jae 0x1004b1cd
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1004b1cd
mov dword [ebp - 0x30], 1
jmp 0x1004b1d1
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1007dd3c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008f330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1007506c
mov dword [ebp - 0x14], eax
cmp dword [0x1067b630], esi
jne 0x1007de2f
push 0x800
push esi
push 0x100062bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007ddbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007df0f
push esi
push esi
push 0x100062bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007df0f
push 0x100062d4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007df0f
push eax
call ebx
push 0x100062e0
push edi
mov dword [0x1067b630], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100062f0
push edi
mov dword [0x1067b634], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10006304
push edi
mov dword [0x1067b638], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067b640], eax
test eax, eax
je 0x1007de2c
push 0x10006320
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067b63c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007de54
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007de47
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007de69
push 4
pop eax
jmp 0x1007df11
cmp dword [ebp - 0x14], esi
je 0x1007de69
push dword [0x1067b630]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007de4e
mov eax, dword [0x1067b63c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007dec7
cmp dword [0x1067b640], edi
je 0x1007dec7
push eax
call ebx
push dword [0x1067b640]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007dec7
test eax, eax
je 0x1007dec7
call ecx
test eax, eax
je 0x1007debc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007debc
test byte [ebp - 8], 1
jne 0x1007dec7
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007def7
mov eax, dword [0x1067b634]
cmp eax, edi
je 0x1007def4
push eax
call ebx
test eax, eax
je 0x1007def4
call eax
mov esi, eax
test esi, esi
je 0x1007def4
mov eax, dword [0x1067b638]
cmp eax, edi
je 0x1007def4
push eax
call ebx
test eax, eax
je 0x1007def4
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067b630]
call ebx
test eax, eax
je 0x1007df0f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007df11
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x401078
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x5c8]
sub esp, 0x648
mov eax, dword [0x417030]
xor eax, ebp
mov dword [ebp + 0x5c4], eax
mov eax, dword [ebp + 0x5d0]
push ebx
push esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x5d8]
push edi
mov dword [ebp - 0x64], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x3bc], ax
xor ebx, ebx
lea eax, [ebp + 0x3be]
push ebx
push eax
call fcn.00407150
add esp, 0xc
lea eax, [ebp + 0x3bc]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40111e
xor eax, eax
push esi
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push ebx
push eax
call fcn.00407150
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.12au_x
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00405c4b
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x3bc]
push edi
push eax
call fcn.00405ce6
add esp, 0x1c
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
call fcn.0040165a
cmp eax, ebx
je 0x401206
lea ecx, [ebp - 0x60]
push ecx
mov esi, eax
mov dword [ebp - 0x60], ebx
call fcn.0040185e
pop ecx
cmp eax, ebx
je 0x40115a
lea ecx, [ebp + 0x3bc]
push ecx
push dword [ebp - 0x60]
mov ecx, eax
call fcn.004033b2
pop ecx
pop ecx
cmp dword [ebp - 0x58], ebx
je 0x401168
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x204
lea eax, [ebp + 0x1b8]
push ebx
push eax
mov dword [ebp + 0x1b4], 0x30
call fcn.00407150
push 0xffffffffffffffff
lea eax, [ebp + 0x3bc]
push eax
lea eax, [ebp + 0x1b4]
push edi
push eax
call fcn.00405b78
push 0x412cdc
lea eax, [ebp + 0x1b4]
push edi
push eax
call fcn.00405ce6
push 0x412ce0
lea eax, [ebp + 0x1b4]
push edi
push eax
call fcn.00405ce6
add esp, 0x34
lea eax, [ebp + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x401206
push str.InstallerModuleEntry
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4011f8
push dword [ebp - 0x64]
lea ecx, [ebp + 0x3bc]
push ecx
push dword [ebp - 0x5c]
call eax
add esp, 0xc
jmp 0x4011fd
call fcn.00401000
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40120b
call fcn.00401000
lea eax, [ebp + 0x3bc]
push eax
lea esi, [ebp - 0x80]
call fcn.00401245
mov eax, esi
call fcn.004019f1
push ebx
push 1
call fcn.004012e9
mov ecx, dword [ebp + 0x5c4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00405b69
add ebp, 0x5c8
leave
ret 0x10
Function at 0x4019f1
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, eax
push esi
call fcn.00401a18
cmp dword [esi + 0x18], 8
pop ecx
jb 0x401a06
mov esi, dword [esi + 4]
jmp 0x401a09
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
pop esi
ret

Function at 0x401a18
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x410d85
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x417030]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x417030]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
call fcn.00401e9e
and dword [esp + 0x78], 0
lea eax, [esp + 0x1c]
push eax
call fcn.00401e9e
push ebx
lea edi, [esp + 0x38]
mov byte [esp + 0x7c], 1
call fcn.00401c9e
pop ecx
push ebx
lea edi, [esp + 0x20]
call fcn.00401d0d
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x44]
pop ecx
cdq
push 0x1c
pop ecx
idiv ecx
xor edi, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
cdq
idiv ecx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], edi
jbe 0x401b05
push ebx
lea esi, [esp + 0x50]
call fcn.00401d7f
push edi
lea esi, [esp + 0x38]
mov byte [esp + 0x7c], 2
call fcn.00401f03
lea ecx, [esp + 0x4c]
push ecx
call fcn.00401948
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
pop ecx
jae 0x401ae2
lea eax, [esp + 0x50]
push eax
call fcn.004064de
pop ecx
push 0
push 1
lea esi, [esp + 0x54]
mov byte [esp + 0x80], 1
call fcn.004012e9
inc edi
cmp edi, dword [esp + 0x14]
jb 0x401aaf
xor edi, edi
cmp dword [esp + 0x18], edi
jbe 0x401b6e
push ebx
lea esi, [esp + 0x50]
call fcn.00401d7f
push edi
lea esi, [esp + 0x20]
mov byte [esp + 0x7c], 3
call fcn.00401f03
lea ecx, [esp + 0x4c]
push ecx
call fcn.00401948
pop ecx
lea eax, [esp + 0x4c]
push eax
call fcn.00401a18
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
pop ecx
jae 0x401b4b
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 1
lea esi, [esp + 0x54]
mov byte [esp + 0x80], 1
call fcn.004012e9
inc edi
cmp edi, dword [esp + 0x18]
jb 0x401b0d
lea esi, [esp + 0x1c]
call fcn.00401ed6
lea esi, [esp + 0x34]
call fcn.00401ed6
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00405b69
mov esp, ebp
pop ebp
ret
Function at 0x401ba0
Capabilities:
Enumerate files on windows

Disassembly:
push 0x294
mov eax, 0x410cc4
call fcn.004078e6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x268], ecx
jb 0x401bc3
mov eax, dword [eax + 4]
jmp 0x401bc6
add eax, 4
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor ebx, ebx
mov edi, eax
inc ebx
cmp edi, 0xffffffff
je 0x401c8f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x412d34
lea eax, [ebp - 0x238]
push eax
call esi
test eax, eax
je 0x401c79
push 0x412d38
lea eax, [ebp - 0x238]
push eax
call esi
test eax, eax
je 0x401c79
cmp byte [ebp + 0xc], 0
je 0x401c41
test byte [ebp - 0x264], 0x10
je 0x401c79
lea eax, [ebp - 0x238]
push eax
lea esi, [ebp - 0x284]
call fcn.00401245
and dword [ebp - 4], 0
mov eax, esi
push eax
mov eax, dword [ebp - 0x268]
call fcn.00401f29
jmp 0x401c6d
test byte [ebp - 0x264], 0x10
jne 0x401c79
lea eax, [ebp - 0x238]
push eax
lea esi, [ebp - 0x2a0]
call fcn.00401245
mov eax, esi
push eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 4], ebx
call fcn.00401f29
or dword [ebp - 4], 0xffffffff
push 0
push ebx
call fcn.004012e9
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
je 0x401be2
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
call fcn.00407969
ret

Function at 0x4032b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x417030]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x4033a4
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jl 0x4033a4
push edi
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
call fcn.00407150
movzx eax, byte [ebp - 0x25d]
push eax
movzx eax, byte [ebp - 0x25e]
push eax
movzx eax, byte [ebp - 0x25f]
push eax
movzx eax, byte [ebp - 0x260]
push eax
movzx eax, byte [ebp - 0x261]
push eax
movzx eax, byte [ebp - 0x262]
push eax
movzx eax, byte [ebp - 0x263]
push eax
movzx eax, byte [ebp - 0x264]
push eax
movzx eax, word [ebp - 0x266]
push eax
movzx eax, word [ebp - 0x268]
push eax
push dword [ebp - 0x26c]
lea edi, [ebp - 0x54]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push 0x28
pop ecx
call fcn.00403265
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25a]
push eax
call fcn.00407150
add esp, 0x48
lea eax, [ebp - 0x25c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, edi
push eax
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
inc eax
pop edi
jmp 0x4033a6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405b69
leave
ret
Function at 0x4054a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, eax
test edx, edx
jne 0x4054ab
xor eax, eax
pop edi
ret
or eax, 0xffffffff
push esi
mov ecx, 0xff
cmp edi, 8
jb 0x40555e
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
sub edi, 8
dec esi
jne 0x4054c3
pop ebx
test edi, edi
je 0x405577
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4142e0]
inc edx
dec edi
jne 0x405562
pop esi
not eax
pop edi
ret

Function at 0x405b69
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417030]
jne 0x405b73
repz ret
jmp fcn.00407987
Function at 0x40f775
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.00408e8f
and dword [ebp - 4], 0
cmp dword [0x418f00], 0
mov ebx, eax
jne 0x40f826
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f8d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40f8d7
push eax
call fcn.00408e1d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x418f00], eax
call esi
push eax
call fcn.00408e1d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x418f04], eax
call esi
push eax
call fcn.00408e1d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x418f08], eax
call esi
push eax
call fcn.00408e1d
pop ecx
mov dword [0x418f10], eax
test eax, eax
je 0x40f826
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00408e1d
pop ecx
mov dword [0x418f0c], eax
mov eax, dword [0x418f0c]
cmp eax, ebx
je 0x40f87e
cmp dword [0x418f10], ebx
je 0x40f87e
push eax
call fcn.00408e98
push dword [0x418f10]
mov esi, eax
call fcn.00408e98
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f87e
test edi, edi
je 0x40f87e
call esi
test eax, eax
je 0x40f875
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f875
test byte [ebp - 0xc], 1
jne 0x40f87e
or dword [ebp + 0x10], 0x200000
jmp 0x40f8b7
mov eax, dword [0x418f04]
cmp eax, ebx
je 0x40f8b7
push eax
call fcn.00408e98
pop ecx
test eax, eax
je 0x40f8b7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f8b7
mov eax, dword [0x418f08]
cmp eax, ebx
je 0x40f8b7
push eax
call fcn.00408e98
pop ecx
test eax, eax
je 0x40f8b7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x418f00]
call fcn.00408e98
pop ecx
test eax, eax
je 0x40f8d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f8d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x52c090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd5000]
push edi
jmp 0x52c0aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52c0b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c0a0
mov eax, 1
add ebx, ebx
jne 0x52c0c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52c0d4
jne 0x52c0f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c0f3
dec eax
add ebx, ebx
jne 0x52c0e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52c0b8
add ebx, ebx
jne 0x52c0ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52c145
xor ecx, ecx
sub eax, 3
jb 0x52c10b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52c17a
sar eax, 1
mov ebp, eax
jmp 0x52c116
add ebx, ebx
jne 0x52c116
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c0e4
inc ecx
add ebx, ebx
jne 0x52c124
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c0e4
add ebx, ebx
jne 0x52c131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52c126
jne 0x52c142
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52c126
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52c164
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52c156
jmp 0x52c0a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52c164
add edi, ecx
jmp 0x52c0a6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52c182
cmp byte [edi], 0x11
jne 0x52c182
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 0x52c187
lea edi, [esi + 0x125000]
mov eax, dword [edi]
or eax, eax
je 0x52c1ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17eeb4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17f030]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52c1b4
mov ecx, edi
jns 0x52c1e3
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 + 0x17f034]
or eax, eax
je 0x52c1f9
mov dword [ebx], eax
add ebx, 4
jmp 0x52c1d1
call dword [esi + 0x17f044]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52c230
cmp al, 0xef
ja 0x52c223
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52c205
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52c212
mov ebp, dword [esi + 0x17f038]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x52c264
sub esp, 0xffffff80
jmp 0x42800a