joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48f8f5
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 + 0x4e20c8]
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 0x48f935
cmp byte [ebx], 0xa
jne 0x48f935
or byte [edi + eax + 0x28], 4
jmp 0x48f93a
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 0x48fa39
mov dl, byte [eax]
cmp dl, 0x1a
je 0x48fa1c
inc eax
cmp dl, 0xd
je 0x48f966
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x48f98c
cmp eax, ecx
jae 0x48f99a
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 0x48f94e
jmp 0x48fa39
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 0x48fa17
cmp dword [ebp - 0x10], 0
je 0x48fa17
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4e20c8]
test byte [eax + edi + 0x28], 0x48
je 0x48f9f1
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x48f9dc
mov byte [esi], dl
jmp 0x48f9ed
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4e20c8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x48fa39
cmp byte [ebp - 1], 0xa
jne 0x48fa00
cmp esi, ebx
jne 0x48fa00
mov byte [esi], 0xa
jmp 0x48fa38
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0048c4d3
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x48fa39
mov byte [esi], 0xd
jmp 0x48fa38
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4e20c8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48fa36
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48fa39
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x48fa42
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 + 0x4e20c8]
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 0x48fa88
cmp word [ebx], dx
jne 0x48fa88
or byte [eax + edi + 0x28], 4
jmp 0x48fa8d
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 0x48fbf0
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 0x48fbd0
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x48face
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x48fb04
cmp eax, edx
jae 0x48fb12
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 0x48faa9
jmp 0x48fbf0
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 0x48fbcb
cmp dword [ebp - 0x18], 0
je 0x48fbcb
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4e20c8]
test byte [eax + edi + 0x28], 0x48
je 0x48fba1
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 0x48fb65
mov word [esi], cx
jmp 0x48fb9c
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4e20c8]
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 + 0x4e20c8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4e20c8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x48fbf0
pop eax
cmp word [ebp - 4], ax
jne 0x48fbb1
cmp esi, ebx
jne 0x48fbb1
mov word [esi], ax
jmp 0x48fbed
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0048c4d3
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x48fbf0
push 0xd
pop eax
jmp 0x48fbac
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4e20c8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x48fbea
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x48fbf0
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 0x49390b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b43e0
push 0x4b43d8
push str.FlsAlloc
push 0x1f
call fcn.00493736
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49393f
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a232c]
call esi
jmp 0x493945
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x493989
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b43f0
push 0x4b43e8
push str.FlsGetValue
push 0x21
call fcn.00493736
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4939c0
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a232c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4939c8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b43f8
push 0x4b43f0
push str.FlsSetValue
push 0x22
call fcn.00493736
mov esi, eax
add esp, 0x10
test esi, esi
je 0x493a02
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4a232c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4976ed
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.00497669
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x49785c
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x49785c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x497811
jg 0x497749
test eax, eax
je 0x497807
push 1
push 0x1000
call fcn.004914af
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x49776c
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4977fe
push 0x8000
push ebx
call fcn.0048d379
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x497795
jg 0x497790
cmp ecx, 0x1000
jb 0x497795
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00490b5f
add esp, 0x10
cmp eax, 0xffffffff
je 0x4977da
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 0x497790
jl 0x4977c1
test ecx, ecx
jne 0x497782
push dword [ebp - 0xc]
push ebx
call fcn.0048d379
push esi
call fcn.00492027
add esp, 0xc
xor ebx, ebx
jmp 0x49786a
cmp byte [edi + 0x24], 0
je 0x4977f1
cmp dword [edi + 0x20], 5
jne 0x4977f1
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4977fc
mov ebx, dword [edi + 0x18]
jmp 0x4977fe
xor ebx, ebx
push esi
call fcn.00492027
pop ecx
jmp 0x49786a
test ecx, ecx
jg 0x4977d3
jl 0x497811
test eax, eax
jae 0x4977d3
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0048c4d3
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x497831
cmp byte [edi + 0x1c], 0
je 0x4977d3
jmp 0x497862
push ebx
call fcn.004975ff
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4977d3
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 0x49786a
cmp byte [edi + 0x1c], 0
je 0x497867
mov ebx, dword [edi + 0x18]
jmp 0x49786a
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0048c4d3
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x498379
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e03b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4983c4
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00498514
test al, al
jne 0x4983be
sub edx, 2
cmp edx, edi
jne 0x4983a4
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4983e6
lea eax, [edi + 2]
cmp edx, eax
je 0x4983e6
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004982c5
add esp, 0x10
jmp 0x4984e0
push esi
lea ecx, [ebp - 0x255]
call fcn.00498514
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x498429
push dword [ebp - 0x25c]
jmp 0x4983d6
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x498466
cmp word [ebp - 0x226], 0
je 0x498487
cmp word [ebp - 0x226], ax
jne 0x498466
cmp word [ebp - 0x224], 0
je 0x498487
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004982c5
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4984d3
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x498440
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4984bb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4984e0
push 0x4980f5
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00487440
add esp, 0x10
jmp 0x4984b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d32
leave
ret

Function at 0x498df6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x498e07
pop esi
ret
push ebx
push edi
push esi
call fcn.00498dbf
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00492061
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x498e2f
push ebx
push esi
push edi
call fcn.00478620
add esp, 0xc
push 0
call fcn.00492027
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4991ff
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00498e44
Function at 0x49b1a6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00491a82
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x49b215
cmp esi, dword [ebp - 4]
je 0x49b210
cmp dword [ebp + 0xc], 0
je 0x49b210
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x49b1ed
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0049acf8
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x49b217
xor eax, eax
inc eax
jmp 0x49b217
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x49b27c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4e03b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00491a82
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00491a82
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x49b2f3
cmp word [ecx], dx
je 0x49b2f3
mov eax, dword [0x4b4a84]
push edi
dec eax
push eax
push 0x4b4970
call fcn.0049b21b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x49b366
cmp word [eax], dx
je 0x49b366
mov eax, dword [edi]
test eax, eax
je 0x49b317
cmp word [eax], dx
je 0x49b317
lea eax, [ebp - 0x10]
push eax
call fcn.0049abfe
jmp 0x49b320
lea eax, [ebp - 0x10]
push eax
call fcn.0049ac99
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x49b390
mov eax, dword [0x4b496c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4b4660
call fcn.0049b21b
add esp, 0xc
test al, al
je 0x49b390
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x49b35b
cmp word [eax], di
je 0x49b35b
lea eax, [ebp - 0x10]
push eax
call fcn.0049abfe
pop ecx
jmp 0x49b392
lea eax, [ebp - 0x10]
push eax
call fcn.0049ac99
jmp 0x49b358
mov eax, dword [edi]
test eax, eax
je 0x49b37d
cmp word [eax], dx
je 0x49b37d
lea eax, [ebp - 0x10]
push eax
call fcn.0049abb3
pop ecx
jmp 0x49b390
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x49b45b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0049b0a0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x49b45b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x49b45b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x49b45b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x49b3e8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00493ba4
test ebx, ebx
je 0x49b456
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00493ba4
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x49b45b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x49b45b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0049ea2e
add esp, 0x10
xor eax, eax
inc eax
jmp 0x49b45d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d32
leave
ret
Function at 0x49e67f
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4e03b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x49e6c2
call fcn.0047fdf7
mov dword [eax], 0xf
call fcn.0047fe0a
mov dword [eax], 0xd
call fcn.00483ed1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00476d32
leave
ret
test eax, eax
jne 0x49e6c9
inc eax
jmp 0x49e6b6
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 0x49e6b4
xor eax, eax
cmp ecx, 1
setne al
jmp 0x49e6b6

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x1d37058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1d371a8
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 0x1d3707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d3706a
add dl, dl
jne 0x1d37089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d370dc
xor eax, eax
add dl, dl
jne 0x1d37096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d3717d
add dl, dl
jne 0x1d370a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d370b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d370bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d370c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1d370d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1d37075
mov eax, 1
add dl, dl
jne 0x1d370ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d370f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d370e1
sub eax, ebx
mov ebx, 1
jne 0x1d37128
mov ecx, 1
add dl, dl
jne 0x1d3710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d37119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d37105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d37075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1d3713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d3714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d37136
cmp eax, 0x7d00
jae 0x1d3716d
cmp eax, 0x500
jb 0x1d37168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d37075
cmp eax, 0x7f
ja 0x1d37170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d37075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1d3719e
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 0x1d37075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, reloc.ole32.dll_CoTaskMemAlloc
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x401c66
pop dword [ebp - 0x4c]
mov eax, 0x401c66
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x5f42fd34
sub dword [ebp - 0x5c], 0x10f0b7e9
mov dword [ebp - 0x58], 0xe0111858
add dword [ebp - 0x58], 0x522233ed
mov dword [ebp - 0x54], 0x696e6575
sub dword [ebp - 0x54], 0x1d222147
mov dword [ebp - 0x50], 0x7b620b4b
sub dword [ebp - 0x50], 0x7b620b4b
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x4581f653
sub eax, 0x4541c5ff
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xe277a409
sub dword [ebp - 0x5c], 0x6e053ab3
mov dword [ebp - 0x58], 0xa3479eeb
sub dword [ebp - 0x58], 0x61db3d76
mov dword [ebp - 0x54], 0xfa0b9ae2
sub dword [ebp - 0x54], 0x969c2e76
mov dword [ebp - 0x50], 0x312aea0d
add dword [ebp - 0x50], 0xced515f3
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xd39c7718
add eax, 0x2ca3b914
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x33ce2
push 0
call eax
mov ecx, 0x952d791b
add ecx, 0x6ad2c431
xor edi, edi
add edi, eax
mov esi, 0xfb992106
sub esi, 0xfb58b106
add esi, dword [ebp - 0x4c]
mov ebx, 0x2895658
add ebx, 0x6228dede
add dword [ebp - 0x20], 0x26874fe9
mov edx, dword [esi]
add dword [ebp - 0x24], 0x7ac4cbdd
sub edx, ebx
xor dword [ebp - 0x1c], edx
mov dword [edi], edx
mov dword [ebp - 0x10], 0x8d18baf3
add edi, 4
add esi, 0xd41b140c
sub esi, 0xd41b1408
loop 0x401d85
add eax, 0xe803
mov ebx, eax
add eax, 5
mov ecx, 0x89064160
sub ecx, 0x88c64160
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x1001ec1a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1001ec29
pop dword [ebp - 0x34]
mov eax, 0x1f97ddd0
sub eax, 0xf95f1a7
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xa5223254
sub dword [ebp - 0x44], 0x56cfed09
mov dword [ebp - 0x40], 0x1501ea6a
sub dword [ebp - 0x40], 0xe2ce9e25
mov dword [ebp - 0x3c], 0xd8822b3e
sub dword [ebp - 0x3c], 0x8c35e710
mov dword [ebp - 0x38], 0x76a55e70
add dword [ebp - 0x38], 0x895aa190
lea eax, [ebp - 0x44]
push eax
mov eax, 0xef8c6303
add eax, 0x20759d01
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x2ad98bb6
add dword [ebp - 0x44], 0x4998dda0
mov dword [ebp - 0x40], 0xe0a795ec
sub dword [ebp - 0x40], 0x9f3b3477
mov dword [ebp - 0x3c], 0x3d9d75ac
sub dword [ebp - 0x3c], 0xda2e0940
mov dword [ebp - 0x38], 0x90a6e1c6
add dword [ebp - 0x38], 0x6f591e3a
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3e62e
push 0
call eax
mov ecx, 0x4421ef2d
add ecx, 0xbbde6002
mov edi, eax
mov ebx, 0x1002bc00
add ebx, dword [ebp - 0x34]
mov esi, 0x2757cebd
add esi, 0xfa597d74
add dword [ebp - 8], edi
mov edx, dword [ebx]
xor dword [ebp - 0x20], ebx
add edx, esi
xor dword [ebp - 0xc], 0x52c476df
mov dword [edi], edx
xor dword [ebp - 0x28], edx
add edi, 0x272d9316
add edi, 0xd8d26cee
add ebx, 4
loop 0x1001ed40
add eax, 0x12f8f
mov ebx, eax
add eax, 5
mov ecx, 0xc257c1b8
add ecx, 0x4da83e48
add ecx, dword [ebp - 0x34]
call ebx
leave
ret