joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406990
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4069fa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.004031f0
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.00406844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a01
lea eax, [ebp - 0x10c]
call fcn.004030cc
ret

Function at 0x406a08
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033ec
mov eax, dword [ebp - 8]
call fcn.004033ec
xor eax, eax
push ebp
push 0x406b58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004030cc
cmp dword [ebp - 4], 0
je 0x406a70
mov eax, dword [ebp - 4]
call fcn.00403238
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x406a70
lea eax, [ebp - 4]
mov edx, 0x406b70
call fcn.00403240
cmp dword [ebp - 8], 0
je 0x406a9f
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x406a9f
lea ecx, [ebp - 0x150]
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.004064f8
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 8]
call fcn.00403164
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403284
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004033fc
push eax
call sub.kernel32.dll_FindFirstFileA
mov esi, eax
test esi, esi
setne al
jmp 0x406b28
test dword [ebp - 0x14c], 0x10
ja 0x406b15
cmp dword [ebx], 0
je 0x406ae8
mov eax, ebx
mov edx, 0x406b7c
call fcn.00403240
push dword [ebx]
push dword [ebp - 4]
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403220
push dword [ebp - 0x150]
mov eax, ebx
mov edx, 3
call fcn.004032f8
lea eax, [ebp - 0x14c]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
neg eax
sbb eax, eax
neg eax
test al, al
jne 0x406acb
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406b5f
lea eax, [ebp - 0x150]
call fcn.004030cc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004030f0
ret
Function at 0x406b80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov edi, eax
xor eax, eax
push ebp
push 0x406c71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00403238
mov ebx, eax
lea eax, [ebx + 2]
call fcn.004024f4
mov esi, eax
mov eax, edi
call fcn.004033fc
mov edx, eax
mov eax, esi
call fcn.0040647c
mov byte [esi + ebx + 1], 0
cmp ebx, 0
jl 0x406bdb
cmp byte [esi + ebx], 0x3b
jne 0x406bd5
mov byte [esi + ebx], 0
dec ebx
cmp ebx, 0xffffffff
jne 0x406bcb
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.004026a0
cmp dword [0x4214f4], 0
je 0x406bfe
mov eax, dword [0x4214f4]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
mov dword [ebp - 0x16], esi
mov word [ebp - 0xe], 0x50
mov dword [ebp - 0xc], 0xffffffff
push 0x406c8c
push edi
push 0x406c9c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004032f8
mov eax, dword [ebp - 0x24]
call fcn.004033fc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
test bl, bl
je 0x406c54
mov ebx, dword [ebp - 0xc]
cmp ebx, 1
sbb ebx, ebx
neg ebx
mov eax, esi
call fcn.0040250c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c78
lea eax, [ebp - 0x24]
call fcn.004030cc
ret

Function at 0x406d10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.004033fc
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete al
pop ebp
ret

Function at 0x406e48
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406ee0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x406e95
mov eax, dword [ebx + 0x19]
call fcn.004033fc
push eax
push esi
mov eax, edi
call fcn.004033fc
push eax
mov eax, dword [ebx + 0x1d]
call fcn.004033fc
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [ebp - 4], eax
jmp 0x406eca
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x19]
call fcn.004033fc
push eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.004063f4
mov eax, dword [ebp - 8]
call fcn.004033fc
push eax
mov eax, edi
call fcn.004033fc
push eax
mov eax, dword [ebx + 0x1d]
call fcn.004033fc
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406ee7
lea eax, [ebp - 8]
call fcn.004030cc
ret
Function at 0x406ef4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x406efd
mov eax, dword [ebp - 4]
add esp, 4
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp byte [ebx + 0x18], 0
jne 0x406f6b
mov byte [ebp - 0x8000], 0
mov eax, dword [ebx + 0x19]
call fcn.004033fc
push eax
push 0x8000
lea eax, [ebp - 0x8000]
push eax
mov eax, esi
call fcn.004033fc
push eax
mov eax, edi
call fcn.004033fc
push eax
mov eax, dword [ebx + 0x1d]
call fcn.004033fc
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x8000]
mov ecx, 0x8000
call fcn.00403220
jmp 0x406f9c
mov eax, dword [ebp + 8]
mov edx, esi
call fcn.00403164
mov eax, dword [ebx + 0x19]
call fcn.004033fc
push eax
mov eax, esi
call fcn.004033fc
push eax
mov eax, edi
call fcn.004033fc
push eax
mov eax, dword [ebx + 0x1d]
call fcn.004033fc
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406ffc
Capabilities:
Read .ini file

