joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463d34
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x463d4b
add esp, 0xfffffff0
call fcn.00403fa4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ff1c
mov eax, dword [0x483a94]
cmp byte [eax], 0
jne 0x463d78
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x483cb0]
cmp word [eax + 2], 0
jne 0x463d92
mov eax, dword [0x483cb0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465c24
mov eax, dword [0x483d78]
cmp word [eax + 2], 0
jne 0x463dac
mov eax, dword [0x483d78]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465e34
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x42433c]
call fcn.00425dbc
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4662b8
mov dl, 1
mov eax, dword [0x416a60]
call fcn.00403b3c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x416a60]
call fcn.00403b3c
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x424b94]
call fcn.0042b7e0
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x463f88
mov eax, dword [0x483bac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0042bbe4
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x466568
mov dl, 1
mov eax, dword [0x416a60]
call fcn.00403b3c
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x483bac]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040b438
test eax, eax
je 0x463eba
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040b238
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040b420
test eax, eax
je 0x463ed2
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00405690
push ebx
push 0x465638
call fcn.0045a58c
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x483a94]
cmp byte [eax], 0
jne 0x463f23
mov eax, ebx
call fcn.004640fc
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00466790
mov eax, ebx
call fcn.00467354
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463f80
call fcn.00403ffc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4643a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x464446
cmp dword [ebx + 0x90], 0
jne 0x464440
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46431c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x464440
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x464406
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464440
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.00419080
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464415
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464664
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x48917c]
cmp dword [eax + 0x170], 0
je 0x4647c9
test bl, bl
jne 0x464717
cmp dword [esi + 0x98], 0
jne 0x46470c
mov eax, esi
call fcn.004671a4
push eax
push 0x464570
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x4646dd
mov eax, dword [0x48917c]
cmp byte [eax + 0xcf], 0
je 0x4646dd
mov eax, dword [esi + 0xd4]
call fcn.0040632c
mov edi, eax
cmp edi, 0
jl 0x4646dd
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4646c6
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46470c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00419080
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4646ec
inc dword [esi + 0x98]
jmp 0x4647c9
cmp dword [esi + 0x98], 0
jle 0x4647c9
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x4647c9
cmp dword [esi + 0x40], 0
je 0x464774
mov eax, dword [0x48917c]
cmp byte [eax + 0xcf], 0
je 0x464774
mov eax, dword [esi + 0xd4]
call fcn.0040632c
mov edi, eax
cmp edi, 0
jl 0x464774
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46475d
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4647a3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00419080
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x464783
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x459f98]
call fcn.004064ec
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x465384
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x4653ef
cmp byte [ebx + 0xcf], 0
jne 0x4653ef
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405614
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4653dc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4653fc
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004054d8
jmp 0x4653fc
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004054d8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x466964
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x4669d2
mov eax, esi
call fcn.0044d4c4
test al, al
je 0x4669d2
mov eax, dword [ebx + 0x80]
call fcn.0044d118
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4669d2
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4669c6
push 0
mov eax, dword [ebx + 0x80]
call fcn.0044d118
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.00444780
jmp 0x4669d2
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.004667b0
pop esi
pop ebx
ret
Function at 0x4022e3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
and word [ebp - 2], 0
mov esi, eax
lea eax, [ebp - 0x14]
mov word [ebp - 0x14], 0x6e
push eax
mov word [ebp - 0x12], 0x74
mov word [ebp - 0x10], 0x64
mov word [ebp - 0xe], 0x6c
mov word [ebp - 0xc], 0x6c
mov word [ebp - 0xa], 0x2e
mov word [ebp - 8], 0x64
mov word [ebp - 6], 0x6c
mov word [ebp - 4], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [ebp + 8], eax
je 0x4023d1
and byte [ebp - 0x16], 0
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov byte [ebp - 0x2c], 0x52
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x47
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0x4e
mov byte [ebp - 0x25], 0x74
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x4e
mov byte [ebp - 0x1c], 0x75
mov byte [ebp - 0x1b], 0x6d
mov byte [ebp - 0x1a], 0x62
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x73
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4023c8
lea esi, [edi + 0xc]
lea ecx, [edi + 8]
push esi
add edi, 4
push ecx
push edi
call eax
and word [esi + 2], 0
push 1
pop esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x4023d7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 4], 0
and word [ebp - 0x18], 0
and byte [ebp - 6], 0
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x28]
mov word [ebp - 0x28], 0x6b
push eax
mov word [ebp - 0x26], 0x65
mov word [ebp - 0x24], 0x72
mov word [ebp - 0x22], 0x6e
mov word [ebp - 0x20], 0x65
mov word [ebp - 0x1e], 0x6c
mov word [ebp - 0x1c], 0x33
mov word [ebp - 0x1a], 0x32
mov byte [ebp - 0x14], 0x49
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x57
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x77
mov byte [ebp - 0xf], 0x36
mov byte [ebp - 0xe], 0x34
mov byte [ebp - 0xd], 0x50
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x73
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40247b
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x4026af
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x754
xor eax, eax
push esi
push eax
push eax
push eax
lea ecx, [ebp - 8]
push eax
push ecx
push eax
mov byte [ebp - 1], al
push eax
lea eax, [ebp - 4]
push eax
mov byte [ebp - 4], 0x63
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x5c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [ebp - 0x754]
jmp loc.0041b000
Function at 0x4027d0
Capabilities:
Encode data using xor

