joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0d30
Capabilities:
Initialize winsock library
Inspect load icon resource

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x198
mov ebp, dword [esp + 0x1b0]
mov ebx, dword [esp + 0x1ac]
mov eax, dword [0x8e4a3c]
xor eax, esp
mov dword [esp + 0x194], eax
push str.preset.bin
call fcn.00438670
add esp, 4
lea eax, [esp + 4]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push ebp
push ebx
call fcn.00401180
add esp, 8
mov esi, esp
push 0
push 0x65860d
push esi
call fcn.00401890
add esp, 0xc
push 1
push esi
push 0x91bc74
call fcn.00439050
add esp, 0xc
push esi
call fcn.0043aee0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004d053e
add esp, 4
call fcn.00472c20
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
call esi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, eax
push 0
call esi
mov esi, 0xffffffff
push edi
push 0x320
push 0x500
push 5
push eax
call fcn.004bf4d0
add esp, 0x14
test al, al
je 0x4c0e45
call fcn.004c0370
mov dword [0x91bc70], eax
test eax, eax
je 0x4c0e0d
push str.AXIOS24
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push ebp
push ebx
call fcn.00401430
add esp, 8
cmp byte [0x91bb24], 0
jne 0x4c0e3e
nop dword [eax + eax]
call fcn.00401800
cmp byte [0x91bb24], 0
je 0x4c0e30
call sub.WS2_32.dll_WSACleanup
xor esi, esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004c0e60
mov eax, esi
add esp, 0x198
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4c1694
Capabilities:
Parse pe header

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

Function at 0x4ccec4
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x8e4a3c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x65b284
push esi
call fcn.004d4fed
pop ecx
pop ecx
test eax, eax
jne 0x4ccef2
xor al, al
jmp 0x4ccf6f
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.004ccc53
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4ccf2c
push dword [ebp - 0x210]
call fcn.004cefa9
xor al, al
jmp 0x4ccf6d
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4ccf32
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x4ccf52
push edx
call fcn.004cce16
pop ecx
test al, al
je 0x4ccf1d
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4ccf60
mov bl, 1
push dword [ebp - 0x210]
call fcn.004cefa9
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004c0e60
leave
ret
Function at 0x4cf373
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004c0f90
mov eax, dword [0x8e4a3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004d4483
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4cf3b5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4cf511
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004c0e70
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x91c660]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004d9f13
mov ecx, dword [esi*4 + 0x91c660]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4cf50a
cmp eax, dword [ecx + edi + 0x24]
jne 0x4cf50a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4cf50a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004d9f13
add esp, 0x14
test edx, edx
jl 0x4cf50a
jg 0x4cf480
test eax, eax
jb 0x4cf50a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4cf50a
jl 0x4cf49a
cmp dword [ebp - 0x1008], eax
ja 0x4cf50a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4cf4b8
test ebx, ebx
je 0x4cf4f1
cmp ecx, edi
jae 0x4cf4f1
mov al, byte [ecx]
cmp al, 0xd
jne 0x4cf4d2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4cf4de
cmp byte [ecx + 1], 0xa
jne 0x4cf4de
inc ecx
jmp 0x4cf4de
movzx eax, al
movsx eax, byte [eax + 0x8e51d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4cf4b8
cmp edx, ebx
jne 0x4cf4b8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4cf50f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004c0e60
leave
ret

Function at 0x4d0da0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4d0dcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4d0dcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4d14b1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x6464e8
push 0x6464e0
push str.FlsAlloc
push 0x1f
call fcn.004d1794
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4d14e5
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x4d14eb
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4d152f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x6464f8
push 0x6464f0
push str.FlsGetValue
push 0x21
call fcn.004d1794
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4d1566
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4d156e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x646500
push 0x6464f8
push str.FlsSetValue
push 0x22
call fcn.004d1794
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4d15a8
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4d6570
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4d660d
push ebx
push esi
call fcn.004d665e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004d6474
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4d65ba
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4d660c
push edi
push eax
call fcn.004d3279
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4d65da
call fcn.004d2933
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4d660b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004d6474
add esp, 0x20
test eax, eax
jne 0x4d65f9
push edi
call fcn.004d2933
jmp 0x4d6601
push ebx
call fcn.004d2933
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4d6610
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4d6621
pop esi
ret
push ebx
push edi
push esi
call fcn.004d665e
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004d3279
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4d6649
push ebx
push esi
push edi
call fcn.004c3690
add esp, 0xc
push 0
call fcn.004d2933
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4d66a0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d690b
Function at 0x4d99d4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x91c660]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4d9a14
cmp byte [ebx], 0xa
jne 0x4d9a14
or byte [edi + eax + 0x28], 4
jmp 0x4d9a19
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4d9b18
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4d9afb
inc eax
cmp dl, 0xd
je 0x4d9a45
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4d9a6b
cmp eax, ecx
jae 0x4d9a79
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4d9a2d
jmp 0x4d9b18
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d9af6
cmp dword [ebp - 0x10], 0
je 0x4d9af6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x91c660]
test byte [eax + edi + 0x28], 0x48
je 0x4d9ad0
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4d9abb
mov byte [esi], dl
jmp 0x4d9acc
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x91c660]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4d9b18
cmp byte [ebp - 1], 0xa
jne 0x4d9adf
cmp esi, ebx
jne 0x4d9adf
mov byte [esi], 0xa
jmp 0x4d9b17
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004d9eb5
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4d9b18
mov byte [esi], 0xd
jmp 0x4d9b17
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x91c660]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4d9b15
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4d9b18
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4d9b21
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x91c660]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4d9b67
cmp word [ebx], dx
jne 0x4d9b67
or byte [eax + edi + 0x28], 4
jmp 0x4d9b6c
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4d9ccf
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4d9caf
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4d9bad
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4d9be3
cmp eax, edx
jae 0x4d9bf1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4d9b88
jmp 0x4d9ccf
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d9caa
cmp dword [ebp - 0x18], 0
je 0x4d9caa
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x91c660]
test byte [eax + edi + 0x28], 0x48
je 0x4d9c80
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4d9c44
mov word [esi], cx
jmp 0x4d9c7b
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x91c660]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x91c660]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x91c660]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4d9ccf
pop eax
cmp word [ebp - 4], ax
jne 0x4d9c90
cmp esi, ebx
jne 0x4d9c90
mov word [esi], ax
jmp 0x4d9ccc
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004d9eb5
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4d9ccf
push 0xd
pop eax
jmp 0x4d9c8b
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x91c660]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4d9cc9
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4d9ccf
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4df95a
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x8e4a3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x4df99d
call fcn.004cc2f8
mov dword [eax], 0xf
call fcn.004cc2e5
mov dword [eax], 0xd
call fcn.004d2a06
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0e60
leave
ret
test eax, eax
jne 0x4df9a4
inc eax
jmp 0x4df991
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x4df98f
xor eax, eax
cmp ecx, 1
setne al
jmp 0x4df991
Function at 0x4e2978
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004e2b0f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4e2ae7
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4e2ae7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4e2a9c
jg 0x4e29d4
test eax, eax
je 0x4e2a92
push 1
push 0x1000
call fcn.004d3131
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4e29f7
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4e2a89
push 0x8000
push ebx
call fcn.004cca97
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4e2a20
jg 0x4e2a1b
cmp ecx, 0x1000
jb 0x4e2a20
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004d84c0
add esp, 0x10
cmp eax, 0xffffffff
je 0x4e2a65
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4e2a1b
jl 0x4e2a4c
test ecx, ecx
jne 0x4e2a0d
push dword [ebp - 0xc]
push ebx
call fcn.004cca97
push esi
call fcn.004d2933
add esp, 0xc
xor ebx, ebx
jmp 0x4e2af5
cmp byte [edi + 0x24], 0
je 0x4e2a7c
cmp dword [edi + 0x20], 5
jne 0x4e2a7c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4e2a87
mov ebx, dword [edi + 0x18]
jmp 0x4e2a89
xor ebx, ebx
push esi
call fcn.004d2933
pop ecx
jmp 0x4e2af5
test ecx, ecx
jg 0x4e2a5e
jl 0x4e2a9c
test eax, eax
jae 0x4e2a5e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004d9eb5
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4e2abc
cmp byte [edi + 0x1c], 0
je 0x4e2a5e
jmp 0x4e2aed
push ebx
call fcn.004d6de5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4e2a5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4e2af5
cmp byte [edi + 0x1c], 0
je 0x4e2af2
mov ebx, dword [edi + 0x18]
jmp 0x4e2af5
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004d9eb5
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x9001690
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x90de124]
jne 0x900169a
repz ret
jmp fcn.0909ebfc

Function at 0x9013f61
Capabilities:
Check os version

Disassembly:
push 0x118
mov eax, 0x90a2736
call fcn.09004c60
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x124], edi
call fcn.0900373e
lea eax, [ebp - 0x4c]
xor ebx, ebx
push eax
mov edx, esi
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.09015738
pop ecx
test al, al
jne 0x9013fbf
lea eax, [ebp - 0x4c]
push eax
call fcn.0906031b
pop ecx
test al, al
jne 0x9013fbf
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.090167a9
mov eax, esi
call fcn.09005591
ret
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
je 0x9014150
cmp dword [ebp - 0x110], 6
sbb al, al
inc al
je 0x9014150
push str.CDMP
lea ecx, [ebp - 0x4c]
call fcn.090168fc
test al, al
je 0x9014150
lea ecx, [ebp - 0x68]
call fcn.0900373e
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.0904e977
pop ecx
test al, al
je 0x901411d
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.09056076
mov esi, str..icc
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.0904e977
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x9014065
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x68]
call fcn.0904e977
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 3
call fcn.090183d0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.0904e977
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x68]
call fcn.0904e977
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0904e977
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x90140e1
lea eax, [ebp - 0x68]
push eax
push edi
call fcn.090178a6
pop ecx
pop ecx
lea ecx, [ebp - 0x11c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0901978b
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.0904e977
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68]
jmp 0x9014141
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 3
call fcn.0901978b
mov dword [ebp - 4], 2
jmp 0x901410e
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0904e977
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.0905855e
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68]
test al, al
je 0x901414b
mov esi, dword [ebp - 0x120]
call fcn.090167a9
jmp 0x9013fab
call fcn.090167a9
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.090178a6
pop ecx
pop ecx
mov esi, eax
jmp 0x9013fab
Function at 0x90422dc
Capabilities:
Get memory capacity

