joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d9cc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0040acb0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40da67
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x416704]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x40da67
cmp eax, 1
je 0x40da88
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40da67
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x40da34
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x40da63
xor eax, eax
inc eax
jmp 0x40daa7
cmp edi, eax
jae 0x40da6b
xor eax, eax
jmp 0x40daa7
cmp eax, esi
jae 0x40da72
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x416704]
jmp 0x40da8b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40dc71
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 0x40dc9f
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 0x40dca6
cmp ebx, dword [eax + 4]
jae 0x40dca6
xor eax, eax
jmp 0x40de96
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40dcb7
xor eax, eax
inc eax
jmp 0x40de95
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40dccd
cmp ecx, edx
jae 0x40de12
cmp dword [eax + 4], 0
je 0x40dcd6
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40dcbe
cmp dword [ebp + 8], 0
je 0x40dcf8
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40de12
cmp eax, esi
jae 0x40de12
mov eax, dword [0x4168e8]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x40dd1d
cmp dword [esi*4 + 0x4168f0], edi
je 0x40de16
inc esi
cmp esi, eax
jl 0x40dd0b
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40de92
cmp dword [ebp - 8], 0x1000000
jne 0x40de92
test byte [ebp - 0xc], 0xcc
je 0x40dd9b
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40de92
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40de92
cmp word [eax + 0x18], 0x10b
jne 0x40de92
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40de92
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x40dd9b
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x40dd9b
test byte [ecx + 0x27], 0x80
jne 0x40de12
push 1
push 0x416930
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x40dcaf
mov ecx, dword [0x4168e8]
test ecx, ecx
mov edx, ecx
jle 0x40ddcf
lea eax, [ecx*4 + 0x4168ec]
cmp dword [eax], edi
je 0x40ddcf
dec edx
sub eax, 4
test edx, edx
jg 0x40ddc3
test edx, edx
jne 0x40de00
push 0xf
pop ebx
cmp ecx, ebx
jg 0x40dddc
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x40ddf4
lea eax, [edx*4 + 0x4168f0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x40dde2
cmp ecx, 0x10
jge 0x40de00
inc ecx
mov dword [0x4168e8], ecx
push 0
push 0x416930
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x40dcaf
xor eax, eax
jmp 0x40de95
test esi, esi
jle 0x40dcaf
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x416930
call ebx
test eax, eax
jne 0x40dcaf
cmp dword [esi*4 + 0x4168f0], edi
je 0x40de6c
mov eax, dword [0x4168e8]
lea esi, [eax - 1]
test esi, esi
jl 0x40de5a
cmp dword [esi*4 + 0x4168f0], edi
je 0x40de56
dec esi
jns 0x40de4a
test esi, esi
jge 0x40de6a
cmp eax, 0x10
jge 0x40de65
inc eax
mov dword [0x4168e8], eax
lea esi, [eax - 1]
jmp 0x40de6c
je 0x40de84
xor ecx, ecx
test esi, esi
jl 0x40de84
lea eax, [ecx*4 + 0x4168f0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40de72
push 0
push 0x416930
call ebx
jmp 0x40dcaf
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f0ed
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x41694c], ebx
push esi
push edi
jne 0x40f16d
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40f1a8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x41694c], eax
je 0x40f1a8
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x416950], eax
call esi
cmp dword [0x416704], 2
mov dword [0x416954], eax
jne 0x40f16d
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x41695c], eax
je 0x40f16d
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x416958], eax
mov eax, dword [0x416958]
test eax, eax
je 0x40f1b2
call eax
test eax, eax
je 0x40f199
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x41695c]
test eax, eax
je 0x40f199
test byte [ebp - 8], 1
jne 0x40f1b2
cmp dword [0x416710], 4
jb 0x40f1ac
or byte [ebp + 0x12], 0x20
jmp 0x40f1d1
xor eax, eax
jmp 0x40f1e1
or byte [ebp + 0x12], 4
jmp 0x40f1d1
mov eax, dword [0x416950]
test eax, eax
je 0x40f1d1
call eax
mov ebx, eax
test ebx, ebx
je 0x40f1d1
mov eax, dword [0x416954]
test eax, eax
je 0x40f1d1
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x41694c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f4ed
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 0x40f6c1
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x416c80]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x40f6c1
test cl, 0x48
je 0x40f558
cmp byte [eax + 5], 0xa
je 0x40f558
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 0x40f5aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x40f592
call fcn.0040b7f0
mov dword [eax], 9
call fcn.0040b7f9
mov dword [eax], esi
jmp 0x40f5a2
cmp eax, 0x6d
je 0x40f6c1
push eax
call fcn.0040b802
pop ecx
or eax, 0xffffffff
jmp 0x40f6c3
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x40f6bc
test eax, eax
je 0x40f5d1
cmp byte [ebx], 0xa
jne 0x40f5d1
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x40f5da
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 0x40f6b6
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x40f6a6
cmp al, 0xd
je 0x40f60c
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x40f698
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x40f626
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x40f621
add dword [ebp + 0x10], 2
jmp 0x40f67a
mov dword [ebp + 0x10], eax
jmp 0x40f694
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 0x40f64e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40f694
cmp dword [ebp - 0xc], 0
je 0x40f694
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x40f66f
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x40f67a
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x40f697
cmp ebx, dword [ebp + 0xc]
jne 0x40f67f
cmp byte [ebp - 1], 0xa
jne 0x40f67f
mov byte [ebx], 0xa
jmp 0x40f697
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040b875
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x40f698
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x40f5f0
jmp 0x40f6b6
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x40f6b6
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 0x40f6c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f93e
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x413570
call fcn.00408a48
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x416a18], edi
jne 0x40f982
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40f96d
mov dword [0x416a18], ebx
jmp 0x40f982
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x40f982
mov dword [0x416a18], 2
mov eax, dword [0x416a18]
cmp eax, ebx
jne 0x40f9a2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x40fa65
cmp eax, 2
je 0x40f9ab
cmp eax, edi
jne 0x40f9d3
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x40f9be
mov eax, dword [0x4168a8]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x40f9da
xor eax, eax
jmp 0x40fa65
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0040acb0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x40fa0d
cmp esi, edi
jne 0x40fa23
push dword [ebp - 0x20]
call fcn.00405649
pop ecx
mov esi, eax
cmp esi, edi
je 0x40f9d3
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x40fa56
cmp dword [ebp + 0x14], edi
jne 0x40fa40
push edi
push edi
jmp 0x40fa46
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x40fa62
push esi
call fcn.00406c45
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.00408a83
ret
Function at 0x40fa6e
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x413580
call fcn.00408a48
xor esi, esi
cmp dword [0x416a1c], esi
jne 0x40fab2
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40fa9d
mov dword [0x416a1c], edi
jmp 0x40fab2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x40fab2
mov dword [0x416a1c], 2
mov eax, dword [0x416a1c]
cmp eax, 2
je 0x40fb93
cmp eax, esi
je 0x40fb93
cmp eax, 1
jne 0x40faf7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x40fae0
mov eax, dword [0x4168a8]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x40fafe
xor eax, eax
jmp 0x40fba5
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0040acb0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x40fb34
cmp edi, esi
jne 0x40fb4f
lea eax, [ebx + ebx]
push eax
call fcn.00405649
pop ecx
mov edi, eax
cmp edi, esi
je 0x40faf7
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40fb82
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x40fb6c
push esi
push esi
jmp 0x40fb72
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x40fb8e
push edi
call fcn.00406c45
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x40fba5
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.00408a83
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
mov eax, section..wixburn
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x471843b4
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..pdata
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x171b5313
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x412d9f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x412dd4
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x412dd1
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x412ddd
add edx, 0x28
cmp edx, esi
jne 0x412dbf
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x412dda

Function at 0x41321c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41325b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41325b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41325b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41325b
cmp dword [ecx + 0x74], 0xe
jbe 0x41325b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41cd5d
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 0x41cdfa
push ebx
push esi
call fcn.0041cd26
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.0041ccbc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41cda7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41cdf9
push edi
push eax
call fcn.00419b80
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41cdc7
call fcn.004191a0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41cdf8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041ccbc
add esp, 0x20
test eax, eax
jne 0x41cde6
push edi
call fcn.004191a0
jmp 0x41cdee
push ebx
call fcn.004191a0
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 0x4213eb
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x421405
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x42141c
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x421474
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.0041d496
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x421474
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x421474
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x421474
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x42146e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x421470
xor bl, bl
mov al, bl
jmp 0x421476
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x4251d0
Capabilities:
Parse pe header

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

Function at 0xdff274
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdff27e
pushal
call 0xdff284
pop ebp
sub ebp, 0x10
sub ebp, 0x9ff274
jmp 0xdff29a
lahf
add cl, ch
add al, 0
add byte [eax], al
outsd dx, dword [esi]
mov eax, dword [0x74b87264]
lahf
mov eax, 0x9ff274
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ad
je 0xdff28f
lahf
add byte [ebx], al
lds eax, [ecx + 0x4cc0]
add byte [ecx + 0x5ad], bh
mov edx, 0x5e45c7f5
xor byte [eax], dl
inc eax
dec ecx
jne 0xdff2b1
jmp 0xdff2c4
jle 0xdff2fe
jle 0xdff344
leave
cmc
cmc
cmc
je 0xdff302
or eax, 0xf6f5f5f5
cmp byte [ebp - 0xf], cl
cmc
cmc
cmc
dec edi
invalid
cmc
div byte [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
popfd
xor dword [edx*8 - 0xaa7620b], eax
mov dh, ch
hlt
sbb eax, 0xf5f5f5f0
cmc
sbb al, 0xc5
cmc
cmc
cmc
js 0xdff29b
ror dword [ecx], 1
jl 0xdff2e7
sar dword [eax - 0x67], 1
sal ebp, 1
jle 0xdff385
std
cmc
cmc
cmc
jle 0xdff37b
stc
cmc
cmc
cmc
jle 0xdff399
in eax, 0xf5
cmc
cmc
xor al, 0x1c
test esp, 0xf13776f7
mov esp, 0xa0170fa
or cl, byte [edx]
test al, 0x37
stc
cmc
jle 0xdff3b3
sal ecx, 1
cmc
cmc
cmc
popfd
xor dword [edx*8 - 0xaa7620b], eax
popfd
pop eax
cmc
mov dh, ch
hlt
out dx, eax
jbe 0xdff340
daa
jbe 0xdff39a
invalid
cmc
cmc
cmc
cli
jge 0xdff345
cmc
cmc
cmc
xchg ebx, eax
jle 0xdff377
int3
push cs
sbb al, 0xfa
jno 0xdff382
cmc
cmc
cmc
xchg ebx, eax
je 0xdff3b2
or dl, al
cli
jno 0xdff389
cmc
cmc
cmc
mov ah, 0x1c
cmp dword [edx], ecx
or cl, byte [edx]
fdivr qword [ecx + 0x3476f4cc]
mov ecx, 0x3476f4cc
invalid
Function at 0x1000869c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5a0
push ebx
push edi
call fcn.10005989
push 0x10015a68
lea esp, [esp + 4]
nop
nop
push 0x100124c0
xor ebx, ebx
push 1
push ebx
call fcn.100337e0
daa
push ebp
call fcn.1003b59a
cmp eax, 0xb7
je 0x10008805
cmp eax, 5
je 0x10008805
push esi
push 1
push 0x10015378
call fcn.100042a2
pop ecx
pop ecx
call fcn.10005986
mov edi, 0x100168d4
push edi
call fcn.1004075a
inc ecx
mov esi, dword [fcn.1000e094]
test eax, eax
jne 0x1000871a
push 0x35
call fcn.100044ad
cmp eax, 0xffffffff
pop ecx
je 0x100086df
push 0x100152a4
push eax
call fcn.10004351
pop ecx
pop ecx
push ebx
push edi
call fcn.10030e70
cmp edi, dword [ecx]
pop ebp
adc byte [esp + edx + 0x68], dh
rol byte [edi], 1
add byte [eax], al
call dword [0x1000e0b0]
push dword [ebp + 0x10]
call fcn.1002e51e
call fcn.10004482
test eax, eax
jne 0x10008715
push ebx
push ebx
push ebx
push 0x10008578
push ebx
push ebx
call esi
call fcn.10006dd5
push ebx
push ebx
push ebx
push 0x10006ee7
push ebx
push ebx
call esi
mov edi, dword [0x1000e0b0]
push 0x3e8
call edi
lea eax, [ebp - 0x5a0]
push eax
push 0x202
push ebp
call fcn.10033977
push ebx
push ebx
push 0x10012508
push 0x10006b30
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x10008208
push ebx
push ebx
call esi
push 0xbb8
call edi
xor eax, eax
lea edi, [ebp - 0xf]
mov byte [ebp - 0x10], bl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
push eax
call fcn.10005aca
cmp eax, 5
pop ecx
jge 0x10008791
push ebx
push ebx
push ebx
push 0x10007112
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x1000827d
push ebx
push ebx
call esi
mov edi, dword [0x1000e0b0]
push 0xbb8
call edi
push ebx
push ebx
push ebx
push 0x1000490f
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x10006eef
push ebx
push ebx
call esi
nop
nop
nop
nop
nop
nop
call fcn.10004482
test eax, eax
jne 0x100087f7
push 0x927c0
call edi
push ebx
push ebx
push ebx
push 0x10006a7f
push ebx
push ebx
call esi
push 0x1388
call edi
push ebx
push ebx
push ebx
push 0x1000842d
push ebx
push ebx
call esi
push 0xffffffffffffffff
call edi
pop esi
push 0x36ee80
call edi
jmp 0x100087fc
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x40f]
mov byte [ebp - 0x410], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x100167d0
push 0x10015a28
stosb byte es:[edi], al
call section..text
pop ecx
push eax
lea eax, [ebp - 0x410]
push eax
call dword [fcn.1000e248]
add esp, 0xc
lea eax, [ebp - 0x410]
push ebx
push eax
push edx
call fcn.100255a5
cmp dword [ebp + 0x10], ebx
je 0x10008865
push 0x7d0
call dword [0x1000e0b0]
push dword [ebp + 0x10]
call fcn.10041059
test eax, 0xc3c95b5f
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
mov dword [esp + 8], eax
call fcn.1000cca8
xor eax, eax
pop ecx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
pop esi
pop ecx
ret
pop edi
pop ebx
leave
ret