Disassembly:
push esi
or esi, 0xffffffff
cmp byte [0x4077bc], 0
jne 0x4027e9
call fcn.0040281c
mov byte [0x4077bc], 1
xor eax, eax
cmp dword [esp + 0xc], eax
jle 0x402816
mov ecx, dword [esp + 8]
mov edx, esi
and edx, 0xff
movzx ecx, byte [eax + ecx]
xor ecx, edx
shr esi, 8
mov ecx, dword [ecx*4 + 0x4073bc]
xor esi, ecx
inc eax
cmp eax, dword [esp + 0xc]
jl 0x4027f1
mov eax, esi
pop esi
not eax
ret

Function at 0x40281c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x4073bc
push 8
mov eax, edx
pop esi
test al, 1
je 0x402836
shr eax, 1
xor eax, 0xedb88320
jmp 0x402838
shr eax, 1
dec esi
jne 0x402829
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x4077bc
jl 0x402824
pop esi
ret

Function at 0x402865
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
lea eax, [ebp - 4]
push esi
push eax
push 0x20
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402944
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
mov word [ebp - 0x3c], 0x53
mov word [ebp - 0x3a], 0x65
mov word [ebp - 0x38], 0x53
mov word [ebp - 0x36], 0x68
mov word [ebp - 0x34], 0x75
mov word [ebp - 0x32], 0x74
mov word [ebp - 0x30], 0x64
mov word [ebp - 0x2e], 0x6f
mov word [ebp - 0x2c], 0x77
mov word [ebp - 0x2a], 0x6e
mov word [ebp - 0x28], 0x50
mov word [ebp - 0x26], 0x72
mov word [ebp - 0x24], 0x69
mov word [ebp - 0x22], 0x76
mov word [ebp - 0x20], 0x69
mov word [ebp - 0x1e], 0x6c
mov word [ebp - 0x1c], 0x65
mov word [ebp - 0x1a], 0x67
mov word [ebp - 0x18], 0x65
mov word [ebp - 0x16], si
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
lea eax, [ebp - 0x14]
push 0x10
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret
Function at 0x75509975
Capabilities:
Encode data using xor

