joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10082e60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100cc040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x1008d388
push edi
mov dword [ebp - 0x210], edi
call sub.msvcrt.dll_wcspbrk
add esp, 8
test eax, eax
jne 0x10082ea0
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10079800
mov esp, ebp
pop ebp
ret
push ebx
push esi
xor esi, esi
call sub.msvcrt.dll__errno
mov ebx, dword [eax]
call sub.msvcrt.dll__errno
push 0x104
push edi
mov dword [eax], esi
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll__wfullpath
add esp, 0xc
mov edi, eax
call sub.msvcrt.dll__errno
test edi, edi
je 0x10082edc
mov dword [eax], ebx
mov ebx, dword [ebp - 0x210]
jmp 0x10082f0b
cmp dword [eax], 0x22
jne 0x1008301a
call sub.msvcrt.dll__errno
push 0
mov dword [eax], ebx
mov ebx, dword [ebp - 0x210]
push ebx
push 0
call sub.msvcrt.dll__wfullpath
mov esi, eax
add esp, 0xc
mov edi, esi
test edi, edi
je 0x1008301a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10082f10
sub ecx, edx
sar ecx, 1
cmp ecx, 3
je 0x10082ff2
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10082f30
sub ecx, edx
sar ecx, 1
cmp ecx, 5
jb 0x1008301a
movzx eax, word [edi]
cmp eax, 0x5c
je 0x10082f59
cmp eax, 0x2f
jne 0x1008301a
movzx eax, word [edi + 2]
cmp eax, 0x5c
je 0x10082f6b
cmp eax, 0x2f
jne 0x1008301a
movzx eax, word [edi + 4]
cmp eax, 0x5c
je 0x1008301a
cmp eax, 0x2f
je 0x1008301a
movzx eax, word [edi + 6]
lea edx, [edi + 6]
mov edi, eax
test ax, ax
je 0x10082fb2
mov ecx, eax
cmp cx, 0x5c
je 0x10082faf
cmp cx, 0x2f
je 0x10082faf
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x10082f91
jmp 0x10082fb2
movzx edi, cx
test di, di
je 0x1008301a
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
je 0x1008301a
cmp cx, 0x5c
je 0x10082fe3
cmp cx, 0x2f
je 0x10082fe3
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x10082fc5
jmp 0x10082fe6
movzx edi, cx
test di, di
je 0x10082ff2
cmp word [edx + 2], 0
jne 0x1008301a
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
cmp eax, 1
jbe 0x1008301b
call sub.msvcrt.dll_free
add esp, 4
mov al, 1
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10079800
mov esp, ebp
pop ebp
ret
push esi
call sub.msvcrt.dll_free
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor al, al
pop esi
pop ebx
pop edi
call fcn.10079800
mov esp, ebp
pop ebp
ret
Function at 0x100831e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10083388
push esi
xor esi, esi
push dword [edi + esi*4]
call sub.msvcrt.dll_free
inc esi
add esp, 4
cmp esi, 7
jne 0x100831f2
push ebx
lea esi, [edi + 0x1c]
mov ebx, 7
lea esp, [esp]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083210
lea esi, [edi + 0x38]
mov ebx, 0xc
lea ebx, [ebx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083230
lea esi, [edi + 0x68]
mov ebx, 0xc
lea ebx, [ebx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083250
lea esi, [edi + 0x98]
mov ebx, 2
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083270
push dword [edi + 0xa0]
call sub.msvcrt.dll_free
push dword [edi + 0xa4]
call sub.msvcrt.dll_free
push dword [edi + 0xa8]
call sub.msvcrt.dll_free
mov eax, dword fs:[0x18]
add esp, 0xc
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x10083386
lea esi, [edi + 0xb8]
mov ebx, 7
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x100832d5
lea esi, [edi + 0xd4]
mov ebx, 7
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x100832f2
lea esi, [edi + 0xf0]
mov ebx, 0xc
nop
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083310
lea esi, [edi + 0x120]
mov ebx, 0xc
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083330
lea esi, [edi + 0x150]
mov ebx, 2
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083350
push dword [edi + 0x158]
call sub.msvcrt.dll_free
push dword [edi + 0x15c]
call sub.msvcrt.dll_free
push dword [edi + 0x160]
call sub.msvcrt.dll_free
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x10083390
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10083522
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100833ba
call fcn.10083180
test al, al
jne 0x100833ba
push dword [esi + 0xc]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x100833d5
call fcn.10083180
test al, al
jne 0x100833d5
push dword [esi + 0x10]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100833f0
call fcn.10083180
test al, al
jne 0x100833f0
push dword [esi + 0x14]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1008340b
call fcn.10083180
test al, al
jne 0x1008340b
push dword [esi + 0x18]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10083426
call fcn.10083180
test al, al
jne 0x10083426
push dword [esi + 0x1c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10083441
call fcn.10083180
test al, al
jne 0x10083441
push dword [esi + 0x20]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1008345c
call fcn.10083180
test al, al
jne 0x1008345c
push dword [esi + 0x24]
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x10083522
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1008349b
call fcn.10083180
test al, al
jne 0x1008349b
push dword [esi + 0x38]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x100834b6
call fcn.10083180
test al, al
jne 0x100834b6
push dword [esi + 0x3c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x100834d1
call fcn.10083180
test al, al
jne 0x100834d1
push dword [esi + 0x40]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100834ec
call fcn.10083180
test al, al
jne 0x100834ec
push dword [esi + 0x44]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x10083507
call fcn.10083180
test al, al
jne 0x10083507
push dword [esi + 0x48]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x10083522
call fcn.10083180
test al, al
jne 0x10083522
push dword [esi + 0x4c]
call sub.msvcrt.dll_free
add esp, 4
pop esi
pop ebp
ret
Function at 0x10083530
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xbc]
test ecx, ecx
je 0x100836ad
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x100836ad
cmp dword [eax], 0
jne 0x100836ad
call fcn.10083180
test al, al
jne 0x100836ad
mov ecx, dword [edi + 0xb0]
call fcn.10083180
test al, al
jne 0x100836ad
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x100835af
cmp dword [ecx], 0
jne 0x100835af
call fcn.10083180
test al, al
jne 0x100835af
push dword [edi + 0xb8]
call sub.msvcrt.dll_free
push dword [edi + 0xbc]
call fcn.10083390
add esp, 8
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x10083694
cmp dword [ecx], 0
jne 0x10083694
call fcn.10083180
test al, al
jne 0x10083694
push dword [edi + 0xb4]
call sub.msvcrt.dll_free
mov esi, dword [edi + 0xbc]
add esp, 4
test esi, esi
je 0x10083694
mov ecx, dword [esi]
test ecx, ecx
je 0x10083608
call fcn.10083180
test al, al
jne 0x10083608
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10083623
call fcn.10083180
test al, al
jne 0x10083623
push dword [esi + 4]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1008363e
call fcn.10083180
test al, al
jne 0x1008363e
push dword [esi + 8]
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x10083694
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x10083679
call fcn.10083180
test al, al
jne 0x10083679
push dword [esi + 0x30]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x10083694
call fcn.10083180
test al, al
jne 0x10083694
push dword [esi + 0x34]
call sub.msvcrt.dll_free
add esp, 4
push dword [edi + 0xb0]
call sub.msvcrt.dll_free
push dword [edi + 0xbc]
call sub.msvcrt.dll_free
add esp, 8
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x10083713
cmp dword [ecx], 0
jne 0x10083713
call fcn.10083180
test al, al
jne 0x10083713
mov eax, dword [edi + 0xc4]
sub eax, 0xfe
push eax
call sub.msvcrt.dll_free
mov eax, dword [edi + 0xcc]
add esp, 4
sub eax, 0x80
je 0x100836ef
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [edi + 0xd0]
sub eax, 0x80
je 0x10083705
push eax
call sub.msvcrt.dll_free
add esp, 4
push dword [edi + 0xc0]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x10083748
cmp dword [ecx + 0xb4], 0
jne 0x10083748
call fcn.10083180
test al, al
jne 0x10083748
push dword [edi + 0xd4]
call fcn.100831e0
push dword [edi + 0xd4]
call sub.msvcrt.dll_free
add esp, 8
lea esi, [edi + 0x48]
lea ebx, [edi + 0xa8]
cmp esi, ebx
je 0x1008378c
mov ecx, dword [esi]
test ecx, ecx
je 0x10083760
call fcn.10083180
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10083785
call fcn.10083180
test al, al
jne 0x10083785
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10083785
cmp dword [eax], 0
jne 0x10083785
push eax
call sub.msvcrt.dll_free
add esp, 4
add esi, 0x10
cmp esi, ebx
jne 0x10083755
push edi
call sub.msvcrt.dll_free
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10083850
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x100cc040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1018321c]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x508], ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test eax, eax
jne 0x1008389e
push str._create_locale
call fcn.10085690
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x508]
test eax, eax
jne 0x10083899
or eax, 0xffffffff
mov dword [0x1018321c], eax
lea edi, [eax + 1]
neg edi
sbb edi, edi
and edi, eax
je 0x100839be
test esi, esi
je 0x100838df
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x100838df
xor ecx, ecx
mov al, byte [esi + ecx]
lea edx, [ecx + ecx]
test al, al
je 0x100838fc
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x100838c2
push esi
push dword [ebp - 0x508]
call edi
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10079800
mov esp, ebp
pop ebp
ret
cmp edx, 0x200
jae 0x10083a87
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x100838df
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call ebx
test eax, eax
je 0x100838df
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call ebx
test eax, eax
je 0x100838df
lea ebx, [ebp - 0x504]
xor eax, eax
jmp 0x10083990
movzx ecx, word [ebx + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x100839af
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x10083990
jmp 0x100838df
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x100838df
cmp ecx, 5
ja 0x10083a67
test esi, esi
je 0x10083a67
call fcn.10083bf0
mov edi, eax
test edi, edi
je 0x10083a72
call fcn.1007a1b0
mov ebx, eax
push esi
push dword [ebp - 0x508]
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x50c], eax
or eax, 2
mov dword [ebx + 0x70], eax
call fcn.10083d00
add esp, 8
test eax, eax
je 0x10083a22
mov eax, dword [ebx + 0x6c]
push dword [eax + 4]
call sub.msvcrt.dll__setmbcp
add esp, 4
test eax, eax
jne 0x10083a22
call fcn.10083bf0
mov esi, eax
jmp 0x10083a24
xor esi, esi
mov eax, dword [ebp - 0x50c]
mov ecx, dword [ebx + 0x6c]
mov dword [ebx + 0x70], eax
mov eax, dword [edi]
cmp eax, ecx
je 0x10083a3b
mov dword [edi], ecx
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x68]
cmp eax, ecx
je 0x10083a4b
mov dword [edi + 4], ecx
mov dword [ebx + 0x68], eax
push edi
call fcn.10083a90
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10079800
mov esp, ebp
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
mov ecx, dword [ebp - 4]
xor esi, esi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.10079800
mov esp, ebp
pop ebp
ret
call fcn.10079f8b
int3
Function at 0x10083d00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x100cc040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10083dfb
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x10083dfb
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x10083d5a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x10083d38
jmp 0x10083dfb
cmp edx, 0x200
jae 0x10083e61
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x10083dfb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x10083dfa
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x10083dfa
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x10083e43
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x10083de0
pop edi
mov eax, dword [0x10183224]
test eax, eax
jne 0x10083e21
push str.setlocale
call fcn.10085690
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10083e1c
or eax, 0xffffffff
mov dword [0x10183224], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x10083e4f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10079800
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x10083dfa
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10079800
mov esp, ebp
pop ebp
ret
call fcn.10079f8b
int3
Function at 0x100844e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call sym.steam_api.dll_SteamAPI_ISteamController_GetControllerState
mov esi, dword [ebp + 8]
test al, al
je 0x100844fe
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.10084510
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403680
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4238c8
push eax
mov dword fs:[0], esp
sub esp, 0x448
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_SetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x4036bb
lea eax, [ebp - 0x454]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x4036a8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ebx, dword [ebp - 0x10]
xor esi, esi
call edi
cmp esi, 0x2b259d
jle 0x4036e2
cmp ebx, 0x785074d5
jne 0x4036eb
inc esi
cmp esi, 0x1c1b
jl 0x4036d0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x40371d
inc esi
cmp esi, 0x4f6a4
jl 0x403700
cmp dword [0x845080], 0x400
jne 0x403757
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
lea eax, [ebp - 0x30]
call fcn.004037f0
push 0
mov dword [ebp - 4], 0
call fcn.00403b24
add esp, 4
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00403810
mov ecx, dword [0x42613c]
mov edx, dword [0x426110]
mov dword [0x845080], ecx
mov dword [0x845084], edx
call fcn.004033b0
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
nop
push 0
call edi
cmp esi, 0x2b259d
jle 0x403794
cmp ebx, 0x785074d5
jne 0x40379d
inc esi
cmp esi, 0x11915
jl 0x403780
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
lea esp, [esp]
cmp dword [0x845080], 0x51f
jne 0x4037c2
lea eax, [ebp - 0x54]
push eax
call esi
sub edi, 1
jne 0x4037b0
mov eax, dword [0x843fd4]
mov dword [0x844614], eax
call eax
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404490
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4250c8]
jne 0x40449a
repz ret
jmp fcn.00406bfe
Function at 0x40681f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404511
and dword [ebp - 4], 0
cmp dword [0x426a10], 0
mov ebx, eax
jne 0x4068d0
push 0x4019c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406981
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019bc
push edi
call esi
test eax, eax
je 0x406981
push eax
call fcn.0040449f
mov dword [esp], 0x4019ac
push edi
mov dword [0x426a10], eax
call esi
push eax
call fcn.0040449f
mov dword [esp], 0x401998
push edi
mov dword [0x426a14], eax
call esi
push eax
call fcn.0040449f
mov dword [esp], 0x40197c
push edi
mov dword [0x426a18], eax
call esi
push eax
call fcn.0040449f
pop ecx
mov dword [0x426a20], eax
test eax, eax
je 0x4068d0
push 0x401964
push edi
call esi
push eax
call fcn.0040449f
pop ecx
mov dword [0x426a1c], eax
mov eax, dword [0x426a1c]
cmp eax, ebx
je 0x406928
cmp dword [0x426a20], ebx
je 0x406928
push eax
call fcn.0040451a
push dword [0x426a20]
mov esi, eax
call fcn.0040451a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406928
test edi, edi
je 0x406928
call esi
test eax, eax
je 0x40691f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40691f
test byte [ebp - 0xc], 1
jne 0x406928
or dword [ebp + 0x10], 0x200000
jmp 0x406961
mov eax, dword [0x426a14]
cmp eax, ebx
je 0x406961
push eax
call fcn.0040451a
pop ecx
test eax, eax
je 0x406961
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406961
mov eax, dword [0x426a18]
cmp eax, ebx
je 0x406961
push eax
call fcn.0040451a
pop ecx
test eax, eax
je 0x406961
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x426a10]
call fcn.0040451a
pop ecx
test eax, eax
je 0x406981
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406983
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431fd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40165b
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
pushal
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
push 0x403238
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 8]
push eax
push 0x403238
call sub.advapi32.dll_GetUserNameA
mov edi, dword [ebp + 8]
mov dword [0x403438], 0xf
lea esi, [edi + 0x24]
push esi
call sub.kernel32.dll_lstrlenA
mov dword [0x40343c], ecx
mov dword [0x40344c], esi
mov dword [0x403440], 0
mov dword [0x403450], eax
mov dword [0x40343c], 0x78
push 0x403438
push 0
push 0x1007
push dword [0x403110]
call sub.user32.dll_SendMessageA
mov dword [0x40343c], eax
mov dword [0x403438], 0xb
mov ebx, 0
mov dword [0x403450], eax
lea esi, [0x403138]
push dword [edi + 8]
push 0x40215d
push esi
call fcn.00401b28
add esp, 0xc
push esi
call sub.kernel32.dll_lstrlenA
mov dword [0x403440], 1
mov dword [0x40344c], esi
lea esi, [eax + esi + 1]
mov dword [0x403450], eax
push 0x403438
push 0
push 0x1006
push dword [0x403110]
call sub.user32.dll_SendMessageA
inc ebx
mov dword [ebp - 0xc], 0x100
mov edx, dword [0x403468]
add edx, dword [0x40346c]
push 0x403470
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x403338
push dword [edx + 0xc]
push 0
call sub.advapi32.dll_LookupAccountSidA
add dword [0x40346c], 0x10
mov dword [0x403440], 2
mov dword [0x40344c], 0x403338
push 0x403438
push 0
push 0x1006
push dword [0x403110]
call sub.user32.dll_SendMessageA
popal
leave
ret 4

Function at 0x4017a6
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
jmp 0x4017bf
call sub.kernel32.dll_GetCurrentProcess
mov ecx, eax
lea eax, [ebp - 4]
push eax
push 0xf01ff
push ecx
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0x10]
push eax
push 0x4017ae
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 4]
call sub.advapi32.dll_AdjustTokenPrivileges
leave
ret

Function at 0x401809
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [0x403478], eax
mov dword [0x40347c], 0x128
push 0x40347c
push dword [0x403478]
call sub.kernel32.dll_Process32First
jmp 0x401853
push 0x40347c
call fcn.0040165b
push 0x40347c
push dword [0x403478]
call sub.kernel32.dll_Process32Next
or eax, eax
jne 0x401839
mov dword [ebp - 4], 0
push dword [0x403478]
call sub.kernel32.dll_CloseHandle
leave
ret