joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424089
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x438c90
cmp edx, dword [eax]
je 0x4240ab
add eax, 8
inc ecx
cmp eax, 0x438d20
jl 0x42409c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x438c90]
jne 0x4241d9
mov eax, dword [0x5af1e0]
cmp eax, 1
je 0x4241b3
test eax, eax
jne 0x4240dc
cmp dword [0x438a94], 1
je 0x4241b3
cmp edx, 0xfc
je 0x4241d9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x424113
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00424a70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00424bc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x424156
lea eax, [ebp - 0x1a4]
push eax
call fcn.00424bc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42e868
push edi
call fcn.00426960
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00424a70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00424a80
lea eax, [ebp - 0xa0]
push 0x42e848
push eax
call fcn.00424a80
push dword [esi + 0x438c94]
lea eax, [ebp - 0xa0]
push eax
call fcn.00424a80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004268d4
add esp, 0x2c
pop edi
jmp 0x4241d9
lea eax, [ebp + 8]
lea esi, [esi + 0x438c94]
push 0
push eax
push dword [esi]
call fcn.00424bc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x428370
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
push ebx
push 0x40
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4283ab
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov dword [0x73f54c], 1
xor eax, eax
pop ebx
pop ecx
ret
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push 0
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4283db
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov dword [0x73f54c], 4
xor eax, eax
pop ebx
pop ecx
ret
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x1c]
push ebx
push esi
push ebp
call fcn.00428260
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x428477
mov edx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [esp + 0x28]
xor edx, 0xff82ad82
and edx, 0xffffff
xor edi, edx
test eax, eax
mov dword [esi], edi
je 0x428433
cmp ebx, 8
jbe 0x428433
test dword [eax + 0x24], 0x80000000
je 0x428433
lea eax, [ebx - 8]
lea ecx, [esi + 8]
push eax
push ecx
call fcn.00428f90
add esp, 8
push ebx
push esi
push ebp
call fcn.00428260
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x428477
mov edx, dword [esi + 4]
mov ecx, dword [esi]
xor edx, 0xff82ad82
and edx, 0xffffff
xor ecx, edx
test ebp, ebp
mov dword [esi], ecx
je 0x428473
mov ecx, ebx
mov edi, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
jmp 0x428481
mov edi, esi
jmp 0x428481
mov ebx, dword [esi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x24]
pop ebp
test eax, eax
je 0x42848c
mov dword [eax], ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4284a0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
jne 0x4284ab
pop esi
ret
push 0
push 0x80
push 3
push 0
push 1
push DirectSoundCreate
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4284d9
mov dword [0x73f54c], 2
xor eax, eax
pop esi
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x4284fc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x73f54c], 2
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x428506
mov dword [ecx], eax
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
push esi
call fcn.00428370
add esp, 0x14
pop esi
ret
Function at 0x429620
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
mov eax, esi
test ecx, ecx
mov dword [0x7409ac], eax
je 0x429665
mov edx, dword [esp + 0x18]
xor ecx, 0x6393528e
shr edx, 2
mov edi, edx
dec edx
test edi, edi
je 0x429665
inc edx
mov edi, dword [eax]
xor edi, ecx
mov dword [eax], edi
mov eax, dword [0x7409ac]
add eax, 4
dec edx
mov dword [0x7409ac], eax
jne 0x42964f
mov dword [0x7409b0], 0
mov dword [0x7409ac], esi
mov dword [0x7409a8], 0x100
call fcn.004295a0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x429710
push ebx
mov dword [esp + 0x14], ecx
cmp eax, 0x100
mov ebx, eax
jl 0x429700
mov edi, dword [0x7409ac]
mov ecx, dword [0x7409b0]
mov esi, dword [0x73f9ac]
dec ecx
mov dword [0x7409b0], ecx
js 0x4296c2
mov edx, esi
shr edx, cl
and edx, 1
jmp 0x4296e4
mov ecx, 0x1f
add edi, 4
mov dword [0x7409b0], ecx
mov esi, dword [edi - 4]
mov edx, esi
mov dword [0x73f9ac], esi
mov dword [0x7409ac], edi
shr edx, 0x1f
test edx, edx
je 0x4296f1
mov ebx, dword [ebx*4 + 0x7401ac]
jmp 0x4296f8
mov ebx, dword [ebx*4 + 0x73f9b0]
cmp ebx, 0x100
jge 0x4296b0
mov ecx, dword [esp + 0x14]
mov byte [ebp], bl
inc ebp
dec ecx
mov dword [esp + 0x14], ecx
jne 0x429695
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x42b5e0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
xor eax, eax
lea ecx, [esi + 0x40]
mov edx, dword [esi + 0x24]
inc eax
imul edx, eax
mov dword [ecx - 4], edx
mov edx, dword [esi + 0x34]
mov dword [ecx], edx
add ecx, 8
cmp eax, 8
jl 0x42b606
mov ecx, dword [esi + eax*8 + 0x34]
lea edx, [esi + 0x84]
dec ecx
push edx
push 0
mov dword [esi + eax*8 + 0x34], ecx
push esi
mov dword [esi + eax*8 + 0x3c], 0xffffffff
mov ecx, dword [esi + 0x38]
push 0x42bde0
push 0
push 0
mov dword [esi + eax*8 + 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x30], eax
je 0x42b690
mov eax, dword [esi + 0x20]
lea edx, [esi + 0x3c]
push edx
push 9
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
je 0x42b68a
mov eax, dword [esi + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov ecx, dword [esi + 0x38]
push ecx
call ebx
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop edi
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x40340d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x403454
push 7
push str..custom
push edi
call fcn.0040167b
add esp, 0xc
test eax, eax
je 0x40345b
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x403431
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.0040379a
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x4032ca
mov dword [ebp - 0x14], 0x4032d5
call fcn.00403208
add esp, 0x28
test eax, eax
je 0x4034bb
push dword [ebp - 4]
call fcn.004037b1
pop ecx
jmp 0x403454
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x403456

Function at 0x4036ee
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x40372d
push edi
mov edi, dword [esp + 0x14]
sub edi, 0x1b306e0
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + 0x1b306e0]
inc esi
mov byte [esi + 0x1b306df], al
cmp esi, ebx
jb 0x403709
pop edi
pop esi
mov byte [ebx + 0x1b306e0], 0
mov eax, 0x1b306e0
pop ebx
ret

