joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435c90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x435cc2
lea esp, [esp]
test cl, 3
je 0x435cc2
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x484750]
add ecx, 1
sub esi, 1
jne 0x435ca0
cmp esi, 0x20
push ebx
push edi
jb 0x435eac
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x484b50]
xor edx, dword [ebx*4 + 0x484f50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x484750]
add ecx, 4
xor edx, dword [eax*4 + 0x485350]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x484b50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x484f50]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x484750]
add ecx, 4
xor eax, dword [edx*4 + 0x485350]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x484b50]
xor edx, dword [ebx*4 + 0x484f50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x484750]
xor edx, dword [eax*4 + 0x485350]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x484b50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x484f50]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x484750]
xor eax, dword [edx*4 + 0x485350]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x484b50]
xor edx, dword [ebx*4 + 0x484f50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x484750]
xor edx, dword [eax*4 + 0x485350]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x484b50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x484f50]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x484750]
and edx, 0xff
xor eax, dword [edx*4 + 0x485350]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x484b50]
xor edx, dword [ebx*4 + 0x484f50]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x484750]
add ecx, 4
xor edx, dword [eax*4 + 0x485350]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x484b50]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x484f50]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x484750]
and edx, 0xff
xor eax, dword [edx*4 + 0x485350]
sub edi, 1
jne 0x435cd2
cmp esi, 4
jb 0x435ef9
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x484b50]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x484f50]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x484750]
and eax, 0xff
xor edi, dword [eax*4 + 0x485350]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x435eb6
test esi, esi
pop edi
pop ebx
je 0x435f1d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x484750]
add ecx, 1
sub esi, 1
jne 0x435f00
not eax
pop esi
ret
Function at 0x43ea37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x43ea7a
call fcn.0044b72f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43ea7a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43ea95
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0043e5f1
test ebx, ebx
mov esi, eax
je 0x43ea93
test edi, edi
je 0x43ea93
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x44702d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x44704d
cmp dword [edi + 0x54], 0
jne 0x44704d
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044b72f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00446ff4
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x447a88
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x447ab1
call fcn.0044b72f
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x447ad4
push eax
push dword [esi + 4]
call fcn.00447a13
push esi
push eax
mov ecx, 0x4a3ebc
call fcn.004476e6
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x44a240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x44a286
call fcn.0044b72f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44a286
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x44a2c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x44a2b2
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x44a2b2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x44a2c6
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x44ec0b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x44ec39
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44ec57
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0044eb75
jmp 0x44ec57
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44ec57
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0044eb75
test edi, edi
mov eax, edi
jne 0x44ec41
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4a41a4]
test ecx, ecx
je 0x44ed1a
jmp 0x44ec0a
ret 8

Function at 0x450ce1
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x450cea
xor eax, eax
jmp 0x450d53
cmp dword [esp + 8], 0
jne 0x450cf6
call fcn.004460c9
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00458785
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x450d31
push dword [esi + 0x10]
call fcn.004587a0
test eax, eax
pop ecx
jne 0x450d31
mov esi, dword [esi + 0xc]
call fcn.00458420
push esi
push dword [eax]
push 1
call fcn.00451902
push dword [esi + 0x10]
call fcn.004587cf
test eax, eax
pop ecx
je 0x450d50
push dword [esi + 0x10]
call fcn.0045c08e
push eax
call fcn.00402be0
pop ecx
pop ecx
jmp 0x450d1f
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x450d5c
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x450d66
call fcn.004460c9
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00458918
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x450d93
mov esi, dword [esi + 0xc]
call fcn.00458420
push esi
push dword [eax]
push 1
call fcn.00451902
pop esi
ret 8

Function at 0x4550a7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a0800]
jne 0x4550b1
repz ret
jmp fcn.0045dabf
Function at 0x4577be
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4577eb
call fcn.00458420
mov dword [eax], esi
call fcn.0045840d
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00456a8a
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x457809
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00458433
pop ecx
jmp 0x4577e6
test byte [esp + 0xc], 0x80
je 0x457815
and eax, 0xfffffffe
jmp 0x457818
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x4577fa
xor eax, eax
pop esi
ret