Disassembly:
or eax, 0
je 0x406fee
lea eax, [esi + 4]
call fcn.004065ac
mov dword [esi], eax
lea edx, [esi + 4]
inc eax
add esi, eax
mov eax, edi
call fcn.0040ac8c
cmp byte [esi + 4], 0
jne 0x406fd1
pop eax
call fcn.0040250c
pop ecx
pop ebx
pop edi
pop esi
ret
push esi
push edi
push ebx
push ecx
mov ebx, eax
mov eax, 0x8003
mov edi, edx
call fcn.004024f4
mov esi, eax
push eax
push dword [ebx + 0x19]
mov eax, 0x7fff
push eax
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_GetPrivateProfileSectionNamesA
jmp 0x406fcc

Function at 0x40702c
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
push ebx
push ecx
mov ebx, eax
mov eax, 0x8003
mov edi, edx
call fcn.004024f4
mov esi, eax
push eax
or byte [ebx + 0x18], 0
jne 0x407061
push dword [ebx + 0x19]
mov eax, 0x7fff
push eax
lea eax, [esi + 4]
push eax
push dword [ebx + 0x1d]
call sub.kernel32.dll_GetPrivateProfileSectionA
jmp 0x406fcc
push ebx
push esi
push edx
push ebp
mov edx, 0
mov ebp, dword [edi + 0x1c]
mov ebx, 0x7ffd
je 0x4070a0
or ebx, ebx
je 0x4070a0
push edx
mov eax, edi
call fcn.0040ad10
push eax
call fcn.004065ac
pop eax
xor ecx, 0xffffffff
mov edx, esi
sub ebx, ecx
ja 0x407094
add ecx, ebx
xor ebx, ebx
add esi, ecx
call fcn.004025c8
pop edx
inc edx
dec ebp
jmp 0x407072
mov word [esi], 0
pop ebp
pop edx
pop esi
pop ebx
mov eax, ebx
call fcn.00406e28
push dword [ebx + 0x19]
push esi
push dword [ebx + 0x1d]
call sub.kernel32.dll_WritePrivateProfileSectionA
pop eax
call fcn.0040250c
pop ecx
pop ebx
pop edi
pop esi
ret
Function at 0x409884
Capabilities:
Get graphical window text

Disassembly:
xchg edx, eax
movzx ecx, byte [edx + 0x3a]
jecxz 0x409893
mov edx, dword [edx + 0x36]
jmp fcn.004031f0
mov ecx, dword [edx + 0x18]
jecxz 0x40988b
push ebx
push esi
xchg ebx, eax
mov esi, ecx
push esi
call sub.user32.dll_GetWindowTextLengthA
mov edx, eax
inc eax
push eax
mov eax, ebx
call fcn.00403568
pop edx
mov ecx, dword [ebx]
jecxz 0x4098bb
push edx
push ecx
push esi
call sub.user32.dll_GetWindowTextA
pop esi
pop ebx
ret

