joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4641cd
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp], ecx
call fcn.0040ab10
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x4641b6
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.00436150
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.00436850
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.00436850
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x46413f
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.00456be0
mov eax, dword [0x53adf0]
test eax, eax
jne 0x464126
mov eax, dword [esp + 0x20]
jmp 0x464134
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call fcn.00467110
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x464176
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.00456be0
mov eax, dword [0x53adf0]
test eax, eax
jne 0x464161
mov eax, dword [esp + 0x20]
jmp 0x46416f
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call fcn.00467110
mov dword [edi], ecx
mov dword [eax + 0x78], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040ad10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46419a
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436690
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4641b2
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436690
add esp, 0x1c
ret
lea eax, [0x4b247b]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0043b5b0
nop
call fcn.00465d00
jmp fcn.00464070
Function at 0x466fb0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x53aee0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46575b
je 0x4657ae
cmp ebx, 0x20
jbe 0x4657b4
cmp ebx, 0x40
jbe 0x4657fa
jmp 0x46589b
test ebx, ebx
je 0x4657a4
add eax, 0x10
test ax, 0xff0
je 0x465790
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4b96c0]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x4b97c0]
jmp 0x465778
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x465778
pxor xmm1, xmmword [0x53aef0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x53aef0]
pxor xmm2, xmmword [0x53af00]
pxor xmm3, xmmword [0x53af10]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x53aef0]
pxor xmm2, xmmword [0x53af00]
pxor xmm3, xmmword [0x53af10]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x4658fa
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x53abe5], 0
je 0x466fca
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x465720
jmp fcn.004092d0
Function at 0x466fd0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40408c
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004092d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00465d00
jmp 0x404050
cmp byte [0x53abe5], 0
je 0x466feb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x465720
jmp 0x404050
Function at 0x47af90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47b00e
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
xor eax, eax
jmp 0x47affd
mov esi, ebp
and esi, 0xff
xor edx, esi
mov dword [esp + 4], edx
shr ebp, 8
mov esi, ebx
shl esi, 0x18
mov dword [esp], esi
mov edi, eax
mov eax, edx
mov esi, 0x1b3
mul esi
mov esi, dword [esp + 4]
shl esi, 8
imul ecx, ecx, 0x1b3
add ecx, edx
inc edi
mov edx, edi
mov edi, dword [esp]
or ebp, edi
shr ebx, 8
add ecx, esi
mov esi, eax
mov eax, edx
mov edx, esi
cmp eax, 8
jl 0x47afb7
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
add esp, 8
ret
call fcn.00465d00
jmp fcn.0047af90

Function at 0x47b020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47b07a
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
xor eax, eax
jmp 0x47b06c
mov ebp, ebx
and ebp, 0xff
xor edx, ebp
mov ebp, eax
mov eax, edx
mov esi, 0x1b3
mov edi, eax
mul esi
shl edi, 8
imul ecx, ecx, 0x1b3
add ecx, edx
inc ebp
shr ebx, 8
add ecx, edi
mov edx, eax
mov eax, ebp
cmp eax, 4
jl 0x47b040
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
ret
call fcn.00465d00
jmp fcn.0047b020

Function at 0x488210
Capabilities:
Persist via run registry key

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48829c
sub esp, 0x28
mov eax, dword [0x514f18]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp], 0x80000001
lea edx, [0x4b381d]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], 2
call fcn.00487780
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
call fcn.004879e0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00487740
add esp, 0x28
ret
call fcn.00465d00
jmp fcn.00488210

Function at 0x488830
Capabilities:
Create thread

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll__beginthread]
cmp eax, 0xffffffff
jne 0x488898
call ebx
cmp dword [eax], 0xd
je 0x4888a0
call ebx
mov ebx, dword [eax]
mov dword [esp], 2
call dword [0x4936f8]
mov dword [esp + 4], str.runtime:_failed_to_create_new_OS_thread___d__n
mov dword [esp + 8], ebx
mov dword [esp], eax
call fcn.00488520
call sub.msvcrt.dll_abort
lea esi, [esi]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
add ebp, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
cmp ebp, 0x14
jne 0x488847
jmp 0x488868
Function at 0x48dde0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0048f500
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.0048f500
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x48de40
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x541330]
test esi, esi
jle 0x48df60
mov eax, dword [0x541334]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x48de74
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x48def7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x48de60
mov dword [esp], ebx
call fcn.0048e7a0
mov edi, eax
test eax, eax
je 0x48df87
mov eax, dword [0x541334]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.0048e8e0
mov edx, dword [0x541334]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x48df67
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x48def0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x48df00
add dword [0x541330], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x541334]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x48def0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.0048dde0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x48de7e
mov eax, dword [0x541334]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.0048dde0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.0048dde0
lea esi, [esi]
nop
Function at 0x48e420
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x54134c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x541344]
sub esp, 4
test ebx, ebx
je 0x48e475
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x48e46e
test esi, esi
je 0x48e46e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x48e450
mov dword [esp], 0x54134c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x48e7a0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x48e7c5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x48e7d0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x48e7c5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x48e818
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x48e80e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x48e81a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x48e800
xor eax, eax
pop ebx
pop esi
ret

Function at 0x401020
Capabilities:
Connect to http server
Create http request
Create process on windows
Delete file
Download and write a file
Get common file path
Get file size
Get http content length
Read and send data from client to server
Read data from internet
Read file on windows
Receive and write data from server to client
Receive data
Send data
Send http request
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, 0xffffffff
jne 0x401042
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov edi, 0x2000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
push 8
push eax
mov dword [ebp - 0x14], eax
call ebx
push edi
jmp loc.004060dd
Function at 0x40160e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 4

Function at 0x401618
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1000
push 0x3dc
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c8], 0x106a012f
mov eax, dword [ebp - 4]
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [eax + 0x3d0], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [eax + 0x48], ecx
cmp dword [ebp - 4], 0
je 0x4016c6
push 0x409
push 0xc1e
push 0xa
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edx, dword [ebp - 4]
sub eax, dword [ebp - 4]
call eax
cmp dword [ebp - 4], 0
jne 0x4016dd
lea eax, [ebp - 4]
push eax
push 0
call dword [0x400000]
Function at 0x4016a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
add byte [ebx - 0x7f3803bb], cl
les eax, [ebx]
add byte [eax], al
add byte [eax], al
add byte [eax], al

Function at 0x4016fb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
inc eax
add byte [ebx + 0x4189fc4d], cl
or byte [ebx + 0x488bfc45], cl
adc byte [ecx - 0x75], dl
push ebp
cld
Function at 0x4035a3
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.00402386
and dword [ebp - 4], 0
cmp dword [0x40b660], 0
mov ebx, eax
jne 0x403654
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x403705
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x403705
push eax
call fcn.00402314
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b660], eax
call esi
push eax
call fcn.00402314
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b664], eax
call esi
push eax
call fcn.00402314
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b668], eax
call esi
push eax
call fcn.00402314
pop ecx
mov dword [0x40b670], eax
test eax, eax
je 0x403654
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402314
pop ecx
mov dword [0x40b66c], eax
mov eax, dword [0x40b66c]
cmp eax, ebx
je 0x4036ac
cmp dword [0x40b670], ebx
je 0x4036ac
push eax
call fcn.0040238f
push dword [0x40b670]
mov esi, eax
call fcn.0040238f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4036ac
test edi, edi
je 0x4036ac
call esi
test eax, eax
je 0x4036a3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4036a3
test byte [ebp - 0xc], 1
jne 0x4036ac
or dword [ebp + 0x10], 0x200000
jmp 0x4036e5
mov eax, dword [0x40b664]
cmp eax, ebx
je 0x4036e5
push eax
call fcn.0040238f
pop ecx
test eax, eax
je 0x4036e5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4036e5
mov eax, dword [0x40b668]
cmp eax, ebx
je 0x4036e5
push eax
call fcn.0040238f
pop ecx
test eax, eax
je 0x4036e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b660]
call fcn.0040238f
pop ecx
test eax, eax
je 0x403705
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x403707
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x690755b6
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
mov ecx, 0x3f196496
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40106f
Capabilities:
Accept command line arguments
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call section..text
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.0040103b
pop ecx
pop ecx
push eax
call fcn.0040103b
pop ecx
pop ecx
mov edi, 0x2018
push edi
xor ebx, ebx
push ebx
push ebx
push 2
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
jne 0x4010c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x10000
jmp 0x4011cb
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x4010eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x20000
jmp 0x4011cb
cmp eax, ebx
je 0x4010fc
movzx eax, ax
or eax, 0x30000
jmp 0x4011cb
cmp dword [esi], 3
jne 0x4011c6
cmp dword [esi + 4], edi
jne 0x4011c6
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
cmp eax, ebx
jl 0x4011ac
xor eax, eax
cmp dword [esi + 0x14], ebx
setne al
add eax, 0x8000
push eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [esi + 0x1018]
cmp byte [eax], bl
je 0x401142
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 8
push ebx
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
je 0x401194
cmp dword [esi + 0x10], ebx
mov eax, str.DllUnregisterServer
jne 0x401164
mov eax, str.DllRegisterServer
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40117b
call eax
mov dword [esi + 8], 4
jmp 0x401188
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 8], 3
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4011a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov dword [esi + 8], 2
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x4011b6
mov dword [esi + 0xc], eax
mov dword [esi + 8], 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 0x1c9b28da
jmp 0x4011cb
mov eax, 0x40000
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401210
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x41e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor bl, bl
xor ecx, ecx
push edi
nop word [eax + eax]
mov al, byte [ecx + 0x41fd00]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x805], al
test al, al
jne 0x401230
lea ecx, [ebp - 0x804]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401250
sub ecx, edx
cmp byte [ebp + ecx - 0x805], 0x3a
jne 0x401270
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x804]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x405], al
test al, al
jne 0x401272
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x404]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsRootA]
test eax, eax
je 0x4012cf
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x4012cd
lea eax, [ebp - 0x404]
push eax
call edi
test eax, eax
jne 0x4012cd
lea eax, [ebp - 0x404]
push eax
call esi
test eax, eax
jne 0x4012a0
jmp 0x4012cf
mov bl, 1
lea eax, [ebp - 0x404]
push eax
call edi
test eax, eax
jne 0x4012e4
test bl, bl
je 0x401396
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
lea eax, [ebp - 0x804]
push eax
call edi
test eax, eax
jne 0x401396
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov edx, eax
add esp, 8
test edx, edx
je 0x401396
lea ecx, [ebp - 0x404]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401327
sub ecx, esi
lea esi, [ecx + 1]
add esi, edx
mov al, byte [esi]
cmp al, 0x5c
je 0x40134c
nop dword [eax + eax]
test al, al
je 0x40134c
mov al, byte [esi + 1]
inc esi
cmp al, 0x5c
jne 0x401340
lea eax, [ebp - 0x804]
sub esi, eax
push esi
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
cmp esi, 0x400
jae 0x4013a7
push 0
lea eax, [ebp - 0x404]
mov byte [ebp + esi - 0x404], 0
push eax
call ebx
test eax, eax
je 0x401396
lea eax, [ebp - 0x804]
push eax
call edi
test eax, eax
je 0x401301
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412814
mov esp, ebp
pop ebp
ret
call fcn.0041294b
int3