Function at 0x46983b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045d4a6
xor ebx, ebx
cmp dword [0x4a4ff0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x469910
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x46987b
xor eax, eax
jmp 0x4699d4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x469874
push eax
call fcn.0045d443
mov dword [esp], 0x481780
push edi
mov dword [0x4a4ff0], eax
call esi
push eax
call fcn.0045d443
mov dword [esp], 0x48176c
push edi
mov dword [0x4a4ff4], eax
call esi
push eax
call fcn.0045d443
mov dword [0x4a4ff8], eax
lea eax, [ebp - 8]
push eax
call fcn.00456b67
test eax, eax
pop ecx
pop ecx
je 0x4698de
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045698e
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x469910
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045d443
cmp eax, ebx
pop ecx
mov dword [0x4a5000], eax
je 0x469910
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045d443
pop ecx
mov dword [0x4a4ffc], eax
mov eax, dword [0x4a4ffc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x469989
cmp dword [0x4a5000], esi
je 0x469989
push eax
call fcn.0045d4af
pop ecx
call eax
cmp eax, ebx
je 0x469956
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4a5000]
call fcn.0045d4af
pop ecx
call eax
test eax, eax
je 0x469956
test byte [ebp - 0x18], 1
jne 0x469989
lea eax, [ebp - 0xc]
push eax
call fcn.00456b9e
test eax, eax
pop ecx
je 0x469971
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045698e
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x469980
or dword [ebp + 0x10], 0x200000
jmp 0x4699ba
or dword [ebp + 0x10], 0x40000
jmp 0x4699ba
mov eax, dword [0x4a4ff4]
cmp eax, esi
je 0x4699ba
push eax
call fcn.0045d4af
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4699ba
mov eax, dword [0x4a4ff8]
cmp eax, esi
je 0x4699ba
push dword [ebp - 4]
push eax
call fcn.0045d4af
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4a4ff0]
call fcn.0045d4af
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4730f0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4a0800]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00473085
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004596b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x47313f
cmp dword [ebp - 0x1c], 5
jb 0x473157
jmp 0x473153
cmp dword [ebp - 0x10], 1
jne 0x473157
cmp dword [ebp - 0x1c], 4
ja 0x473153
jne 0x473157
cmp dword [ebp - 0x18], 0
jbe 0x473157
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x483844
call fcn.0041b9f0
test eax, eax
jge 0x473178
mov byte [0x4a6454], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004550a7
add ebp, 0x78
leave
ret
Function at 0x42009c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 2
jne 0x4200ce
movzx ecx, word [ebp + 8]
sar ecx, 8
push ecx
mov ecx, dword [ebp - 4]
call fcn.0041ff9c
movzx edx, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041ff9c
jmp 0x42019d
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 1
jne 0x4200f9
movzx ecx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0041ff9c
movzx edx, word [ebp + 8]
sar edx, 8
push edx
mov ecx, dword [ebp - 4]
call fcn.0041ff9c
jmp 0x42019d
movzx eax, word [ebp + 8]
cmp eax, 0x7f
jg 0x420114
movzx ecx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0041ff9c
jmp 0x42019d
movzx edx, word [ebp + 8]
cmp edx, 0x7ff
jg 0x42014d
movzx eax, word [ebp + 8]
sar eax, 6
push es
or eax, 0xc0
add byte [eax], al
push eax
mov ecx, dword [ebp - 4]
in eax, 0xba
retf 0xbaf
xchg ecx, eax
je 0x420126
imul eax, ebp, 0x259edb72
invalid
jb 0x42012a
sahf
and eax, 0xb5b7358e
mov word [ebp + 0x45256575], ds
fscale
push ss
adc dh, bh
jne 0x42019e
xor bl, byte [edx - 0x4c]
pop esi
or eax, dword [ecx]
fidivr dword [ecx - 0x3e]
test al, 0x32
shr byte [ebx], cl
dec esi
mov bh, 0xed
xor dl, dl
sub ecx, dword [esi + 0x65]
mov bh, 0xed
mov dword [0x82d47706], eax
push esi
daa
jp 0x42016c
dec esi
cdq
push esi
dec esi
leave
cwde
mov ch, 0x76
adc ah, byte [ecx - 0x29]
fdivr dword [ebp + 0x45]
cmp byte [ecx + 0x51], ah
inc ebp
jnp 0x420148
mov eax, dword [0x99381717]
invalid
push es
retf 0x4c9c

Function at 0x424f92
Capabilities:
Encode data using xor

Disassembly:
cmp eax, 0x65d4cab1
cmp cl, dh
cmpsd dword [esi], dword es:[edi]
fidivr word [esi - 0x55]
sub ax, 0x4589
pushfd
fisubr dword [ebx - 0x1ee7d0a6]
dec byte [eax + 0x58a85c61]
ja 0x424fe8
invalid
sbb cl, byte [edx]
mov ecx, 0x18f5e10a
cmp ebx, eax
dec eax
mov eax, dword [0x879d39e]
mov word [bx + si - 0x7a], es
jnp 0x424f9a
in al, dx
invalid
Function at 0x43876c
Capabilities:
Encode data using xor

Disassembly:
sbb byte [edx + 0x25], bl
outsd dx, dword [esi]
aas
ret 0x7609
jg 0x43875c
daa
cwde
push ecx
movsd dword es:[edi], dword [esi]
cdq
or eax, 0x1255b5cf
sub byte [ebx - 0x1211c7e9], ah
out dx, al
pushal
xor bl, byte [ebx]
sub ecx, edx
dec ebp
add dh, byte [ecx - 0x79fac8d0]
shrd dword [eax - 0x48d9fa7], edx, cl
nop
pop ecx
pushal
jb 0x43878d
mov ch, 0x22
div byte [ebx]
mov dh, 0x4a
rcr byte [0x193cac97], cl
fistp dword [ebx + 0xabd4ad1]
xchg ah, bl
dec ecx
dec esi
daa
mov bh, 0x36
mov eax, 0x720461d7
imul dword [eax + 1]
sub ecx, dword [edi + 0x5e]
adc edx, ebx
xchg dword [ecx - 0x7d4d9c1e], edx
mov ah, 0x90
loop 0x43878d
leave
cmp eax, 0xa1fa1523
or eax, 0xaf8c6bd9
in eax, 0x93
and dl, 0x88
and dword [edx + edx - 0x7a481266], ecx
fld qword [edi + 0x67]
and dh, bl
mov ebx, dword [esi - 0x3b]
sar byte [edx - 0x66], cl
jae 0x4387f7
pop edi
call 0x412740d7
neg dword [edx - 0x555c8ae2]
imul ebp, dword [ebp + 0x37e3c7e9], 0x67c0ec93
xchg edi, eax
sbb dword [ecx - 0x25a12531], ecx
pop ds
test al, 0xf6
sal dword [ecx - 0x44f9e99b], 1
popal
cmc
movsb byte es:[edi], byte [esi]
xor al, 0x9b
and al, 0xa4
mov cl, 0x90
mov byte [edx - 0x5d6a4a06], al
pop eax
jae 0x4387c3
invalid
hlt

Function at 0x464fcc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 2
jne 0x464ffe
movzx ecx, word [ebp + 8]
sar ecx, 8
push ecx
mov ecx, dword [ebp - 4]
call fcn.00464ecc
movzx edx, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.00464ecc
jmp 0x4650cd
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 1
jne 0x465029
movzx ecx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00464ecc
movzx edx, word [ebp + 8]
sar edx, 8
push edx
mov ecx, dword [ebp - 4]
call fcn.00464ecc
jmp 0x4650cd
movzx eax, word [ebp + 8]
cmp eax, 0x7f
jg 0x465044
movzx ecx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00464ecc
jmp 0x4650cd
movzx edx, word [ebp + 8]
cmp edx, 0x7ff
jg 0x46507d
sub eax, 0x845b70f
movzx eax, word [ebp + 8]
sar eax, 6
or eax, 0xc0
push eax
mov ecx, dword [ebp - 4]
call fcn.00464ecc
movzx ecx, word [ebp + 8]
and ecx, 0x3f
or ecx, 0x80
push ecx
mov ecx, dword [ebp - 4]
movzx edx, word [ebp + 8]
cmp edx, 0xffff
jg 0x4650cd
movzx eax, word [ebp + 8]
sar eax, 0xc
or eax, 0xe0
push eax
mov ecx, dword [ebp - 4]
call fcn.00464ecc
movzx ecx, word [ebp + 8]
sar ecx, 6
and ecx, 0x3f
or ecx, 0x80
push ecx
mov eax, dword [esi + 0x76]
or al, 0xe5
cmp al, 0x99
sub al, 0xe5
jl 0x46504f
insb byte es:[edi], dx
Function at 0x496cec
Capabilities:
Encode data using xor

Disassembly:
jns 0x496d41
pop ecx
push ebp
or eax, 0xf90ad37f
js 0x496d4a
inc ecx
jmp 0x496d4c
aad 0x2d
dec byte [edi - 0x292a5919]
cmp al, 0x34
xor al, 0x49
dec ecx
pop edx
xchg esi, ebp
push es
inc esp
xor byte [edi - 0x1a], bh
xchg bh, dh
sbb bh, byte [ebp + 2]
xchg byte [eax + ebp - 0x7f], dl
cmp dword [eax + 0xce58956], eax
salc
and byte [eax - 0x60e998c5], 0xd2
jl 0x496d4b
insb byte es:[edi], dx
add bh, byte [edi + 0x10]
jge 0x496da8
popal
cli
cmpsd dword [esi], dword es:[edi]
cwde
fcom qword [ebp - 0x290fa16d]
cmc
adc al, 0x75
mov dl, 0x9e
or eax, ebp
int1
cmpsd dword [esi], dword es:[edi]
cwde
inc ecx
inc edi
in eax, dx
and dword gs:[ecx + eax*4 - 0x52], edi
sal bl, 0x35
mov edi, 0xd5eaf1c1
add byte [ecx], ah
lahf
salc
mov bl, 0x2d

Function at 0x497d18
Capabilities:
Authenticate hmac

Disassembly:
inc ebx
jo 0x497d94
mov dword [eax - 0x1a], ecx
jne 0x497d6a
or ecx, edx
loop 0x497d2d
cmp byte [eax + 0x788407e7], al
out 0xa2, eax
fst qword [ecx + 0x3e405860]
xchg ecx, eax
pushal
pop eax
inc eax
jno 0x497d5e
jno 0x497d5e
mov dword [eax - 0x57], edi

Function at 0x497d32
Capabilities:
Authenticate hmac

Disassembly:
jno 0x497d5e
in eax, 0xd5
leave
invalid
or byte [edi - 0x56c8f2e4], dh
jne 0x497dbf
sti
push ds
lodsd eax, dword [esi]
pop es
aad 0xfb
mov dh, 0xc2
dec eax
cwde
xchg edx, eax
mov esi, 0x9e6f3bde
dec esi
cmp eax, 0xc8f7b827
mov ah, 0x5c
mov ah, 0x98
fdivr qword [eax]
cdq
add al, 0x74
mov eax, 0x782dd875
insd dword es:[edi], dx
mov dh, 0x3d
clc
insd dword es:[edi], dx
mov dh, 0xfb
or bl, byte [ebx - 0x568776e8]
sbb byte [edi + 0x2c581b27], bh
mov cl, 0xf4
mov ah, bl
jns 0x497e0a
aas
ret
popfd
test al, 0x36
call 0x76dca696
push esp
mov ss, word [esi - 0x18]
sub al, bl
cmp byte [edx], cl
dec esp
movsd dword es:[edi], dword [esi]
mov eax, 0xbc18cb38
sub ecx, dword [ecx - 0x6800b072]
fdivr dword [eax]
or cl, byte [ebp - 0x48]
cmp bl, cl
sbb byte [ebx + ebp - 0xb07177], bh
xchg edi, eax
lahf
test al, 0x68
pop eax
loope 0x497db2
jno 0x497dbe
enter 0x79f7, 0x36
cmp eax, 0x68906a29
pop ebp
invalid
or byte [eax - 0x58], ch
sahf
dec ebx
sub eax, 0x3e881374
sahf
dec eax
cdq
jbe 0x497e33
das
movsb byte es:[edi], byte [esi]
int1
add al, 0x11
pop ds
push ds
fidivr word [edi - 0x80]
insb byte es:[edi], dx
cld
les esi, [ebx + ebp*2]
sti
adc esi, ebx
dec edi
and esi, ecx
cmp bl, byte [esi]
dec ebx
xor ch, byte [ecx + 0x59b8b94c]
scasb al, byte es:[edi]
retf
dec esp
mov ecx, 0xcbae59b8
sbb dword [edi], esp
jno 0x497ea1
dec eax
jge 0x497e77
mov esi, 0x8a08a5cb
fcomp st(3)
xor dword [eax - 0x49], 0x377dcf2f
fstp dword [ebx]
clc
cdq
sal eax, 0x21
insd dword es:[edi], dx
jmp 0xf0292809
sbb esi, dword [edi]
movsb byte es:[edi], byte [esi]
invalid
xor byte [esi - 0x45e5a0a9], al
jbe 0x497f1b
or edx, dword [ebx + 0x5a]
add byte [ecx - 0x7c9883c4], 0x58
mov byte [ecx + 0x10], 0x5f
and edx, dword [eax + 0x52]
test byte [ebx + ebp*4], al
invalid
push ds
inc edx
adc dword [edi - 0x27], ebx
invalid
Function at 0x4bafcd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2390
cmp edx, dword [eax]
je 0x4bafef
add eax, 8
inc ecx
cmp eax, 0x4c2420
jl 0x4bafe0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2390]
jne 0x4bb11d
mov eax, dword [0x4c6d1c]
cmp eax, 1
je 0x4bb0f7
test eax, eax
jne 0x4bb020
cmp dword [0x4c22bc], 1
je 0x4bb0f7
cmp edx, 0xfc
je 0x4bb11d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb057
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bb9b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bbe40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb09a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bbe40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c06f4
push edi
call fcn.004bdd10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bb9b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb9c0
lea eax, [ebp - 0xa0]
push 0x4c06d4
push eax
call fcn.004bb9c0
push dword [esi + 0x4c2394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb9c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bdc84
add esp, 0x2c
pop edi
jmp 0x4bb11d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c2394]
push 0
push eax
push dword [esi]
call fcn.004bbe40
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 0x10001c50
Capabilities:
Link many functions at runtime

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

Function at 0x10001d30
Capabilities:
Link many functions at runtime

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