joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f57
Capabilities:
Delete directory
Get common file path
Get file attributes
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ebx, dword [edi]
xor esi, esi
cmp dword [0x619078], 0x594
mov dword [ebp - 0xc], eax
jne 0x402f9d
push 0x402d18
push 0x402d28
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov eax, dword [0x4a5428]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4a542c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x30], 0x9e3779b9
call fcn.00402f46
mov eax, dword [0x4a5430]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4a5434]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, ebx
shl eax, 4
cmp dword [0x619078], 0xc
mov dword [ebp - 4], eax
jne 0x403042
push esi
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x84c]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
lea eax, [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x619078]
cmp eax, 0xfa9
jne 0x40305e
mov dword [0x618614], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40306b
mov dword [0x617fc8], esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov edx, ebx
shr edx, cl
add eax, ebx
mov dword [ebp - 0x14], eax
mov dword [0x618610], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x619078], 0x213
mov dword [ebp - 0x14], edx
jne 0x4030a6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x10]
shr eax, cl
add eax, dword [ebp - 0x20]
xor eax, edx
xor dword [ebp - 4], eax
push dword [ebp - 4]
mov eax, ebx
call fcn.00402f4d
mov ebx, eax
mov eax, dword [ebp - 0x30]
sub dword [ebp - 8], eax
dec dword [ebp - 0x18]
jne 0x402fdd
cmp dword [0x619078], 0xa6d
mov dword [edi], ebx
jne 0x40310a
push esi
push esi
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4033ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
xor esi, esi
cmp dword [0x619078], 0x400
push edi
jne 0x40342d
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
push esi
push esi
call fcn.00403793
push esi
push esi
call fcn.00403793
push esi
push esi
call fcn.00403b87
push esi
call fcn.00403f4b
add esp, 0x1c
mov eax, dword [0x4a5ab4]
mov dword [0x619078], eax
mov eax, dword [0x4a5a8c]
mov dword [0x61907c], eax
call fcn.004031e5
xor ebx, ebx
mov edi, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp ebx, edi
jle 0x403477
cmp dword [ebp - 4], 0x785074d5
jne 0x403480
inc ebx
cmp ebx, 0x1c1b
jl 0x40344d
xor ebx, ebx
push esi
lea eax, [ebp - 0x408]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x402db8
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp ebx, edi
jle 0x4034ac
cmp dword [ebp - 4], 0x785074d5
jne 0x4034b5
inc ebx
cmp ebx, 0x11915
jl 0x403482
mov eax, dword [0x617fcc]
mov dword [0x61860c], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x4048c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a40d8]
jne 0x4048ca
repz ret
jmp fcn.00409452
Function at 0x409175
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406311
and dword [ebp - 4], 0
cmp dword [0x4a6370], 0
mov ebx, eax
jne 0x409226
push 0x401b94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4092d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b88
push edi
call esi
test eax, eax
je 0x4092d7
push eax
call fcn.0040629f
mov dword [esp], 0x401b78
push edi
mov dword [0x4a6370], eax
call esi
push eax
call fcn.0040629f
mov dword [esp], 0x401b64
push edi
mov dword [0x4a6374], eax
call esi
push eax
call fcn.0040629f
mov dword [esp], 0x401b48
push edi
mov dword [0x4a6378], eax
call esi
push eax
call fcn.0040629f
pop ecx
mov dword [0x4a6380], eax
test eax, eax
je 0x409226
push 0x401b30
push edi
call esi
push eax
call fcn.0040629f
pop ecx
mov dword [0x4a637c], eax
mov eax, dword [0x4a637c]
cmp eax, ebx
je 0x40927e
cmp dword [0x4a6380], ebx
je 0x40927e
push eax
call fcn.0040631a
push dword [0x4a6380]
mov esi, eax
call fcn.0040631a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40927e
test edi, edi
je 0x40927e
call esi
test eax, eax
je 0x409275
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409275
test byte [ebp - 0xc], 1
jne 0x40927e
or dword [ebp + 0x10], 0x200000
jmp 0x4092b7
mov eax, dword [0x4a6374]
cmp eax, ebx
je 0x4092b7
push eax
call fcn.0040631a
pop ecx
test eax, eax
je 0x4092b7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4092b7
mov eax, dword [0x4a6378]
cmp eax, ebx
je 0x4092b7
push eax
call fcn.0040631a
pop ecx
test eax, eax
je 0x4092b7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a6370]
call fcn.0040631a
pop ecx
test eax, eax
je 0x4092d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4092d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403d39
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x403e80
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
push edi
mov edi, dword [esp + 0x10]
call ebx
inc byte [esi + edi]
call ebx
call ebx
xor byte [esi + edi], 0xa9
call ebx
add byte [esi + edi], 0xb8
call ebx
add byte [esi + edi], 2
call ebx
add byte [esi + edi], 0x9d
call ebx
add byte [esi + edi], 0xd8
call ebx
xor byte [esi + edi], 0xf3
call ebx
add byte [esi + edi], 0x26
call ebx
add byte [esi + edi], 0x11
call ebx
xor byte [esi + edi], 0x15
call ebx
add byte [esi + edi], 0x3b
call ebx
add byte [esi + edi], 0xef
call ebx
add byte [esi + edi], 0xbd
call ebx
add byte [esi + edi], 7
call ebx
add byte [esi + edi], 0x33
call ebx
xor byte [esi + edi], 0x4a
call ebx
add byte [esi + edi], 7
call ebx
add byte [esi + edi], 0x3e
call ebx
add byte [esi + edi], 0xad
call ebx
add byte [esi + edi], 0xb1
call ebx
add byte [esi + edi], 0xa9
call ebx
add byte [esi + edi], 0xa0
call ebx
add byte [esi + edi], 0x5b
call ebx
add byte [esi + edi], 0x51
call ebx
xor byte [esi + edi], 0xf
call ebx
add byte [esi + edi], 0x7e
call ebx
add byte [esi + edi], 0xd8
call ebx
add byte [esi + edi], 7
call ebx
add byte [esi + edi], 0xa1
call ebx
add byte [esi + edi], 0xaf
call ebx
xor byte [esi + edi], 0x66
call ebx
xor byte [esi + edi], 5
call ebx
xor byte [esi + edi], 0xa6
call ebx
add byte [esi + edi], 0x9d
call ebx
add byte [esi + edi], 0x2b
call ebx
xor byte [esi + edi], 0x89
call ebx
add byte [esi + edi], 0x66
call ebx
add byte [esi + edi], 0xa3
call ebx
xor byte [esi + edi], 0x38
call ebx
add byte [esi + edi], 0xb0
call ebx
xor byte [esi + edi], 0x5a
call ebx
add byte [esi + edi], 0x1a
call ebx
xor byte [esi + edi], 0x2e
call ebx
add byte [esi + edi], 0x3e
call ebx
xor byte [esi + edi], 0x57
call ebx
add byte [esi + edi], 0xa7
call ebx
add byte [esi + edi], 0xcc
call ebx
add byte [esi + edi], 0x93
inc esi
cmp esi, dword [esp + 0x14]
jb 0x403d52
pop edi
pop ebx
pop esi
ret