Disassembly:
push 0x28
mov eax, 0x90a0c3e
call fcn.09004c60
lea eax, [ebp - 0x34]
push eax
mov esi, ecx
mov dword [ebp - 0x34], 0x20
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
xor edi, edi
sub eax, dword [esi + 8]
sbb edi, dword [esi + 0xc]
js 0x904234b
jg 0x9042311
test eax, eax
jb 0x904234b
mov ecx, dword [esi + 4]
mov edx, ecx
xor ebx, ebx
imul edx, edx, 3
cmp edi, ebx
jg 0x904234b
jl 0x9042325
cmp eax, edx
ja 0x904234b
cmp ecx, eax
jae 0x904233f
and dword [ebp - 4], 0
sub eax, ecx
mov ecx, dword [esi]
push eax
call fcn.0904e977
jmp 0x904234b
jbe 0x904234b
sub ecx, eax
push ecx
mov ecx, dword [esi]
call fcn.0904e977
call fcn.09005591
ret

Function at 0x90423b0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov byte [ecx + 0x58], al
ret
Function at 0x904e977
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x904e986
pop dword [ebp - 0x28]
mov eax, 0xa0e4b4aa
add eax, 0x682034dc
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x5fd771f8
add dword [ebp - 0x38], 0xee7ad353
mov dword [ebp - 0x34], 0x34182583
add dword [ebp - 0x34], 0xfe1b26c2
mov dword [ebp - 0x30], 0x646aef1
add dword [ebp - 0x30], 0x4605953d
mov dword [ebp - 0x2c], 0x9d71d696
add dword [ebp - 0x2c], 0x628e296a
lea eax, [ebp - 0x38]
push eax
mov eax, 0x2d055180
sub eax, 0x23faf0bc
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xbd127cb3
sub dword [ebp - 0x38], 0x48a0135d
mov dword [ebp - 0x34], 0x51b2c472
add dword [ebp - 0x34], 0xefb99d03
mov dword [ebp - 0x30], 0x48b996c3
add dword [ebp - 0x30], 0x1ab5d5a9
mov dword [ebp - 0x2c], 0x881b029f
add dword [ebp - 0x2c], 0x77e4fd61
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xb60c4a08
add eax, 0x52fe166c
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x5ffed
push 0
call eax
mov ecx, 0x9d4dfc86
sub ecx, 0x9d4da81e
mov esi, eax
mov edi, 0xb8de3a84
add edi, 0x5030577c
add edi, dword [ebp - 0x28]
mov edx, 0x85858b5b
add edx, 0x3aa53b59
mov dword [ebp - 0x24], 0x6a161a33
mov ebx, dword [edi]
xor dword [ebp - 0x24], 0xb011011c
sub ebx, edx
xor dword [ebp - 0x1c], ecx
mov dword [esi], ebx
mov dword [ebp - 0x20], 0x708f7c0b
add esi, 4
add edi, 0x63ee632d
sub edi, 0x63ee6329
loop 0x904eaa8
add eax, 0xae1ca775
sub eax, 0xae1b6302
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x2fbdb0b8
sub ecx, 0x26bdb0b8
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x90556d5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x90556dd
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x90556ec
xor al, al
ret
shr eax, 4
and eax, 1
ret

Function at 0x90563e9
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x90a0dde
call fcn.0900621d
mov edi, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
cmp byte [ebp + 0x10], bl
push 0x208
sete al
push ebx
lea esi, [eax - 1]
lea eax, [ebp - 0x218]
and esi, 0xffffffef
push eax
add esi, 0x2b
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp byte [ebp + 0xc], bl
je 0x905642e
or esi, 0x8000
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
je 0x9056447
xor al, al
jmp 0x9056497
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.09015b83
push dword [ebp + 0xc]
lea ecx, [ebp - 0x234]
push str.Adobe
mov dword [ebp - 4], ebx
call fcn.0905636c
test al, al
je 0x905648a
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.0904e977
mov ecx, edi
call fcn.090556d5
mov bl, al
lea ecx, [ebp - 0x234]
call fcn.090167a9
mov al, bl
call fcn.0900804d
ret