Function at 0x40992c
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x27], 0xef
test dl, dl
je 0x409938
or byte [eax + 0x27], 0x10
mov byte [eax + 0x4e], dl
mov ecx, dword [eax + 0x18]
jecxz 0x409954
push eax
je 0x409955
call dword [0x420130]
pop eax
push 5
push dword [eax + 0x18]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x15a], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x420130]
ret
Function at 0x40cb58
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
cmp byte [0x42036c], 0xff
je 0x40cb6e
mov al, byte [0x42036c]
jmp 0x40cbce
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x40cba7
mov al, 3
mov edx, dword [esp + 4]
cmp edx, 6
jb 0x40cb93
mov al, 6
jmp 0x40cbc9
cmp edx, 5
jb 0x40cbc9
cmp dword [esp + 8], 1
jb 0x40cba3
mov al, 5
jmp 0x40cbc9
mov al, 4
jmp 0x40cbc9
cmp eax, 1
jne 0x40cbc7
mov al, 1
cmp dword [esp + 4], 4
ja 0x40cbc3
cmp dword [esp + 4], 4
jne 0x40cbc9
cmp dword [esp + 8], 0xa
jb 0x40cbc9
mov al, 2
jmp 0x40cbc9
xor eax, eax
mov byte [0x42036c], al
add esp, 0x94
ret
Function at 0x4132a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x4132d9
push 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x49]
test eax, eax
je 0x4132ce
push 0
mov eax, dword [eax + 0x18]
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebx + 0xb8]
call fcn.0040dcbc
cmp byte [ebx + 0x60], 0
jne 0x413335
mov dword [ebx + 8], 0x58
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 1
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x18], 0x401
mov eax, dword [ebx + 4]
call fcn.00409b60
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x6c]
call fcn.004033fc
mov edx, eax
lea eax, [ebx + 0x20]
mov ecx, 0x3f
call fcn.00406558
lea eax, [ebx + 8]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
mov byte [ebx + 0x60], 1
pop ebx
ret

Function at 0x416b44
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
mov edx, 0x200
call fcn.00403568
push 0x200
mov eax, esi
call fcn.00403408
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.user32.dll_GetWindowTextA
mov edx, eax
mov eax, esi
call fcn.00403568
lea eax, [ebx + 4]
mov edx, 0x200
call fcn.00403568
push 0x200
lea eax, [ebx + 4]
call fcn.00403408
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.user32.dll_GetClassNameA
mov edx, eax
lea eax, [ebx + 4]
call fcn.00403568
pop esi
pop ebx
ret
Function at 0x417464
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebx
push esi
test dl, dl
je 0x417472
add esp, 0xfffffff0
call fcn.004029a0
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.004028a0
lea eax, [esi + 0x24]
xor ecx, ecx
mov edx, 0x94
call fcn.004026a0
mov dword [esi + 0x24], 0x94
lea eax, [esi + 0x24]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [0x42169c], 0
jne 0x4174fb
push 0x417608
call sub.kernel32.dll_LoadLibraryA
mov dword [0x42169c], eax
push 0x417614
mov eax, dword [0x42169c]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216ac], eax
cmp dword [esi + 0x28], 6
jae 0x4174e6
push 0x41762c
mov eax, dword [0x42169c]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216cc], eax
push 0x417644
mov eax, dword [0x42169c]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216d4], eax
cmp dword [0x4216a0], 0
jne 0x41753d
push 0x417660
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4216a0], eax
push 0x41766c
mov eax, dword [0x4216a0]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216b4], eax
push 0x417688
mov eax, dword [0x4216a0]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216b8], eax
cmp dword [0x4216a4], 0
jne 0x41756a
push 0x4176a4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4216a4], eax
push 0x4176b4
mov eax, dword [0x4216a4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216b0], eax
cmp dword [0x4216a8], 0
jne 0x4175eb
push 0x4176c4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4216a8], eax
push 0x4176d4
mov eax, dword [0x4216a8]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216bc], eax
push 0x4176ec
mov eax, dword [0x4216a8]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216c0], eax
push 0x417704
mov eax, dword [0x4216a8]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216c4], eax
push 0x41771c
mov eax, dword [0x4216a8]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216c8], eax
push 0x417734
mov eax, dword [0x4216a8]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4216d0], eax
mov eax, esi
test bl, bl
je 0x417600
call fcn.004029f8
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4022cc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
nop
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_GetStartupInfoA
mov eax, dword [ebp - 0x18]
and eax, 1
cmp eax, 0
je 0x4022fa
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x50], eax
jmp 0x402302
mov eax, 0xa
mov dword [ebp - 0x50], eax
mov eax, 0
mov dword [ebp - 0x48], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x402331
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.msvcrt.dll_strstr
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, 0
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x402357
mov eax, 0x403294
push eax
call sub.msvcrt.dll__strdup
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x402380
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
jbe 0x402380
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x402380
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov eax, 0x30000
push eax
mov eax, 0x10000
push eax
call sub.msvcrt.dll__controlfp
add esp, 8
mov eax, 0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, 0
push ecx
push eax
call fcn.004020a4
leave
ret
Function at 0x45db70
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x45dbbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x45dbbb
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call sub.MFC42u.DLL_operatornew
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call sub.MFC42u.DLL_operatornew
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x45dc00
test esi, esi
je 0x45dc11
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x45dc0d
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
test ebx, ebx
jne 0x45dc20
mov edi, dword [edi]
test edi, edi
je 0x45dc20
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x70ed44f4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..text
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
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
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x6d815673
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1002d7c0
Capabilities:
Encode data using xor