Function at 0x40373c
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x40377a
mov eax, dword [esp + 0x10]
sub eax, 0x1b306e0
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + 0x1b306e0]
inc esi
mov byte [esi + 0x1b306df], bl
cmp esi, edi
jb 0x403756
pop ebx
mov byte [edi + 0x1b306e0], 0
mov byte [edi + 0x1b306e1], 0
pop edi
mov eax, 0x1b306e0
pop esi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7da4514f
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x19fc69dd
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40149b
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x14]
push edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [0x41b5d0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5d4]
mov dword [ebp - 0x30], eax
call fcn.00401494
mov edi, dword [ebp - 0x14]
mov eax, dword [0x41b5d8]
add edi, 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5dc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
pop esi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 8]
mov eax, edx
mov ecx, dword [0x2d5eb4c]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401524
push 0x418248
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x2d5eb4c]
add eax, dword [ebp - 0x20]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x2d5eb48]
mov dword [ebp - 0x1c], 0xedeb2e40
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp ecx, 0x3eb
mov dword [0x2d5eb48], eax
mov eax, dword [0x2d5eaa0]
cmove eax, dword [ebp - 0x1c]
mov dword [0x2d5eaa0], eax
lea eax, [edi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov dword [0x2d5eb44], 0xf4ea3dee
call fcn.00401471
mov ecx, dword [ebp - 0x10]
xor ecx, eax
sub ebx, ecx
mov dword [ebp - 0x10], ecx
mov eax, ebx
mov dword [ebp - 0x2c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4014ec
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], ebx
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4015f4
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x2d5eb4c]
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x2d5eaa4]
test esi, esi
je 0x401637
cmp eax, 0x959
jne 0x401623
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.0040149b
add edi, 8
dec esi
je 0x401637
mov eax, dword [0x2d5eb4c]
jmp 0x40160a
pop edi
pop esi
ret 4
Function at 0x40d029
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a36c]
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.00404f05
mov dword [ebp - 0x14], eax
cmp dword [0x465200], esi
jne 0x40d11c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d0a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d1fc
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d1fc
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d1fc
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x465200], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x465204], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x465208], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x465210], eax
test eax, eax
je 0x40d119
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46520c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d141
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d134
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d156
push 4
pop eax
jmp 0x40d1fe
cmp dword [ebp - 0x14], esi
je 0x40d156
push dword [0x465200]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d13b
mov eax, dword [0x46520c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d1b4
cmp dword [0x465210], edi
je 0x40d1b4
push eax
call ebx
push dword [0x465210]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d1b4
test eax, eax
je 0x40d1b4
call ecx
test eax, eax
je 0x40d1a9
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 0x40d1a9
test byte [ebp - 8], 1
jne 0x40d1b4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d1e4
mov eax, dword [0x465204]
cmp eax, edi
je 0x40d1e1
push eax
call ebx
test eax, eax
je 0x40d1e1
call eax
mov esi, eax
test esi, esi
je 0x40d1e1
mov eax, dword [0x465208]
cmp eax, edi
je 0x40d1e1
push eax
call ebx
test eax, eax
je 0x40d1e1
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x465200]
call ebx
test eax, eax
je 0x40d1fc
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d1fe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041eb
mov esp, ebp
pop ebp
ret
Function at 0x410c70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401f20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404fd8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00405038
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x410e25
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x410d46
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405088
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x410e25
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404ae4
lea ecx, [ebp - 0x68]
push ecx
call dword [fcn.004011cc]
push eax
push 0
call fcn.004050e8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [fcn.00401210]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x410e25
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410dc3
mov dword [ebp - 0x8c], 0
jmp 0x410dcf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410e06
mov dword [ebp - 0x90], 0
jmp 0x410e12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x410d14
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404e50
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x410e4d
jmp 0x410e4c
ret
Function at 0x40df14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40df23
pop dword [ebp - 0x10]
mov eax, 0x40df23
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3bca8
push 0
mov eax, 0xae986692
add eax, 0x51a9eb86
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x91522585
sub ecx, 0x9151e589
xor ebx, ebx
add ebx, eax
mov edi, 0xc18dbfaf
sub edi, 0xc14a6baf
add edi, dword [ebp - 0x10]
mov edx, 0x90ec4b0a
sub dword [ebp - 4], 0x5fdba3ed
mov esi, dword [edi]
sub dword [ebp - 8], eax
add esi, edx
add dword [ebp - 4], 0x8db0eec2
mov dword [ebx], esi
xor dword [ebp - 4], edi
add ebx, 4
add edi, 4
loop 0x40df79
add eax, 0xf2c3
mov ebx, eax
add eax, 0x3c974ba0
add eax, 0xc368b465
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x4b3b80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x71000]
push edi
jmp 0x4b3b9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b3ba1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3b90
mov eax, 1
add ebx, ebx
jne 0x4b3bb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b3bc4
jne 0x4b3be3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3be3
dec eax
add ebx, ebx
jne 0x4b3bd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b3ba8
add ebx, ebx
jne 0x4b3bdf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b3c35
xor ecx, ecx
sub eax, 3
jb 0x4b3bfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b3c6a
sar eax, 1
mov ebp, eax
jmp 0x4b3c06
add ebx, ebx
jne 0x4b3c06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3bd4
inc ecx
add ebx, ebx
jne 0x4b3c14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3bd4
add ebx, ebx
jne 0x4b3c21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b3c16
jne 0x4b3c32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b3c16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b3c54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b3c46
jmp 0x4b3b96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b3c54
add edi, ecx
jmp 0x4b3b96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b3c72
cmp byte [edi], 0x11
jne 0x4b3c72
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 0x4b3c77
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b3cef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb5130]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb5284]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b3ca4
mov ecx, edi
jns 0x4b3cd3
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 + 0xb5288]
or eax, eax
je 0x4b3ce9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b3cc1
call dword [esi + 0xb5298]
mov ebp, dword [esi + 0xb528c]
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 0x4b3d23
sub esp, 0xffffff80
jmp 0x416310
Function at 0x10007770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100d5134]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.100831b0
add esp, 0xc
cmp dword [0x100d7b68], 0
jne 0x10007830
push 0xff
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.100831b0
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x108]
push str._s_voice_log.txt
push eax
call fcn.10007750
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push str.buf__s_n
call fcn.100076a0
lea eax, [ebp - 0x108]
push 0x100c6f54
push eax
call fcn.10087215
add esp, 0x10
mov dword [0x100d7b68], eax
test eax, eax
jne 0x10007830
lea eax, [ebp - 0x108]
push 0x100c6f58
push eax
call fcn.10087215
add esp, 8
mov dword [0x100d7b68], eax
push 0xff
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.100831b0
add esp, 0xc
lea eax, [ebp + 0xc]
mov edx, 0xff
lea ecx, [ebp - 0x108]
push eax
push dword [ebp + 8]
call fcn.10007710
mov eax, dword [0x100d7b68]
add esp, 8
test eax, eax
je 0x1000788c
lea ecx, [ebp - 0x108]
push ecx
push 0x100c6f5c
push eax
call fcn.10007680
add esp, 0xc
push dword [0x100d7b68]
call fcn.100876b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret