joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012b6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
imul ecx, ecx, 0x106
cmp byte [ecx + 0x4032e0], 0
push ebx
lea ebx, [ecx + 0x4032e0]
push esi
push edi
mov dword [ebp - 4], edx
jne 0x401373
mov esi, 0x4031c0
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll__mbsrchr]
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x401308
lea eax, [ebp - 0x11c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
jmp 0x40132a
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp - 0x11c]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__mbsncpy]
lea eax, [ebp - 0x11c]
add esp, 0xc
sub eax, esi
and byte [eax + edi], 0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x11c]
push 0x403014
push eax
call esi
mov ecx, dword [ebp - 4]
call fcn.0040128f
push eax
lea eax, [ebp - 0x11c]
push eax
call esi
lea eax, [ebp - 0x11c]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__access]
pop ecx
test eax, eax
pop ecx
jne 0x401373
lea eax, [ebp - 0x11c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
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
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x794c068c
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x7be136f7
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x8cf850
Capabilities:
Encode data using xor

Disassembly:
sub al, 0xe9
push ebx
shr byte [ecx + 0x63f6235f], cl
popal
mov edx, 0xad2f5d3d
cmpsb byte [esi], byte es:[edi]
pop edi
and esi, esi
arpl word [ecx - 0x46], sp
cmp eax, 0xa6ad2f5d
aad 0x79
fadd dword [ebp - 0x75]
cld
mov byte [edx + 0x1c], dl
mov cl, 0x27
leave
leave
invalid
jne 0x8cf89f
jno 0x8cf819
or edx, dword [ebx]
push edi
and byte [esp + ebx], bl
cmpsd dword [esi], dword es:[edi]
mov dword [ebx + 0x14], eax
push ebp
shl dword [ebx + 0xd69f51c], 0x95
jecxz 0x8cf81e
enter 0xffffffffffffe4bc, 0x11
inc ebx
stosb byte es:[edi], al
adc cl, byte [ecx - 0x4d]
inc edi
sub eax, 0x3b96b04b
cmp esp, esp
xor cl, 0xba
inc edi
add al, 0xa5
mov al, byte [ecx + 0x30]
mov ebp, esi
jo 0x8cf877
aaa
mov cl, 0xc7
insd dword es:[edi], dx
ret
xchg edx, eax
push eax
add eax, 0xe72e17b8
mov edx, 0x6fa9c3cf
and al, 0x95
cmp eax, 0xf44eb52
xchg byte [ebp + 0x37], bh
invalid
Function at 0x794058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007941a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x79407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x79406a
add dl, dl
jne 0x794089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7940dc
xor eax, eax
add dl, dl
jne 0x794096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x79417d
add dl, dl
jne 0x7940a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7940b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7940bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7940c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7940d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x794075
mov eax, 1
add dl, dl
jne 0x7940ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7940f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7940e1
sub eax, ebx
mov ebx, 1
jne 0x794128
mov ecx, 1
add dl, dl
jne 0x79410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x794119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x794105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x794075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x79413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x79414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x794136
cmp eax, 0x7d00
jae 0x79416d
cmp eax, 0x500
jb 0x794168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x794075
cmp eax, 0x7f
ja 0x794170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x794075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x79419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x794075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402579
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x405168
cmp edx, dword [eax]
je 0x40259b
add eax, 8
inc ecx
cmp eax, 0x4051f8
jl 0x40258c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x405168]
jne 0x4026c9
mov eax, dword [0x405720]
cmp eax, 1
je 0x4026a3
test eax, eax
jne 0x4025cc
cmp dword [0x4050b4], 1
je 0x4026a3
cmp edx, 0xfc
je 0x4026c9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402603
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004016c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403390
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402646
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403390
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4043ac
push edi
call fcn.00401260
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004016c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004016d0
lea eax, [ebp - 0xa0]
push 0x40438c
push eax
call fcn.004016d0
push dword [esi + 0x40516c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004016d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403745
add esp, 0x2c
pop edi
jmp 0x4026c9
lea eax, [ebp + 8]
lea esi, [esi + 0x40516c]
push 0
push eax
push dword [esi]
call fcn.00403390
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 0x406930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc510
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x505a38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00494fe8
mov dword [ebp - 4], 0
mov dword [esi], 0x4e8734
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040b2b0
mov dword [esi], 0x4e869c
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], 0x4e86e0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x4069c0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi], 0x4e8664
mov dword [esi + 0x2c], 0x4e865c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x409ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc510
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x505a38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00494fe8
mov dword [ebp - 4], 0
mov dword [esi], 0x4e8734
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040b2b0
mov dword [esi], 0x4e8718
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], 0x4e86e0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x409d30
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi], 0x4e86cc
mov dword [esi + 0x2c], 0x4e86d8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40bbb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccb06
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x505a38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [esi], 0x4e8864
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
lea ebx, [esi + 0x34]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.0040ca90
mov dword [ebx], eax
lea eax, [esi + 4]
push eax
mov byte [ebp - 4], 1
call dword [0x4d2118]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
mov dword [esi + 0x30], 0
mov byte [esi + 0x2c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0x64
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x3c], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
call fcn.0040c4a0
mov edi, eax
mov ecx, 8
lea esi, [ebp - 0x3c]
lea eax, [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
mov dword [ebp - 0x18], 1
call fcn.0040c4a0
mov edi, eax
mov ecx, 8
lea esi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1c]
lea esi, [edi + 4]
push esi
call dword [0x4d2120]
push esi
mov dword [edi + 0x28], 0
call dword [0x4d2124]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41b5c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce0b1
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x505a38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push ecx
lea ecx, [ebp - 0x79]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], 0
call fcn.0041b3d0
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x41b616
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x78], 0x67452301
mov dword [ebp - 0x74], 0xefcdab89
mov dword [ebp - 0x70], 0x98badcfe
mov dword [ebp - 0x6c], 0x10325476
call fcn.00436190
add esp, 4
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x78]
call fcn.00436250
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x20]
mov ecx, edi
call fcn.0041d100
add esp, 4
mov dword [ebp - 0x80], 1
mov byte [ebp - 4], 0
call fcn.00421e00
sub esp, 8
xor ecx, ecx
call fcn.004215e0
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004945c5
mov esp, ebp
pop ebp
ret
Function at 0x41c210
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cde23
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x505a38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00403720
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 0
push dword [ebp + 0xc]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0040b2b0
push dword [ebp + 0x10]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0041c9f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41d100
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cddb9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x505a38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 0
sub eax, edi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], eax
mov byte [ebx], 0
lea ecx, [eax + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x10]
shl eax, 2
mov dword [ebp - 0x1c], 1
cmp eax, ecx
ja 0x41d194
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], eax
jb 0x41d18c
mov ecx, dword [ebx]
mov byte [eax + ecx], 0
jmp 0x41d1a0
mov ecx, ebx
mov byte [eax + ecx], 0
jmp 0x41d1a0
sub eax, ecx
push 0
push eax
mov ecx, ebx
call fcn.00405480
xor ecx, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x41d1af
mov esi, dword [ebx]
mov dword [ebp - 0x14], esi
jmp 0x41d1b4
mov esi, ebx
mov dword [ebp - 0x14], ebx
mov edx, dword [ebp - 0x10]
cmp edx, 3
jl 0x41d247
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
mov ebx, edx
lea eax, [edx*4]
sub eax, edx
neg eax
add dword [ebp - 0x10], eax
lea esp, [esp]
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
shl eax, 8
shl edx, 0x10
or edx, eax
movzx eax, byte [edi + 2]
or edx, eax
mov eax, edx
shr eax, 0x12
add edi, 3
movzx eax, byte [eax + 0x4eb628]
mov byte [esi + ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
add ecx, 4
movzx eax, byte [eax + 0x4eb628]
mov byte [esi + ecx - 3], al
mov eax, edx
shr eax, 6
and eax, 0x3f
and edx, 0x3f
movzx eax, byte [eax + 0x4eb628]
mov byte [esi + ecx - 2], al
movzx eax, byte [edx + 0x4eb628]
mov byte [esi + ecx - 1], al
dec ebx
jne 0x41d1e0
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
cmp edx, 2
jne 0x41d2a9
movzx esi, byte [edi]
movzx eax, byte [edi + 1]
mov edi, dword [ebp - 0x14]
shl eax, 8
shl esi, 0x10
or esi, eax
mov eax, esi
shr eax, 0x12
mov al, byte [eax + 0x4eb628]
mov byte [edi + ecx], al
mov eax, esi
shr eax, 0xc
and eax, 0x3f
shr esi, 6
mov dl, byte [eax + 0x4eb628]
mov byte [edi + ecx + 1], dl
lea edx, [ecx + 2]
and esi, 0x3f
mov eax, ebx
mov cl, byte [esi + 0x4eb628]
mov byte [edx + edi], cl
mov byte [edx + edi + 1], 0x3d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 1
jne 0x41d2db
movzx edx, byte [edi]
shl edx, 0x10
mov eax, edx
shr eax, 0x12
shr edx, 0xc
movzx eax, byte [eax + 0x4eb628]
mov byte [esi + ecx], al
and edx, 0x3f
movzx eax, byte [edx + 0x4eb628]
mov byte [esi + ecx + 1], al
mov word [esi + ecx + 2], 0x3d3d
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fad0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x505a38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 2
lea eax, [ebp - 0xc]
push eax
mov ebx, ecx
push 0
mov edi, dword [ebx + 0x40]
mov esi, dword [ebx + 0x44]
push 0
mov dword [ebp - 0x38], ebx
call int.00428010
test al, al
je 0x41fc26
mov eax, 0x5a4d
cmp word [ebp - 0xc], ax
jne 0x41fc26
push 4
lea eax, [ebp - 0x10]
push eax
push 0
push 0x3c
mov ecx, ebx
call int.00428010
test al, al
je 0x41fc26
push 4
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x10]
mov ecx, ebx
call int.00428010
test al, al
je 0x41fc26
cmp dword [ebp - 0x14], 0x4550
jne 0x41fc26
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
mov dword [ebp - 0x30], 0x14
call fcn.00427cc0
test al, al
je 0x41fc26
cmp dword [ebp - 0x30], 0x14
je 0x41fb84
mov dword [ebx + 0x60], 0x1e
jmp 0x41fc26
mov eax, dword [ebp - 0x10]
mov cx, word [ebp - 0x2c]
mov edx, 0x8664
add eax, 0x98
cmp cx, dx
je 0x41fbae
mov edx, 0x200
cmp cx, dx
je 0x41fbae
mov edx, 0x284
cmp cx, dx
jne 0x41fbb1
add eax, 0x10
push 4
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
mov ecx, ebx
call int.00428010
test al, al
je 0x41fc26
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41fc26
mov edi, eax
xor eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], eax
jl 0x41fc20
jg 0x41fbdf
cmp edi, 7
jbe 0x41fc24
mov ebx, 7
mov ecx, dword [ebp - 0x38]
mov esi, eax
push 1
dec ebx
sub edi, 1
lea eax, [ebp - 5]
push eax
sbb esi, 0
push esi
push edi
call int.00428010
test al, al
je 0x41fc11
cmp byte [ebp - 5], 0
jne 0x41fc11
mov eax, esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], eax
jmp 0x41fc17
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
test ebx, ebx
jne 0x41fbe4
mov esi, dword [ebp - 0x34]
jmp 0x41fc26
xor esi, esi
jmp 0x41fc26
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
mov edx, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004945c5
mov esp, ebp
pop ebp
ret
Function at 0x424e60
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf22a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x505a38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [0x50773c]
lea esi, [edi + 4]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
mov eax, dword [0x50773c]
lea esi, [edi + 0x18]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov eax, dword [0x50773c]
lea esi, [edi + 0x1c]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
mov eax, dword [0x50773c]
lea esi, [edi + 0x20]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 7
mov eax, dword [0x50773c]
lea esi, [edi + 0x24]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 9
mov eax, dword [0x50773c]
lea esi, [edi + 0x30]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x50773c]
lea esi, [edi + 0x34]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xd
mov eax, dword [0x50773c]
lea esi, [edi + 0x38]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xf
lea esi, [edi + 0x3c]
mov eax, dword [0x50773c]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x50773c]
lea esi, [edi + 0x40]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x13
mov eax, dword [0x50773c]
lea esi, [edi + 0x44]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x15
mov eax, dword [0x50773c]
lea esi, [edi + 0x48]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x17
mov eax, dword [0x50773c]
lea esi, [edi + 0x4c]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x19
mov eax, dword [0x50773c]
lea esi, [edi + 0x50]
mov ecx, 0x50773c
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1b
xor eax, eax
mov dword [edi], 0
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42bb30
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4

Function at 0x42fc30
Capabilities:
Encode data using xor

Disassembly:
cmp ecx, dword [esi - 0xb]
xchg esi, eax
mov word [eax], fs
psubq mm1, qword [edi - 0x3a8c57dc]
adc byte [esi], al
mov al, byte [edi]
xor ebp, dword [ebx - 0x2a46b304]
je 0x42fc3f
lock and dword [ecx], ebp
std
popfd
and eax, 0xacc3320b
push cs
stc
jb 0x42fcce
in eax, dx
call 0xd2ef98db
nop
push ecx
push ebx
ret 0x3db3
dec esi
cli
mov word [ebx - 0x122877f5], es
push ecx
rcr bh, 0x8f
aas
pop ecx
adc esi, eax
jne 0x42fd06
ficomp word [esi + 0x103697e4]
out 0x1e, al
stosb byte es:[edi], al
wait
pop edx
popal
jp 0x42fd53
mov edx, edx
idiv byte [ebx - 0x68cae119]
fstp dword [esi + 0x44017e2f]
xor dword [esi + esi*2 + 0x43042566], eax
add dword [edx + 0xb], esp
inc eax
inc ecx
mov al, 0x19
lodsb al, byte [esi]
add ecx, eax
jae 0x42fcb2
mov cl, 0x29
lea edx, [edx + 0x6221d316]
or al, 0xd7
stosd dword es:[edi], eax
push ss
shl dword [ecx], cl
bound eax, qword [eax - 0x54d12838]
jmp 0x42fd78
and al, byte [ebx + 0x48]
stc
sar cl, 0xa8
sub dword [edi], 0x17d0d28c
inc ebp
mov esp, 0xa9ba411b
mov ebx, 0x55b5ed64
dec edx
jge 0x42fd6b
mov eax, 0x741f5a00
dec ebx
je 0x42fda0
insb byte es:[edi], dx
dec ecx
add eax, dword [edi]
add byte [eax], al
add dword [ecx], esp
add dword [esi + 0x7f446e3e], ebx
sal byte [0x118e087], 1
jg 0x42fd34
xor eax, 0x118e087
inc edi
mov eax, dword [0xf993dee9]
xor eax, 0x71d2e0b5
out 0xd8, eax
push cs
mov al, 0xda
adc dword [edi - 0x5f], edx
cmpsb byte [esi], byte es:[edi]
mov dword [0xdd106454], eax
adc ch, bl
jmp 0x363c914e
ficom dword [ecx]
push edi
mov eax, dword [0x6454a3a6]
ret
pop ebx
call esp
add dl, bh
cmpsb byte [esi], byte es:[edi]
int 0xf1
aaa
out 0x2a, al
dec esi
mov eax, dword [0x1bb13d79]
pop ss
fist word [ebx]
loop 0x42fd62
push 0xffffffffffffffc1
ljmp 0x16ba
Function at 0x4982c0
Capabilities:
Encode data using xor

Disassembly:
test al, 0xb6
popfd
test esp, esp
bound ecx, qword [ecx + 0x47be8316]
fild dword [ecx + 7]
or esp, edi
mov dh, 0x7b
shl dword [ebx + 0x566da018], 0x6b
in ax, 0x3f
xchg dword [esi - 0x26eec260], edx
pushfd
push ecx
mov al, 0xf1
cmp byte [ecx + 0x79c16b12], bh
imul eax, ecx, 0x79
mov esi, 0x4a6d11d5
adc dword [edx + 0x729b5af1], ebp
push edx
xor edx, eax
in eax, dx
or eax, 0x4ce030d5
inc ecx
pop ebx
jo 0x4982e9
ror dword [ecx - 0x39], 1
push esp
jns 0x498342
enter 0xffffffffffffa081, 0xfffffffffffffff8
ror byte [eax + 0x2f], 1
mov eax, 0xa17d88d5
imul esp, dword [ecx + ebx*2 - 0x39], 0xe815bd0b
xchg ecx, eax
sbb byte [esi], cl
lcall 0xb97b, 0xe0c3670d
in al, 0x2b
cmpsb byte [esi], byte es:[edi]
dec ebp
loope 0x498359
cmpsd dword [esi], dword es:[edi]
test dword [edi + 0x5a9c3d91], ebx
sub al, 0xda
mov ecx, 0x18774695
cdq
sti
hlt
retf 0x7e38
insd dword es:[edi], dx
jge 0x498366
int3
xchg dh, ch
mov dl, 0x65
cmpsd dword ds:[esi], dword es:[edi]
pop ss
in eax, 0x11
cmc
movsb byte es:[edi], byte [esi]
adc al, byte [esi]
xchg ebx, edi
mov edx, eax
mov byte [esi + ebx*4 + 0xf5cc0bc], bh
jo 0x4983e1
xchg edx, ebx
mov ch, 0xca
dec esp
xchg edx, eax
push ebx
test eax, 0xbf6fde6b
mov ah, 0x9a
dec ecx
mov dl, 0xeb
dec esi
aas
cmp dh, cl
invalid
mov eax, dword [0x1c57eaab]
and eax, 0x74b4efdc
cmpsd dword [esi], dword es:[edi]
fistp dword [ecx - 0x74]
adc ch, byte [ecx]
fistp dword [eax - 0x5005c511]
or al, 0x81
out dx, al
mov ecx, 0x2317752c
in eax, 0x51
push esp
push ss
invalid