joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ae3c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x48b010
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x9c9900]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x48b010
test cl, 0x48
je 0x48aea7
cmp byte [eax + 5], 0xa
je 0x48aea7
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48aef9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x48aee1
call fcn.00481262
mov dword [eax], 9
call fcn.0048126b
mov dword [eax], esi
jmp 0x48aef1
cmp eax, 0x6d
je 0x48b010
push eax
call fcn.00481274
pop ecx
or eax, 0xffffffff
jmp 0x48b012
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x48b00b
test eax, eax
je 0x48af20
cmp byte [ebx], 0xa
jne 0x48af20
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x48af29
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x48b005
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x48aff5
cmp al, 0xd
je 0x48af5b
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x48afe7
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x48af75
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x48af70
add dword [ebp + 0x10], 2
jmp 0x48afc9
mov dword [ebp + 0x10], eax
jmp 0x48afe3
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48af9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x48afe3
cmp dword [ebp - 0xc], 0
je 0x48afe3
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x48afbe
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x48afc9
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x48afe6
cmp ebx, dword [ebp + 0xc]
jne 0x48afce
cmp byte [ebp - 1], 0xa
jne 0x48afce
mov byte [ebx], 0xa
jmp 0x48afe6
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0048bf6d
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x48afe7
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x48af3f
jmp 0x48b005
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x48b005
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x48b012
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48cc62
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x9c5d80], ebx
push esi
push edi
jne 0x48cce2
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x48cd1d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x983d3c
push edi
call esi
test eax, eax
mov dword [0x9c5d80], eax
je 0x48cd1d
push 0x983d2c
push edi
call esi
push 0x983d18
push edi
mov dword [0x9c5d84], eax
call esi
cmp dword [0x9c59a8], 2
mov dword [0x9c5d88], eax
jne 0x48cce2
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x9c5d90], eax
je 0x48cce2
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x9c5d8c], eax
mov eax, dword [0x9c5d8c]
test eax, eax
je 0x48cd27
call eax
test eax, eax
je 0x48cd0e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x9c5d90]
test eax, eax
je 0x48cd0e
test byte [ebp - 8], 1
jne 0x48cd27
cmp dword [0x9c59b4], 4
jb 0x48cd21
or byte [ebp + 0x12], 0x20
jmp 0x48cd46
xor eax, eax
jmp 0x48cd56
or byte [ebp + 0x12], 4
jmp 0x48cd46
mov eax, dword [0x9c5d84]
test eax, eax
je 0x48cd46
call eax
mov ebx, eax
test ebx, ebx
je 0x48cd46
mov eax, dword [0x9c5d88]
test eax, eax
je 0x48cd46
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x9c5d80]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48ce3a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x48ce68
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x48ce6f
cmp ebx, dword [eax + 4]
jae 0x48ce6f
xor eax, eax
jmp 0x48d05f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x48ce80
xor eax, eax
inc eax
jmp 0x48d05e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x48ce96
cmp ecx, edx
jae 0x48cfdb
cmp dword [eax + 4], 0
je 0x48ce9f
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x48ce87
cmp dword [ebp + 8], 0
je 0x48cec1
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x48cfdb
cmp eax, esi
jae 0x48cfdb
mov eax, dword [0x9c5d98]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x48cee6
cmp dword [esi*4 + 0x9c5da0], edi
je 0x48cfdf
inc esi
cmp esi, eax
jl 0x48ced4
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x48d05b
cmp dword [ebp - 8], 0x1000000
jne 0x48d05b
test byte [ebp - 0xc], 0xcc
je 0x48cf64
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x48d05b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x48d05b
cmp word [eax + 0x18], 0x10b
jne 0x48d05b
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x48d05b
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x48cf64
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x48cf64
test byte [ecx + 0x27], 0x80
jne 0x48cfdb
push 1
push 0x9c5de0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x48ce78
mov ecx, dword [0x9c5d98]
test ecx, ecx
mov edx, ecx
jle 0x48cf98
lea eax, [ecx*4 + 0x9c5d9c]
cmp dword [eax], edi
je 0x48cf98
dec edx
sub eax, 4
test edx, edx
jg 0x48cf8c
test edx, edx
jne 0x48cfc9
push 0xf
pop ebx
cmp ecx, ebx
jg 0x48cfa5
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x48cfbd
lea eax, [edx*4 + 0x9c5da0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x48cfab
cmp ecx, 0x10
jge 0x48cfc9
inc ecx
mov dword [0x9c5d98], ecx
push 0
push 0x9c5de0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x48ce78
xor eax, eax
jmp 0x48d05e
test esi, esi
jle 0x48ce78
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x9c5de0
call ebx
test eax, eax
jne 0x48ce78
cmp dword [esi*4 + 0x9c5da0], edi
je 0x48d035
mov eax, dword [0x9c5d98]
lea esi, [eax - 1]
test esi, esi
jl 0x48d023
cmp dword [esi*4 + 0x9c5da0], edi
je 0x48d01f
dec esi
jns 0x48d013
test esi, esi
jge 0x48d033
cmp eax, 0x10
jge 0x48d02e
inc eax
mov dword [0x9c5d98], eax
lea esi, [eax - 1]
jmp 0x48d035
je 0x48d04d
xor ecx, ecx
test esi, esi
jl 0x48d04d
lea eax, [ecx*4 + 0x9c5da0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x48d03b
push 0
push 0x9c5de0
call ebx
jmp 0x48ce78
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48f7af
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00480650
mov eax, dword [0x9a33b4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0048bf6d
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x48f8e2
push 2
push esi
push dword [ebp + 8]
call fcn.0048bf6d
add esp, 0xc
cmp eax, ebx
je 0x48f8e2
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x48f882
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004822d0
push 0x8000
push dword [ebp + 8]
call fcn.0048f8f0
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x48f838
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0048ab07
add esp, 0xc
cmp eax, 0xffffffff
je 0x48f858
sub edi, eax
test edi, edi
jg 0x48f830
jmp 0x48f870
call fcn.0048126b
cmp dword [eax], 5
jne 0x48f86d
call fcn.00481262
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0048f8f0
pop ecx
pop ecx
jmp 0x48f8ca
jge 0x48f8ca
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048bf6d
push dword [ebp + 8]
call fcn.0048e91c
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x48f8ca
call fcn.00481262
mov dword [eax], 0xd
call fcn.0048126b
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0048bf6d
add esp, 0xc
mov eax, esi
pop edi
jmp 0x48f8e4
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00488f49
leave
ret

Function at 0x494139
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x494171
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00492207
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004921df
jmp 0x49417d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x495827
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x495869
call fcn.0049b1a9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x495869
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x495860
xor eax, eax
jmp 0x495871
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00495877
pop edi
pop esi
pop ebx
ret 4
Function at 0x49b6d9
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 0x49b707
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49b725
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049b63f
jmp 0x49b725
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49b725
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049b63f
test edi, edi
mov eax, edi
jne 0x49b70f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x882420
Capabilities:
Encode data using xor

Disassembly:
in al, dx
stosd dword es:[edi], eax
retf
pop eax
pop ss
jge 0x88237b
xor eax, 0x39c197d3
inc ebx
in eax, dx
shr byte [0x51d0fff3], 1
rol byte [ebp - 0xe], 1
out 0x54, eax
ror byte [eax - 0x40], cl
dec eax
push 0x6854c071
jge 0x8822ef
mov al, byte [0xacc08968]
dec ebp
xchg ebp, eax
mov cl, 0xf3
mov bh, 0xcf
sbb esp, ebp
mov ebx, 0xafec0dcf
iretd
mov bl, 0xad
add eax, 0x92ca7cf
dec ecx
wait
push ebx
into
dec ebx
invalid
dec ebp
insb byte es:[edi], dx
in eax, 0x55
dec ebp
js 0x88235a
popal
dec ebp
inc esp
in eax, 0x6d
dec ebp
push eax
in eax, 0x79
dec ebp
pop esp
in eax, 0x85
dec esp
test al, 0xe6
or al, 0xc0
mov ah, 0x68
popfd
loopne 0x88230c
out 0x68, al
adc edi, ebx
mov dword [0xd7df05fc], eax
xlatb
cld
jns 0x882377
invalid
movsb byte es:[edi], byte [esi]
mov dh, 0xbc
sub eax, 0x2ce8c094
xchg ah, bh
ror byte [eax], cl
xchg esp, eax
pushal
add al, 0xa1
loopne 0x88236e
leave
sub esp, ebp
out dx, al
inc esp
cmp eax, 0xc481e129
sub ebp, ebp
adc eax, 0xdc81f929
sbb byte [0x11582882], al
xor eax, 0xc278d234
or bl, byte [edi + ebp + 0x3c]
jnp 0x882436
push esp
call 0xeb287540
jo 0x882394
add al, 0xec
jl 0x8823d3
push eax
into
mov ss, word [edi]
fild word [eax - 0x1d]
push ss
add byte [eax], al
add bl, ch
jmp 0x88242a
add ah, bh
add eax, dword [eax]
add byte [eax], al
add byte [eax], al
jmp 0x88242a
pushal
call 0x882430
pop ebp
sub ebp, 0x10
sub ebp, 0x482420
jmp 0x882446
add byte [ecx + 0x482420ed], al
add cl, ch
add al, 0
add byte [eax], al
jne 0x882436
fidivr word [eax + edi*4 + 0x20]
and al, 0x48
add byte [ebx], al
lds eax, [ecx + 0x4cc0]
add byte [ecx + 0x616], bh
mov eax, 0x482420
add eax, ebp
add eax, 0x4c
mov ecx, 0x616
mov edx, 0x703ea18b
xor byte [eax], dl
inc eax
dec ecx
jne 0x88245d
jmp 0x882470
add byte [esi], al
add dh, byte [edi + 0xa8b8b8b]
dec edx
jae 0x882407
mov ecx, dword [ebx - 0x70ccb978]
mov ecx, dword [ebx - 0x745cce75]
mov ecx, dword [ebx + 0x4388697c]
add byte [edx], cl
xchg dword [ebx + 0x4e888b8b], ecx
push es
out dx, eax
scasd eax, dword es:[edi]
ja 0x88249d
invalid
push es
out dx, eax
scasd eax, dword es:[edi]
ja 0x8824a4
invalid
jecxz 0x88249d
invalid
Function at 0x40d9a4
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0040da27
jae 0x40d9b2
xor ecx, ecx
call fcn.0040da27
jae 0x40d9e1
xor eax, eax
call fcn.0040da27
jae 0x40d9f1
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0040da27
adc al, al
jae 0x40d9d3
jne 0x40da1d
stosb byte es:[edi], al
jmp 0x40d9b5
call fcn.0040da33
sub ecx, ebx
jne 0x40d9fa
call fcn.0040da31
jmp 0x40da19
lodsb al, byte [esi]
shr eax, 1
je 0x40da43
adc ecx, ecx
jmp 0x40da16
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0040da31
cmp eax, 0x7d00
jae 0x40da16
cmp ah, 5
jae 0x40da17
cmp eax, 0x7f
ja 0x40da18
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40d9b5
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x40dd70
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [ebp - 4], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, 0x20
jmp 0x40dddf
add ecx, 0x9e3779b9
mov esi, edx
shl esi, 4
add esi, dword [ebp - 4]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
xor esi, edi
add eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 0xc]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 0x10]
xor esi, edi
add edx, esi
mov esi, ebx
add ebx, 0xffffffff
test esi, esi
jg 0x40dda7
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40e7d4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
xor eax, eax
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
lea edx, [ebp - 0xc]
push eax
push 0
push 0
push 0
push edx
lea ecx, [ebp - 0x114]
push ecx
push esi
push edi
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x40e873
mov dword [ebp - 0xc], 0xc8
push str.HIDVid_3689Pid_8762
call fcn.00405e74
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
push 0x46de76
call fcn.00405fe0
add esp, 0xc
test eax, eax
jne 0x40e873
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x40e870
mov ecx, dword [ebp + 0x10]
mov esi, 0x46dea2
mov edi, ecx
lea edx, [ebp - 0x110]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00405e38
add esp, 8
mov eax, 1
jmp 0x40e87e
inc dword [ebp - 0x10]
inc esi
test ebx, ebx
je 0x40e7f3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xc360d1
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp + 4], 0xe4
push eax
call fcn.00c399ca
outsd dx, dword [esi]
insb byte es:[edi], dx
xor esi, dword gs:[edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax + 0x41], ch
add ecx, dword [esi]
sub eax, 0xffffffd7
cdq
add byte [eax], al
push edi
in eax, dx
and byte [eax + 0x52455355], dh
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
add byte [ebx + 0x65], dl
je 0xc36152
popal
jae 0xc3617d
inc ebp
jb 0xc3617e
outsd dx, dword [esi]
jb 0xc3610f
add byte [eax], al
push edi
imul ebp, dword [esi + 0x45], 0x636578
add byte [eax], al
inc ebp
js 0xc36187
je 0xc36170
jb 0xc36191
arpl word [ebp + 0x73], sp
jae 0xc36127
iretd
inc ebx
push 0x57646c69
imul ebp, dword [esi + 0x64], 0x7246776f
outsd dx, dword [esi]
insd dword es:[edi], dx
push eax
outsd dx, dword [esi]
imul ebp, dword [esi + 0x74], 0x3007845
aaa
mov edx, 0x389ae73c
dec ebx
jmp dword [eax - 0x599ca274]
aam 0x4c
dec esp
mov al, 0xa4
mov dword [edi], edi
and ch, ah
or byte [edx + esi*4], cl
mov ebx, 0x3b544e85
mov dl, 0x65
mov ebx, 0x3b544e85
sub byte [ebx - 0x56ea2aff], cl
xor cl, byte [edx - 0x4a]
jbe 0xc36205
aad 0x15
test eax, 0x76b64a32
insb byte es:[edi], dx
out 0xdf, al
xchg ebx, eax
clc
cmpsb byte [esi], byte es:[edi]
inc eax
and ebx, dword [ecx]
add dword [0x8226abb1], esp
fist word [ebx + 0x2340a6f8]
sbb dword [ecx], eax
and eax, 0x8226abb1
sub ch, dl
adc dh, byte [ebp - 0x7c1f8fb5]
rol ebp, cl
adc al, 0x18
pop edx
inc esp
insb byte es:[edi], dx
dec ebp
dec esp
sbb eax, 0x75ac73ed
add ah, byte [edi - 0x24bd9678]
xor al, 0xf2
shr byte [edi - 0xc], 0xc3
push ebp
jae 0xc3619a
jnp 0xc361da
adc byte [ebx + ecx*2 - 0x1d], bh
inc esi
cmp byte [ebx - 0x6d493e8a], al
xchg edx, eax
lodsb al, byte [esi]
add ecx, dword [edi + 0x19]
fidivr word [ebx - 9]
sti
das
mov dl, 0x44
jbe 0xc361e8
add byte [esi + 0x69], al
insb byte es:[edi], dx
insb byte es:[edi], dx
push edx
outsb dx, byte [si]
add byte [edx + 0x66], dl
bswap esi
mov esi, dword [esp + 0x38]
push 0x2416e12a
pushfd
pushfd
lea esp, [esp + 0x48]
jmp 0xc2cc38
das
push 0xffffffffffffffff
jmp edx

Function at 0xc36c89
Capabilities:
Encode data using xor

Disassembly:
rcl dh, cl
mov edx, eax
push dword [esp]
xor al, 0x24
cmp ch, 0x6b
call fcn.00c3597c
jae 0xc36c8e
int1
outsb dx, byte [esi]
clc
lea ebp, [edx + 0x4f]
cmp esi, dword [edi - 0x10b5d866]
in eax, dx
push eax
retf
Function at 0x1883bc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1021000]
push edi
jmp 0x1883bda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1883be1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1883bd0
mov eax, 1
add ebx, ebx
jne 0x1883bf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1883c04
jne 0x1883c23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1883c23
dec eax
add ebx, ebx
jne 0x1883c10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1883be8
add ebx, ebx
jne 0x1883c1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1883c75
xor ecx, ecx
sub eax, 3
jb 0x1883c3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1883caa
sar eax, 1
mov ebp, eax
jmp 0x1883c46
add ebx, ebx
jne 0x1883c46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1883c14
inc ecx
add ebx, ebx
jne 0x1883c54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1883c14
add ebx, ebx
jne 0x1883c61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1883c56
jne 0x1883c72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1883c56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1883c94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1883c86
jmp 0x1883bd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1883c94
add edi, ecx
jmp 0x1883bd6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1883cb2
cmp byte [edi], 0x11
jne 0x1883cb2
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 0x1883cb7
lea edi, [esi + 0x147c000]
mov eax, dword [edi]
or eax, eax
je 0x1883d2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23a869c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23a8818]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1883ce4
mov ecx, edi
jns 0x1883d13
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 + 0x23a881c]
or eax, eax
je 0x1883d29
mov dword [ebx], eax
add ebx, 4
jmp 0x1883d01
call dword [esi + 0x23a882c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1883d60
cmp al, 0xef
ja 0x1883d53
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1883d35
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1883d42
mov ebp, dword [esi + 0x23a8820]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1883d94
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x601174
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
jmp 0x601187
movzx ebx, byte [eax]
movzx edx, byte [eax + 1]
movzx edi, byte [eax + 5]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 2]
shl ebx, 8

Function at 0x602874
Capabilities:
Hash data with md5

Disassembly:
call fcn.00602850
pushal
lea ecx, [0x5bbb46fd]
mov cl, byte [esp]
popal
pushal
mov byte [esp + 0xf], dl
jmp 0x625f6f
jmp 0x60286e
pushal
mov ax, si
seto dl
popal
push dx
pushfd
pop word [esp]
pop word [esp]
jmp 0x62647e
push word [esp + 9]
pop dword [esp + 7]
push dword [esp + 0x1c]
push dword [esp + 0x1f]
pop dword [esp + 0xa]
push dword [esp + 0x10]
push dword [esp]
mov word [esp + 0x18], ax
pop dword [esp + 0x1d]
mov word [esp + 0x1a], ax
mov dword [esp + 0xc], edi
mov word [esp + 2], dx
lea esp, [esp + 2]
lea esp, [esp + 0x24]
lea esp, [esp + 4]
jmp 0x625f4b
mov byte [esp], ch
lea esp, [esp]
push word [esp]
mov word [esp], bp
lea esp, [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret