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

Disassembly:
push ecx
push ecx
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x43a1de
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
cmp edi, 4
jb 0x43a1cb
push ebp
mov ebp, edi
shr ebp, 2
push 4
lea eax, [esp + 0x14]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x34]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push 4
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
add esi, 4
add ebx, 4
sub edi, 4
sub ebp, 1
jne 0x43a186
pop ebp
test edi, edi
je 0x43a1dc
sub ebx, esi
mov al, byte [ebx + esi]
xor byte [esi], al
inc esi
sub edi, 1
jne 0x43a1d1
pop esi
pop ebx
pop edi
pop ecx
pop ecx
ret

Function at 0x43d4f3
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
mov edx, dword [esp + 4]
add eax, eax
push 4
lea ecx, [ecx*4 - 4]
movups xmm0, xmmword [edx + eax*8]
movups xmm1, xmmword [edx]
movups xmmword [edx], xmm0
movups xmmword [edx + eax*8], xmm1
pop eax
cmp ecx, eax
jbe 0x43d539
aesimc xmm0, xmmword [edx + ecx*4]
aesimc xmm1, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
add eax, 4
movups xmmword [edx + ecx*4], xmm1
sub ecx, 4
cmp eax, ecx
jb 0x43d51b
aesimc xmm0, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
ret
Function at 0x43d544
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
push eax
push esi
movups xmm0, xmmword [eax + edi - 0x10]
movaps xmmword [esp + 0x2c], xmm0
call sub.VCRUNTIME140.dll_memcpy
movaps xmm1, xmmword [esp + 0x2c]
mov eax, edi
shr eax, 2
add esp, 0xc
mov edx, eax
mov dword [esp + 0x14], eax
aeskeygenassist xmm0, xmm1, 0
shl edx, 2
lea ecx, [eax + 7]
mov dword [esp + 0x18], 0x44e634
shl ecx, 4
add ecx, esi
mov dword [esp + 0x1c], ecx
pextrd ecx, xmm0, 3
xor ecx, dword [esi]
xor ecx, 1
mov dword [edx + esi], ecx
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edx + esi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + eax*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0xc], eax
lea eax, [esi + 0x10]
add eax, edx
jmp 0x43d680
cmp edi, 0x18
jne 0x43d5f3
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pinsrd xmm1, ecx, 3
jmp 0x43d638
cmp edi, 0x20
jne 0x43d631
pinsrd xmm1, dword [esi + 0x2c], 3
mov eax, dword [esi + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 2
xor ecx, dword [esi + 0x10]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x18]
xor ecx, eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
xor eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
pinsrd xmm1, eax, 3
jmp 0x43d638
pinsrd xmm1, dword [esi + 0x1c], 3
mov eax, dword [esp + 0x18]
add esi, edx
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [eax]
add eax, 4
xor ecx, dword [esi]
mov dword [edx + esi], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edx + esi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + eax*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0xc], eax
lea eax, [edx + 0x10]
add eax, esi
cmp eax, dword [esp + 0x1c]
jne 0x43d5d5
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43eb94
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 8], ecx
mov esi, edx
push edi
mov ecx, 0x46210d
call fcn.00442ceb
push esi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
xor ebx, ebx
cmp esi, 0xffffffff
je 0x441ca7
push 0x220
lea eax, [ebp - 0x228]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x22c], 0x224
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x441ca0
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Module32Next]
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
add esp, 8
test eax, eax
je 0x441d1b
lea eax, [ebp - 0x22c]
push eax
push esi
call ebx
test eax, eax
jne 0x441c77
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
mov edi, 1
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
mov esi, dword [ecx]
add esi, ebx
mov dword [ebp - 4], esi
cmp eax, edi
jbe 0x441cef
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
mov esi, dword [ecx + edi*4]
inc edi
add esi, dword [ebp - 4]
mov dword [ebp - 4], esi
cmp edi, eax
jb 0x441cc8
test ecx, ecx
je 0x441d30
mov edx, dword [ebp + 0x14]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x441d26
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441d26
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ebx, dword [ebp - 0x218]
jmp 0x441ca0
push edx
push ecx
call fcn.0043ddc6
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4420e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, ecx
mov ecx, 0x46210d
call fcn.00442ceb
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x44ec78
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4421f1
push ebx
mov ebx, dword [ebp - 8]
push esi
lea esi, [ebp - 0x1b]
nop
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x442120
xorps xmm0, xmm0
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x1b]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
cmp esi, eax
jne 0x44216a
pop esi
mov dword [edi + 0x14], 0xf
mov eax, edi
mov byte [edi], dl
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
lea ebx, [ebp - 0x1b]
sub ebx, esi
cmp ebx, 0x7fffffff
ja 0x44220c
cmp ebx, 0xf
ja 0x4421a2
push ebx
push esi
push edi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebx + edi], 0
mov eax, edi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, ebx
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x4421b5
mov eax, closesocket
jmp 0x4421bf
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
lea edx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00405cb0
mov ecx, dword [ebp - 4]
mov esi, eax
push ebx
push dword [ebp - 0xc]
mov dword [edi], esi
push esi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
mov eax, edi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push str.error
lea ecx, [ebp - 0x18]
call fcn.004015d0
push 0x458a34
lea eax, [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.004015b0
int3
Function at 0xe94f30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x228
push ebx
push ebp
mov ebp, dword [esp + 0x238]
push esi
mov eax, ebp
push edi
and eax, 0x8000000f
jns 0xe94f4f
dec eax
or eax, 0xfffffff0
inc eax
jne 0xe9515b
mov bl, byte [esp + 0x250]
test bl, bl
je 0xe94f69
cmp bl, 1
jne 0xe9515b
mov al, byte [esp + 0x24c]
cmp al, 1
je 0xe94f7c
test al, al
jne 0xe9515b
mov eax, dword [esp + 0x248]
test eax, eax
je 0xe94fa4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jmp 0xe94fb6
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x34]
push 0x80
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x248]
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00e927b0
add esp, 0xc
test bl, bl
jne 0xe950a4
test ebp, ebp
jle 0xe9515b
mov esi, dword [esp + 0x23c]
lea eax, [ebp + 0xf]
shr eax, 4
mov dword [esp + 0x30], eax
cmp bl, 1
jne 0xe9515b
test ebp, ebp
jle 0xe9515b
mov esi, dword [esp + 0x23c]
lea edi, [ebp + 0xf]
shr edi, 4
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00e93e00
mov al, byte [esp + 0x258]
add esp, 0xc
cmp al, 1
jne 0xe95134
xor eax, eax
mov cl, byte [esp + eax + 0x20]
mov bl, byte [esp + eax + 0x10]
xor bl, cl
mov byte [esp + eax + 0x10], bl
inc eax
cmp eax, 0x10
jl 0xe95103
mov edx, esi
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, esi
add esi, 0x10
dec edi
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
jne 0xe950c2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret

Function at 0xe951b0
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, 0xe9cb24
push 8
push edi
call fcn.00e95170
add esp, 8
mov edx, 8
shl eax, 0x18
mov dword [esi], eax
mov ebx, eax
mov ecx, ebx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebx, eax
jne 0xe951d1
push 0x20
push eax
mov dword [esi], ebx
call fcn.00e95170
mov dword [esi], eax
add esp, 8
add esi, 4
inc edi
cmp esi, 0xe9cf20
jle 0xe951ba
pop edi
pop esi
pop ebx
ret
Function at 0xe95210
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
test edx, edx
je 0xe95243
push ebx
push esi
lea esi, [edx]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xe9cb24]
xor eax, edx
inc ecx
dec esi
jne 0xe95223
pop esi
pop ebx
not eax
ret

Function at 0xe95250
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0xe96dc0
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe91f88
push 0xe977c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0xe96e35
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
and eax, 0xff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xe9b778
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0xe92394
sub eax, eax
test esi, esi
je 0xe9b850
sub eax, 1
test ecx, ecx
je 0xe9b84e
test esi, 3
je 0xe9b7b6
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xe9b79b
mov edx, ecx
and edx, 7
shr ecx, 3
je 0xe9b835
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xe9b7c0
mov ecx, edx
test ecx, ecx
je 0xe9b84e
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xe9b83b
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x3ad7258d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3ad7a064]
jne 0x3ad72597
repz ret
jmp fcn.3ad73d0c

Function at 0x3ad75a5b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x3ad75a6a
pop dword [ebp - 0x24]
mov eax, 0x3ad75a6a
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x39c82
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x50af
mov edi, eax
mov edx, 0xa893dfc0
sub edx, 0x6dbb71c0
add edx, dword [ebp - 0x24]
mov esi, 0x43710385
sub esi, 0xbd8b0175
xor dword [ebp - 8], edi
mov ebx, dword [edx]
sub dword [ebp - 0xc], ebx
xor ebx, esi
add dword [ebp - 8], edi
mov dword [edi], ebx
add edi, 4
add edx, 0x150ef161
sub edx, 0x150ef15d
loop 0x3ad75ab9
add eax, 0x19772ce1
add eax, 0xe68a08ae
mov ebx, eax
add eax, 5
mov ecx, 0x3ad70000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x3ad779e2
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.3ad72618
and dword [ebp - 4], 0
cmp dword [0x3ad7b5e8], 0
mov ebx, eax
jne 0x3ad77a93
push 0x3ad72234
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x3ad77b44
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x3ad72228
push edi
call esi
test eax, eax
je 0x3ad77b44
push eax
call fcn.3ad75a5b
mov dword [esp], 0x3ad72218
push edi
mov dword [0x3ad7b5e8], eax
call esi
push eax
call fcn.3ad75a5b
mov dword [esp], 0x3ad72204
push edi
mov dword [0x3ad7b5ec], eax
call esi
push eax
call fcn.3ad75a5b
mov dword [esp], 0x3ad721e8
push edi
mov dword [0x3ad7b5f0], eax
call esi
push eax
call fcn.3ad75a5b
pop ecx
mov dword [0x3ad7b5f8], eax
test eax, eax
je 0x3ad77a93
push 0x3ad721d0
push edi
call esi
push eax
call fcn.3ad75a5b
pop ecx
mov dword [0x3ad7b5f4], eax
mov eax, dword [0x3ad7b5f4]
cmp eax, ebx
je 0x3ad77aeb
cmp dword [0x3ad7b5f8], ebx
je 0x3ad77aeb
push eax
call fcn.3ad75a5b
push dword [0x3ad7b5f8]
mov esi, eax
call fcn.3ad75a5b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x3ad77aeb
test edi, edi
je 0x3ad77aeb
call esi
test eax, eax
je 0x3ad77ae2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x3ad77ae2
test byte [ebp - 0xc], 1
jne 0x3ad77aeb
or dword [ebp + 0x10], 0x200000
jmp 0x3ad77b24
mov eax, dword [0x3ad7b5ec]
cmp eax, ebx
je 0x3ad77b24
push eax
call fcn.3ad75a5b
pop ecx
test eax, eax
je 0x3ad77b24
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x3ad77b24
mov eax, dword [0x3ad7b5f0]
cmp eax, ebx
je 0x3ad77b24
push eax
call fcn.3ad75a5b
pop ecx
test eax, eax
je 0x3ad77b24
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x3ad7b5e8]
call fcn.3ad75a5b
pop ecx
test eax, eax
je 0x3ad77b44
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x3ad77b46
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4811cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x40306c
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x403011
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x4030f5
sub eax, 0x2000
add eax, dword [ebp + 0x10]
call dword [eax]
push eax
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x40300c
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x403011
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x4030f5
sub eax, 0x2000
add eax, dword [ebp + 0x10]
call dword [eax]
pop eax
call eax
or eax, eax
jne 0x481290
push eax
jmp 0x48129e
cmp eax, 0x7f
jne 0x48129c
push 0x100
jmp 0x48129e
push 1
mov esi, dword [ebp + 8]
mov ebx, 0xa
mov ecx, dword [ebp + 0xc]
shr ecx, 2
xor edx, edx
mov eax, dword [ebp + 0xc]
shr eax, 2
sub eax, ecx
push eax
div ebx
add edx, 2
sub dword [esi], edx
xor edx, edx
pop eax
div ebx
add edx, dword [esp]
push edx
add dword [esp], 0x259d23e6
pop edx
xor dword [esi], edx
add esi, 4
loop 0x4812ac
pop eax
popal
leave
ret 0x10
Function at 0x481374
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov esi, dword [esp + 0x8c]
and esi, 0xffff0000
mov eax, esi
cmp word [eax], 0x5a4d
jne 0x481393
add eax, dword [eax + 0x3c]
sub esi, 0x10000
cmp word [eax], 0x4550
jne 0x481387
add esi, 0x10000
push esi
mov eax, 0x403011
pop dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004812dc
mov dword [0x4030f5], eax
push 0x40300c
push 0x3e8
push 0
call fcn.00481b92
or eax, eax
jne 0x4813d7
leave
ret 8
push eax
push eax
push 0
call fcn.00481bb0
or eax, eax
jne 0x4813e8
leave
ret 8
mov dword [ebp - 8], eax
pop eax
push eax
push 0
call fcn.00481ba4
or eax, eax
jne 0x4813fc
leave
ret 8
push eax
call fcn.00481baa
or eax, eax
jne 0x48140a
leave
ret 8
mov dword [ebp - 0xc], eax
push 4
push 0x3000
push dword [ebp - 8]
push 0
call fcn.00481bb6
or eax, eax
jne 0x481426
leave
ret 8
push eax
mov esi, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 8]
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
push dword [esp + 0xc]
call fcn.004811cf
mov ebx, dword [esp]
add ebx, dword [ebx + 0x3c]
lea eax, [ebx + 0x18]
mov ebx, dword [eax + 0x38]
pop eax
push ebx
push 0x8000
push 0
push eax
call fcn.00481bbc
mov ebx, dword [ebp + 0xc]
add ebx, dword [ebx + 0x3c]
lea eax, [ebx + 0x18]
mov ebx, dword [eax + 0x38]
mov dword [ebp - 4], ebx
mov ebx, dword [esp]
add ebx, dword [ebp + 0xc]
and ebx, 0xffff0000
add ebx, 0x10000
push 0x40
push 0x3000
push dword [ebp - 4]
push ebx
call fcn.00481bb6
or eax, eax
je 0x481479
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
push eax
sub eax, dword [ebp + 0xc]
add dword [ebp + 8], eax
mov ebx, 0x4014ef
add ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, 0x401b8b
add ebx, dword [ebp + 8]
sub ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
lea ebx, [ebp - 0x14]
push ebx
push 0x40119a
push dword [ebp + 0xc]
call fcn.00481168
pop eax
pop ebx
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
mov eax, dword [ebp + 8]
add dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov eax, 0x40175a
add eax, dword [ebp + 8]
call eax
leave
ret 8
Function at 0x1000194e
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 0x24], 0
jne 0x100019ce
push str.avifil32.dll
call fcn.10009157
test al, al
jne 0x10001967
pop edi
ret
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.AVIFileInit
push dword [edi + 4]
call esi
push str.AVIFileExit
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.AVIFileRelease
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.AVIFileOpen
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.AVIStreamInfo
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.AVIStreamOpenFromFile
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.AVIStreamRelease
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
mov dword [edi + 0x20], eax
mov byte [edi + 0x24], 1
pop esi
mov al, 1
pop edi
ret

Function at 0x10001a04
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 0x24], 0
jne 0x10001a84
push str.winmm.dll
call fcn.10009157
test al, al
jne 0x10001a1d
pop edi
ret
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.mmioInstallIOProcA
push dword [edi + 4]
call esi
push str.mmioOpenA
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.mmioClose
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.mmioAscend
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.mmioRead
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.mmioDescend
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.mciSendCommandA
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
mov dword [edi + 0x20], eax
mov byte [edi + 0x24], 1
pop esi
mov al, 1
pop edi
ret