Disassembly:
pop ss
out 0x2c, eax
mov ebp, esi
lea ebx, [ebx + 0x5a]
fisubr word [edx + esi*4 - 0x413ba570]
popfd
shl dword [ebp - 0x29], 1
push ss
invalid

Function at 0x10406168
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10406172
pushal
call 0x10406178
pop ebp
sub ebp, 0x10
sub ebp, 0x406168
mov al, byte [esp + 0x28]
cmp al, 1
je 0x1040619c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x104061a5
mov eax, 0x406168
add eax, ebp
add eax, 0x63
mov ecx, 0x615
mov edx, 0x8d49ac62
xor byte [eax], dl
inc eax
dec ecx
jne 0x104061bc
jmp 0x104061cf
jmp 0x6f2c4b83
Function at 0x40ce28
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419418]
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.004078bb
mov dword [ebp - 0x14], eax
cmp dword [0x430ad8], esi
jne 0x40cf1b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cea8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cffb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cffb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cffb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x430ad8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x430adc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x430ae0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430ae8], eax
test eax, eax
je 0x40cf18
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430ae4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cf40
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cf33
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cf55
push 4
pop eax
jmp 0x40cffd
cmp dword [ebp - 0x14], esi
je 0x40cf55
push dword [0x430ad8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cf3a
mov eax, dword [0x430ae4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cfb3
cmp dword [0x430ae8], edi
je 0x40cfb3
push eax
call ebx
push dword [0x430ae8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cfb3
test eax, eax
je 0x40cfb3
call ecx
test eax, eax
je 0x40cfa8
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 0x40cfa8
test byte [ebp - 8], 1
jne 0x40cfb3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cfe3
mov eax, dword [0x430adc]
cmp eax, edi
je 0x40cfe0
push eax
call ebx
test eax, eax
je 0x40cfe0
call eax
mov esi, eax
test esi, esi
je 0x40cfe0
mov eax, dword [0x430ae0]
cmp eax, edi
je 0x40cfe0
push eax
call ebx
test eax, eax
je 0x40cfe0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x430ad8]
call ebx
test eax, eax
je 0x40cffb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cffd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041dc
mov esp, ebp
pop ebp
ret
Function at 0x4933e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x65000]
push edi
or ebp, 0xffffffff
jmp 0x493402
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x493409
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4933f8
mov eax, 1
add ebx, ebx
jne 0x49341b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49342c
jne 0x49344b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49344b
dec eax
add ebx, ebx
jne 0x493438
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x493410
add ebx, ebx
jne 0x493447
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49349d
xor ecx, ecx
sub eax, 3
jb 0x493463
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4934d2
sar eax, 1
mov ebp, eax
jmp 0x49346e
add ebx, ebx
jne 0x49346e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49343c
inc ecx
add ebx, ebx
jne 0x49347c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49343c
add ebx, ebx
jne 0x493489
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49347e
jne 0x49349a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49347e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4934bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4934ae
jmp 0x4933fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4934bc
add edi, ecx
jmp 0x4933fe
pop esi
mov edi, esi
mov ecx, 0x2883
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4934da
cmp byte [edi], 0x17
jne 0x4934da
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 0x4934df
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x493557
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x98874]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x989a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49350c
mov ecx, edi
jns 0x49353b
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 + 0x989a4]
or eax, eax
je 0x493551
mov dword [ebx], eax
add ebx, 4
jmp 0x493529
call dword [esi + 0x989b4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x493588
cmp al, 0xef
ja 0x49357b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x49355d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x49356a
mov ebp, dword [esi + 0x989a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x4935bc
sub esp, 0xffffff80
jmp 0x43b807