Function at 0x403f0a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x45a8ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403f73
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b44
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.004040e1
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x403f8b
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403ab2
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x403f3b
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405f48
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403ab2
jmp 0x403f75
Function at 0x4040e1
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
lea ebp, [esi + 0x10]
mov edi, dword [ebp]
mov ebx, edi
xor ebx, dword [esp + 0x1c]
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x10], ebp
jb 0x404106
mov esi, dword [esi]
mov dword [esp + 0x18], esi
push esi
shr edi, 2
push edi
push str._x_and__p
call fcn.004043b5
add esp, 0xc
test edi, edi
je 0x404161
mov ebp, esi
mov esi, edi
push 4
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00406aa0
imul ecx, dword [esp + 0x28], 0x5bd1e991
add esp, 0xc
imul ebx, ebx, 0x5bd1e991
add ebp, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov dword [esp + 0x1c], eax
sub esi, 1
jne 0x404120
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x40418a
sub eax, 1
je 0x404180
sub eax, 1
jne 0x404198
movsx ecx, byte [esi + edi*4 + 2]
shl ecx, 0x10
movsx eax, byte [esi + edi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [esi + edi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop ecx
ret

Function at 0x4041be
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipCursor]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x45bea0], eax
pop edi
pop esi
ret

Function at 0x4066ce
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40670d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40670d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40670d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40670d
cmp dword [ecx + 0x74], 0xe
jbe 0x40670d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d08a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41bd28
push 0x41bd20
push str.FlsAlloc
push 0x1e
call fcn.0040cf4b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d0be
push dword [ebp + 8]
mov ecx, esi
call dword [0x419184]
call esi
jmp 0x40d0c4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d108
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41bd38
push 0x41bd30
push str.FlsGetValue
push 0x20
call fcn.0040cf4b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d13f
push dword [ebp + 8]
mov ecx, esi
call dword [0x419184]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x417bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x417bed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x417bed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40974c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40975b
pop dword [ebp - 0x10]
mov eax, 0x40975b
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xa8cc996d
add dword [ebp - 0x20], 0xa585abde
mov dword [ebp - 0x1c], 0x8105b203
sub dword [ebp - 0x1c], 0x4ed265be
mov dword [ebp - 0x18], 0x27eb8737
sub dword [ebp - 0x18], 0xdb9f4309
mov dword [ebp - 0x14], 0x75b43f0
add dword [ebp - 0x14], 0xf8a4bc10
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x799842e9
sub dword [ebp - 0x20], 0x525d993
mov dword [ebp - 0x1c], 0x9119928c
add dword [ebp - 0x1c], 0xb052cee9
mov dword [ebp - 0x18], 0x6e114e4
sub dword [ebp - 0x18], 0xa371a878
mov dword [ebp - 0x14], 0x803b6c14
add dword [ebp - 0x14], 0x7fc493ec
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xbbcf903
add eax, 0xf483d745
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3835a
push 0
call eax
mov ecx, 0x1524c05a
add ecx, 0xeadb8237
mov esi, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x10]
mov ebx, 0x858aa365
sub ebx, 0xc6bc0a9a
sub dword [ebp - 0xc], edi
mov edi, dword [edx]
add dword [ebp - 4], 0xa4b6944
add edi, ebx
sub dword [ebp - 8], 0x87296357
mov dword [esi], edi
xor dword [ebp - 4], 0xa1cb0d16
add esi, 4
add edx, 0xc68ea18c
add edx, 0x39715e78
loop 0x40986d
add eax, 0xfd17
xor ebx, ebx
add ebx, eax
add eax, 0x55458f86
sub eax, 0x55458f81
mov ecx, 0x9006aa73
sub ecx, 0x8fc6aa73
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x4069d7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403586
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x12c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401490
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
cmp dword [0x420658], 0
jne 0x406a55
push 0x420658
push 0x404224
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x108], 0x420658
jmp 0x406a5f
mov dword [ebp - 0x108], 0x420658
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
push dword [ebp - 0xd8]
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x406ab3
push 0x14
push 0x404214
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x10c], eax
jmp 0x406aba
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
push dword [ebp - 0xe0]
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jge 0x406b09
push 0x50
push 0x4044d0
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x110], eax
jmp 0x406b10
and dword [ebp - 0x110], 0
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaLenBstr
sub eax, 3
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xe8], ax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeObj
movsx eax, word [ebp - 0xe8]
test eax, eax
je 0x40757a
mov dword [ebp - 4], 4
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40611c
pop dword [ebp - 0x10]
mov eax, 0xeece75a4
add eax, 0x1171eb78
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xf5a6c564
add dword [ebp - 0x20], 0x58ab7fe7
mov dword [ebp - 0x1c], 0x8596b303
sub dword [ebp - 0x1c], 0x536366be
mov dword [ebp - 0x18], 0x6e23c039
add dword [ebp - 0x18], 0xde2883f5
mov dword [ebp - 0x14], 0x602466e0
add dword [ebp - 0x14], 0x9fdb9920
lea eax, [ebp - 0x20]
push eax
mov eax, 0x3b311ee4
sub eax, 0x3af0ae84
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x51efd189
sub dword [ebp - 0x20], 0xdd7d6833
mov dword [ebp - 0x1c], 0x6fc3bfbb
sub dword [ebp - 0x1c], 0x2e575e46
mov dword [ebp - 0x18], 0xfa5139c3
add dword [ebp - 0x18], 0x691e32a9
mov dword [ebp - 0x14], 0xc91789d8
add dword [ebp - 0x14], 0x36e87628
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x91267b51
add eax, 0x6f19f5af
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3a9ef
push 0
call eax
mov ecx, 0xcd7b9d8c
add ecx, 0x3284ba81
xor edx, edx
add edx, eax
mov edi, 0xc272937c
sub edi, 0xc231937c
add edi, dword [ebp - 0x10]
mov esi, 0x7f9e5177
add esi, 0xa1af42e3
xor dword [ebp - 4], ecx
mov ebx, dword [edi]
add dword [ebp - 0xc], 0x9ff1d774
add ebx, esi
mov dword [edx], ebx
sub dword [ebp - 0xc], ecx
add edx, 0x30d84aa1
add edx, 0xcf27b563
add edi, 4
loop 0x406240
add eax, 0x1c8762cf
sub eax, 0x1c860fc8
mov ebx, eax
add eax, 0xc8092776
sub eax, 0xc8092771
mov ecx, 0x2772aa1c
add ecx, 0xd8cd55e4
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219