Disassembly:
add byte [edx], al
add byte [edx], al
add byte [ecx], al
add byte [ecx], al
add byte [edx - 0x18], dh
dec ebx
add dword [eax + 0x2005c98], 0
add al, byte [eax]
add dword [eax], eax
add dword [eax], eax
and dl, byte [edx + esi*4 - 0x7d]
sbb byte [edx + 0x2005c], 2
lcall 2, 0x2005c
add dword [eax], eax
add dword [eax], eax
inc edx
add al, 0x4c
add al, byte [eax]
add al, byte [eax]
add dword [eax], eax
add dword [eax], eax
inc edx
add al, 0x4c
add dword [eax + 0x2005c9c], 0
add al, byte [eax]
add dword [eax], eax
add dword [eax], eax
xor ch, ch
dec ebx
add dword [eax + 0x2005c9e], 0
add al, byte [eax]
add dword [eax], eax
add dword [eax], eax
add cl, byte [edx]
dec esp
add dword [eax + 0x2005cc0], 0
add al, byte [eax]
add dword [eax], eax
add dword [eax], eax
jb 0x75509978
dec ebx
add dword [eax + 0x2005cc2], 0
add al, byte [eax]
add dword [eax], eax
add dword [eax], eax
xchg edx, eax
push cs
dec esp
add dword [eax + 0x2005cc4], 0
add al, byte [eax]
add dword [eax], eax
add dword [eax], eax
xor bh, 0x4b
add dword [eax + 0x2005cc6], 0
add al, byte [eax]
add dword [eax], eax
add dword [eax], eax
jb 0x755099c2
dec ebx
add dword [eax + 0x2005cc8], 0
add al, byte [eax]
add dword [eax], eax
add dword [eax], eax
inc edx
retf

Function at 0x755119ca
Capabilities:
Encode data using xor

Disassembly:
mov word [edx], cs
add byte [eax], al
add byte [eax], al
and eax, edx
dec eax
or dword [eax], eax
add byte [eax], al
add byte [ecx], ah
push eax
mov dh, 9
add byte [eax], al
add byte [eax], al
pushal
mov bh, dh
or al, 0
and byte [eax], al
add byte [eax - 0x78], ah
cmpsd dword [esi], dword es:[edi]
add byte [eax], al
and byte [eax], al
add byte [eax - 0x78], ah
dec ebx
add byte [eax], al
and byte [eax], al
add byte [eax - 0x78], ah
adc ebp, dword [eax]
add byte [eax], ah
add byte [eax], al
pushal
add al, 0
add byte [eax], dh
imul eax, edi, 0xffffff85
pushal
add al, 0
add byte [eax], dh
imul eax, edi, 0xffffff85
Function at 0x40d15a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
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.00407e6b
mov dword [ebp - 0x14], eax
cmp dword [0x4ad41c], esi
jne 0x40d24d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d1da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d32d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d32d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d32d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ad41c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ad420], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ad424], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad42c], eax
test eax, eax
je 0x40d24a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad428], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d272
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d265
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d287
push 4
pop eax
jmp 0x40d32f
cmp dword [ebp - 0x14], esi
je 0x40d287
push dword [0x4ad41c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d26c
mov eax, dword [0x4ad428]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d2e5
cmp dword [0x4ad42c], edi
je 0x40d2e5
push eax
call ebx
push dword [0x4ad42c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d2e5
test eax, eax
je 0x40d2e5
call ecx
test eax, eax
je 0x40d2da
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 0x40d2da
test byte [ebp - 8], 1
jne 0x40d2e5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d315
mov eax, dword [0x4ad420]
cmp eax, edi
je 0x40d312
push eax
call ebx
test eax, eax
je 0x40d312
call eax
mov esi, eax
test esi, esi
je 0x40d312
mov eax, dword [0x4ad424]
cmp eax, edi
je 0x40d312
push eax
call ebx
test eax, eax
je 0x40d312
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ad41c]
call ebx
test eax, eax
je 0x40d32d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d32f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004043b8
mov esp, ebp
pop ebp
ret
Function at 0x4068c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068e9
xor eax, eax
test eax, eax
je 0x4068fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068fc
xor ecx, ecx
jmp 0x4068ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ac], 0
push esi
jne 0x406a59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a33
mov dword [ecx*4 + 0x4275a8], eax
inc ecx
cmp ecx, 0x100
jl 0x406a2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275a8]
xor eax, esi
inc ecx
dec edx
jne 0x406a6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x72cb776e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x3d8a37a1
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219