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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x60a347
add esp, 0xfffffff0
call fcn.0040786c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a3b18
mov eax, dword [0x749728]
cmp byte [eax], 0
jne 0x60a374
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x749bb0]
cmp word [eax + 2], 0
jne 0x60a38e
mov eax, dword [0x749bb0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0060c6c8
mov eax, dword [0x749d48]
cmp word [eax + 2], 0
jne 0x60a3a8
mov eax, dword [0x749d48]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0060c8cc
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4ca734]
call fcn.004d07a0
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 8], ebx
mov dword [esi + 4], 0x60cd48
mov dl, 1
mov eax, dword [0x470c74]
call fcn.00407294
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x470c74]
call fcn.00407294
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4cf090]
call fcn.004d9a9c
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x60a590
mov eax, dword [0x7499e8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004d9ea0
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], 0x60d010
mov dl, 1
mov eax, dword [0x470c74]
call fcn.00407294
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x7499e8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00422bcc
test eax, eax
je 0x60a4c2
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00422a24
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00422bb0
test eax, eax
je 0x60a4da
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 + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409fcc
push ebx
push 0x60c0c4
call fcn.005ffd84
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x749728]
cmp byte [eax], 0
jne 0x60a52b
mov eax, ebx
call fcn.0060a780
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.0060d248
mov eax, ebx
call fcn.0060dea8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x60a588
call fcn.004078c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60aac4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x60ab66
cmp dword [ebx + 0xac], 0
jne 0x60ab60
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x60aa00
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x60ab60
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 0x60ab26
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x60ab60
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004933a0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x60ab35
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x753a54]
cmp dword [eax + 0x188], 0
je 0x60af4e
test bl, bl
jne 0x60ae99
cmp dword [esi + 0xb4], 0
jne 0x60ae8e
mov eax, esi
call fcn.0060dcf8
push eax
push 0x60acc8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x60ae5f
mov eax, dword [0x753a54]
cmp byte [eax + 0xeb], 0
je 0x60ae5f
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x60ae40
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x60ae5f
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x60ae48
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x60ae8e
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004933a0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x60ae6e
inc dword [esi + 0xb4]
jmp 0x60af4e
cmp dword [esi + 0xb4], 0
jle 0x60af4e
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x60af4e
cmp dword [esi + 0x58], 0
je 0x60af03
mov eax, dword [0x753a54]
cmp byte [eax + 0xeb], 0
je 0x60af03
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x60aee4
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x60af03
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x60aeec
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x60af32
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004933a0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x60af12
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5fda9c]
call fcn.0040bbf8
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x60af54
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x753a54]
cmp dword [eax + 0x188], 0
je 0x60b03e
test dl, dl
jne 0x60afdc
cmp dword [ebx + 0xb4], 0
jne 0x60afd4
mov eax, ebx
call fcn.0060dcf8
push eax
push 0x60acc8
call sub.user32.dll_EnumWindows
cmp dword [ebx + 0x58], 0
je 0x60afd4
mov eax, dword [0x753a54]
cmp byte [eax + 0xeb], 0
je 0x60afd4
mov eax, dword [ebx + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x60afb5
sub eax, 4
mov eax, dword [eax]
mov esi, eax
dec esi
cmp esi, 0
jl 0x60afd4
push 0
mov eax, dword [ebx + 0xf0]
mov eax, dword [eax + esi*4]
push eax
call sub.user32.dll_ShowWindow
dec esi
cmp esi, 0xffffffff
jne 0x60afbd
inc dword [ebx + 0xb4]
jmp 0x60b03e
cmp dword [ebx + 0xb4], 0
jle 0x60b03e
dec dword [ebx + 0xb4]
cmp dword [ebx + 0xb4], 0
jne 0x60b03e
cmp dword [ebx + 0x58], 0
je 0x60b03e
mov eax, dword [0x753a54]
cmp byte [eax + 0xeb], 0
je 0x60b03e
mov eax, dword [ebx + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x60b01f
sub eax, 4
mov eax, dword [eax]
mov esi, eax
dec esi
cmp esi, 0
jl 0x60b03e
push 4
mov eax, dword [ebx + 0xf0]
mov eax, dword [eax + esi*4]
push eax
call sub.user32.dll_ShowWindow
dec esi
cmp esi, 0xffffffff
jne 0x60b027
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x60bc50
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x60bcad
cmp byte [ebx + 0xeb], 0
jne 0x60bcad
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409120
mov eax, dword [esi]
test eax, eax
je 0x60bc9a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x60bcba
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409378
jmp 0x60bcba
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409378
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x60d430
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x60d4a1
mov eax, esi
call fcn.00505dc8
test al, al
je 0x60d4a1
mov eax, dword [ebx + 0x98]
call fcn.005059f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x60d4a1
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x144]
test al, al
je 0x60d492
push 0
mov eax, dword [ebx + 0x98]
call fcn.005059f4
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.004fc954
jmp 0x60d4a1
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.0060d268
pop esi
pop ebx
ret
Function at 0x617adc
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
xor edi, edi
mov word [esp], 0
push pe_nt_image_headers32
lea eax, [esp + 0xa]
push eax
mov eax, dword [0x7498a4]
mov eax, dword [eax]
call eax
push 0
push 2
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x12]
push eax
push 0
movzx esi, bx
push esi
call sub.user32.dll_MapVirtualKeyW
push eax
push esi
call sub.user32.dll_ToUnicode
sub eax, 1
jb 0x617b2e
je 0x617b32
dec eax
je 0x617b38
jmp 0x617b3a
xor edi, edi
jmp 0x617b3a
movzx edi, word [esp]
jmp 0x617b3a
xor edi, edi
mov eax, edi
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x621f08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x621f95
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x621fb0
push 0x621ff8
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040a204
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004219f4
test al, al
je 0x621f7a
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, ebx
mov al, 1
call fcn.0062202c
push 5
push 0x62201c
mov eax, dword [ebp - 8]
call fcn.00409f10
push eax
mov eax, dword [ebp - 4]
call fcn.00409f10
push eax
push 0x622020
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x621f9c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ff8
ret
Function at 0x64ad30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
mov edx, 1
mov eax, ebx
call fcn.0064a8dc
test eax, eax
je 0x64adc2
push dword [eax + 8]
push dword [eax + 4]
push dword [eax + 0x10]
push dword [eax + 0xc]
push 1
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x64a67c]
call fcn.0064aeac
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x64adbb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 4]
mov eax, dword [ebp - 8]
push eax
push esi
mov eax, dword [esi]
call dword [eax + 0x30]
test eax, eax
je 0x64ada0
cmp eax, 0x80004001
je 0x64ada0
xor eax, eax
jmp 0x64ada2
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64adc2
mov eax, dword [ebp - 8]
call fcn.004072c4
ret
movzx eax, byte [ebp - 1]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x65bb94
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc08
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3f8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x65bd13
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x28]
call fcn.00408f98
lea eax, [ebx + 0x2c]
call fcn.00408f98
lea eax, [ebx + 0x30]
call fcn.00408f98
lea eax, [ebx + 0x584]
call fcn.00408f98
lea eax, [ebx + 0x580]
call fcn.00408f98
lea eax, [ebp - 0x3f4]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x65bc35
lea eax, [ebx + 0x28]
lea edx, [ebp - 0x3f4]
mov ecx, 0x40
call fcn.00409fb4
lea eax, [ebx + 0x2c]
lea edx, [ebp - 0x3b4]
mov ecx, pe_nt_image_headers32
call fcn.00409fb4
lea eax, [ebx + 0x30]
lea edx, [ebp - 0x2b4]
mov ecx, 0x80
call fcn.00409fb4
mov eax, dword [esi + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
dec eax
test eax, eax
jl 0x65bcfa
inc eax
mov dword [ebp - 4], eax
xor edi, edi
lea eax, [ebp - 0x78]
push eax
push edi
mov eax, dword [esi + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
test eax, eax
jne 0x65bcf0
lea eax, [ebx + 0x480]
push eax
lea eax, [ebp - 0x78]
push eax
call sub.ole32.dll_IsEqualGUID
test al, al
je 0x65bcf0
cmp dword [esi + 8], 0
je 0x65bcf0
lea eax, [ebp - 0x230]
push eax
push edi
mov eax, dword [esi + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
test eax, eax
jne 0x65bcf0
lea eax, [ebx + 0x584]
lea edx, [ebp - 0x1b8]
mov ecx, 0x80
call fcn.00409fb4
lea eax, [ebx + 0x580]
lea edx, [ebp - 0xb8]
mov ecx, 0x40
call fcn.00409fb4
lea eax, [ebp - 0x3f8]
lea edx, [ebp - 0x138]
mov ecx, 0x40
call fcn.00409fb4
cmp dword [ebp - 0x3f8], 0
je 0x65bcf0
lea eax, [ebx + 0x28]
lea edx, [ebp - 0x138]
mov ecx, 0x40
call fcn.00409fb4
inc edi
dec dword [ebp - 4]
jne 0x65bc4d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65bd1a
lea eax, [ebp - 0x3f8]
call fcn.00408f98
ret
Function at 0x66332c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.0040d3fc
xor eax, eax
push ebp
push 0x663416
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00406260
mov dword [ebp - 0x4c], 0x44
cmp dword [ebx + 0x10], 0
je 0x663381
mov esi, 0x1000000
jmp 0x663383
xor esi, esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push esi
push 0
push 0
push 0
push edi
push 0x663438
push dword [ebp - 4]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.0040a204
mov eax, dword [ebp - 0x60]
call fcn.00409f10
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x6633f8
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x6633e0
cmp dword [ebp - 0x5c], 0xffffffff
je 0x6633e0
mov edx, dword [ebp - 0x5c]
push edx
push eax
call sub.kernel32.dll_AssignProcessToJobObject
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x6633f8
mov ecx, eax
mov edx, edi
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66341d
lea eax, [ebp - 0x60]
call fcn.00408f98
lea eax, [ebp + 8]
call fcn.0040d388
ret
Function at 0x67b370
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x67b5a1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 0x18], 0
je 0x67b571
mov edi, 0x6a7290
xor esi, esi
lea eax, [ebp - 4]
mov edx, dword [edi + esi*4]
call fcn.004093c0
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.0040a17c
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.0040a17c
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00421a8c
test al, al
je 0x67b4b5
mov byte [ebp - 0x19], 0
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00421a8c
test al, al
je 0x67b408
test byte [ebp + 8], 1
je 0x67b481
mov bl, 1
test byte [ebp + 8], 2
jne 0x67b481
xor eax, eax
push ebp
push 0x67b43f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00421b6c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004c3df4
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x67b481
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp + 8]
push eax
push dword [ebp - 8]
push 0x67b630
push 0x67b644
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040a204
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0067af94
or bl, al
inc esi
cmp esi, 3
jne 0x67b3b7
mov edi, 0x6a7290
xor esi, esi
lea eax, [ebp - 4]
mov edx, dword [edi + esi*4]
call fcn.004093c0
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.0040a17c
lea eax, [ebp - 0xc]
call fcn.005276b8
lea eax, [ebp - 0xc]
mov edx, 0x67b654
call fcn.0040a124
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.0040a17c
lea eax, [ebp - 8]
call fcn.005276b8
lea eax, [ebp - 8]
mov edx, 0x67b654
call fcn.0040a124
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004219f4
test al, al
jne 0x67b567
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.004219f4
test al, al
je 0x67b567
mov bl, 1
test byte [ebp + 8], 2
jne 0x67b567
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.00422234
mov eax, dword [ebp - 0x30]
call fcn.00421b6c
push 0
mov eax, dword [ebp - 8]
call fcn.00409f10
push eax
mov eax, dword [ebp - 0xc]
call fcn.00409f10
push eax
call sub.kernel32.dll_CopyFileW
inc esi
cmp esi, 3
jne 0x67b4c6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67b5a8
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00408ff8
lea eax, [ebp - 0x20]
call fcn.00408f98
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00408ff8
ret
Function at 0x10008340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100252c0

Function at 0x1005ca49
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1005ca58
pop dword [ebp - 0x2c]
mov eax, 0x1005ca58
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x442854b0
add dword [ebp - 0x3c], 0xa29f09b
mov dword [ebp - 0x38], 0x620774df
sub dword [ebp - 0x38], 0x2fd4289a
mov dword [ebp - 0x34], 0xe684a1fc
sub dword [ebp - 0x34], 0x9a385dce
mov dword [ebp - 0x30], 0xd4411778
sub dword [ebp - 0x30], 0xd4411778
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x71acbc1b
add eax, 0x9e5a44f1
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xb4f88c27
add dword [ebp - 0x3c], 0xbf79dd2f
mov dword [ebp - 0x38], 0xa20d2af2
sub dword [ebp - 0x38], 0x60a0c97d
mov dword [ebp - 0x34], 0xdfcc448
add dword [ebp - 0x34], 0x5572a824
mov dword [ebp - 0x30], 0x9f38ac47
add dword [ebp - 0x30], 0x60c753b9
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xbd7907b6
sub eax, 0xad720776
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x69c98
push 0
call eax
mov ecx, 0x9e7b307b
sub ecx, 0x9e7ae01a
xor ebx, ebx
add ebx, eax
mov edi, 0x8150a98e
sub edi, 0x71485d8e
add edi, dword [ebp - 0x2c]
mov edx, 0xf539a2ce
add edx, 0x91941ad8
xor dword [ebp - 0x18], 0xbeddc400
mov esi, dword [edi]
add dword [ebp - 0xc], esi
add esi, edx
add dword [ebp - 0x24], edx
mov dword [ebx], esi
xor dword [ebp - 0x20], ebx
add ebx, 0xcbe0dfa5
add ebx, 0x341f205f
add edi, 0x11e7c494
add edi, 0xee183b70
loop 0x1005cb77
add eax, 0xc658a595
sub eax, 0xc657713e
xor ebx, ebx
add ebx, eax
add eax, 0x9a30592
sub eax, 0x9a3058d
mov ecx, 0xaaf1eb51
sub ecx, 0x9af1eb51
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x407a60
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x34], 0
jne 0x407b30
push ebx
push esi
push str.mapi32.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push 0xc
mov dword [edi + 0x18], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x407ad0
xorps xmm0, xmm0
movq qword [ebx], xmm0
push str.MAPIFreeBuffer
mov dword [ebx + 8], 0
push dword [edi + 0x18]
call esi
push str.MAPIAllocateBuffer
push dword [edi + 0x18]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebx + 8], esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebx], vtable.MapiAllocator.0
mov dword [ebx + 4], eax
jmp 0x407ad2
xor ebx, ebx
push str.MAPIInitialize
push dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
call esi
push str.MAPIUninitialize
push dword [edi + 0x18]
mov dword [edi + 0x24], eax
call esi
push str.MAPILogonEx
push dword [edi + 0x18]
mov dword [edi + 0x28], eax
call esi
push str.MAPIAdminProfiles
push dword [edi + 0x18]
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x24]
pop esi
pop ebx
test eax, eax
je 0x407b30
cmp dword [edi + 0x28], 0
je 0x407b30
cmp dword [edi + 0x2c], 0
je 0x407b30
push 0
call eax
mov dword [edi + 0x14], eax
test eax, eax
js 0x407b30
mov dword [edi + 0x34], 1
pop edi
ret

Function at 0x408810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40881f
pop dword [ebp - 0x24]
mov eax, 0xb0788f0d
sub eax, 0xb03806ee
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xb54b8e78
add dword [ebp - 0x34], 0x9906b6d3
mov dword [ebp - 0x30], 0x8a8a9045
sub dword [ebp - 0x30], 0x58574400
mov dword [ebp - 0x2c], 0x7c4a1bd6
sub dword [ebp - 0x2c], 0x2ffdd7a8
mov dword [ebp - 0x28], 0xaaae27d2
add dword [ebp - 0x28], 0x5551d82e
lea eax, [ebp - 0x34]
push eax
mov eax, 0xacfd3ae2
add eax, 0x5343f5b6
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xd4a09441
add dword [ebp - 0x34], 0x9fd1d515
mov dword [ebp - 0x30], 0x34a7d72f
sub dword [ebp - 0x30], 0xf33b75ba
mov dword [ebp - 0x2c], 0xcd50457b
add dword [ebp - 0x2c], 0x961f26f1
mov dword [ebp - 0x28], 0x55ea9149
add dword [ebp - 0x28], 0xaa156eb7
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x43b9470
sub eax, 0x3fa6438
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3c0b3
push 0
call eax
mov ecx, 0x5083
xor ebx, ebx
add ebx, eax
mov edx, 0x41a400
add edx, dword [ebp - 0x24]
mov edi, 0x9428a746
sub dword [ebp - 8], 0xd5fb5975
mov esi, dword [edx]
add dword [ebp - 0x1c], ecx
xor esi, edi
add dword [ebp - 0x1c], eax
mov dword [ebx], esi
add dword [ebp - 0x10], eax
add ebx, 4
add edx, 0x8215fc2d
add edx, 0x7dea03d7
loop 0x408931
add eax, 0xfafa08b2
add eax, 0x5072c2d
mov ebx, eax
add eax, 0xce6db950
sub eax, 0xce6db94b
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret