joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417f2e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x417f3d
pop dword [ebp - 0x50]
mov eax, 0x417f3d
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3d7dc
push 0
mov eax, 0x5efaa3ed
sub eax, 0x5eb813c1
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x51f608ce
add ecx, 0xae0a50f7
mov edx, eax
mov ebx, 0x436e00
add ebx, dword [ebp - 0x50]
mov esi, 0x614fd36
sub dword [ebp - 0x44], eax
mov edi, dword [ebx]
xor dword [ebp - 0x1c], ecx
xor edi, esi
xor dword [ebp - 0x30], eax
mov dword [edx], edi
xor dword [ebp - 0x40], ecx
add edx, 0x9390198
sub edx, 0x9390194
add ebx, 0x554c7418
add ebx, 0xaab38bec
loop 0x417f8b
add eax, 0x523d9887
add eax, 0xadc3c160
mov ebx, eax
add eax, 5
mov ecx, 0xf381380e
sub ecx, 0xf341380e
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x41e7e0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x2d4
push esi
call dword [sym.imp.kernel32.dll_GetVersion]
cmp ax, 6
je 0x41e81d
push str.SetDefaultDllDirectories
push 0x429a14
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x41e81d
push 0xc00
call eax
test eax, eax
jne 0x41e8b6
lea eax, [esp + 8]
push 0x106
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41e8b6
cmp eax, 0x104
ja 0x41e8b6
cmp word [esp + eax*2 + 6], 0x5c
je 0x41e84c
mov word [esp + eax*2 + 8], 0x5c
inc eax
mov esi, dword [str.userenv]
cmp byte [esi], 0
je 0x41e8b6
push ebp
lea ecx, [esp + eax*2 + 0xc]
push edi
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esp + 0xc], ecx
mov ebp, 0x6c
mov cl, byte [esi]
mov eax, dword [esp + 0xc]
inc esi
test cl, cl
je 0x41e88b
xor dx, dx
add eax, 2
mov dl, cl
inc esi
mov word [eax - 2], dx
mov cl, byte [esi - 1]
test cl, cl
jne 0x41e877
mov word [eax], 0x2e
mov word [eax + 2], 0x64
mov word [eax + 4], bp
mov word [eax + 6], bp
mov word [eax + 8], 0
push 8
lea eax, [esp + 0x14]
push 0
push eax
call edi
cmp byte [esi], 0
jne 0x41e86c
pop edi
pop ebp
pop esi
add esp, 0x2d4
ret
Function at 0x425a8c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bb98
push 0x425a86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x43466c], 0xffffffff
or dword [0x434670], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x432650]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x43264c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x434668], eax
call fcn.00425bcf
cmp dword [0x430240], 0
jne 0x425b0f
push 0x425bcc
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00425bba
push 0x430064
push 0x430060
call sub.msvcrt.dll__initterm
mov eax, dword [0x432648]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x432644]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
push 0x43005c
push section..data
call sub.msvcrt.dll__initterm
call dword [sym.imp.msvcrt.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00411c13
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000247a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d6c0]
jne 0x10002484
repz ret
jmp fcn.1000290c

Function at 0x1000574b
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.100024fb
and dword [ebp - 4], 0
cmp dword [0x1000ef30], 0
mov ebx, eax
jne 0x100057fc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100058ad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100058ad
push eax
call fcn.10002489
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000ef30], eax
call esi
push eax
call fcn.10002489
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000ef34], eax
call esi
push eax
call fcn.10002489
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000ef38], eax
call esi
push eax
call fcn.10002489
pop ecx
mov dword [0x1000ef40], eax
test eax, eax
je 0x100057fc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10002489
pop ecx
mov dword [0x1000ef3c], eax
mov eax, dword [0x1000ef3c]
cmp eax, ebx
je 0x10005854
cmp dword [0x1000ef40], ebx
je 0x10005854
push eax
call fcn.10002504
push dword [0x1000ef40]
mov esi, eax
call fcn.10002504
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10005854
test edi, edi
je 0x10005854
call esi
test eax, eax
je 0x1000584b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000584b
test byte [ebp - 0xc], 1
jne 0x10005854
or dword [ebp + 0x10], 0x200000
jmp 0x1000588d
mov eax, dword [0x1000ef34]
cmp eax, ebx
je 0x1000588d
push eax
call fcn.10002504
pop ecx
test eax, eax
je 0x1000588d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000588d
mov eax, dword [0x1000ef38]
cmp eax, ebx
je 0x1000588d
push eax
call fcn.10002504
pop ecx
test eax, eax
je 0x1000588d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000ef30]
call fcn.10002504
pop ecx
test eax, eax
je 0x100058ad
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100058af
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006f35
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x1000d528]
add edx, 0xffffd94f
mov dword [0x1000d524], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
jmp 0x10006fb0
mov eax, dword [ebp - 0x20]
add eax, 0xffffe7d7
mov dword [0x1000d524], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1000706d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1000702e
jmp 0x1000706d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, ecx
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edi
je 0x10006ff4
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, dword [ebp - 0x2c]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x30], eax
jl 0x10006fb0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [0x1000d524], ecx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
jne 0x1000706d
mov dword [0x1000d528], 0x7a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10006f78
jmp 0x1000706d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000706d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1000706d
mov eax, 1
mov dword [0x1000d524], 0xb63
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x34], eax
je 0x10007074
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x10007074
mov eax, dword [ebp - 0x34]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x10007093
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10007997
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x1000d524]
add edi, 0x20f3
mov dword [0x1000d524], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1000d528], 0x1487
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10007141
jmp 0x10007155
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov edx, dword [ebp - 0x2c]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], ecx
jb 0x10007167
jmp 0x10007141
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x1000714c
jmp 0x10007183
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x42]
test al, 1
jne 0x100071b2
jmp 0x100070f0
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x10007116
mov al, byte [ebp - 0x41]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x40]
add edx, 1
mov ah, byte [ebp - 0x42]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x38], edx
jne 0x10007116
jmp 0x1000714c
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1000d524], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x10007141
Function at 0x10007605
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1000d530], 0
mov byte [0x1000d534], 0
mov edi, dword [0x1000d524]
add edi, 0xe84
mov dword [0x1000d528], edi
mov dword [0x1000d52c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10007665
xor eax, eax
mov dword [0x1000d52c], 0
mov dword [ebp - 0x20], eax
jmp 0x10007697
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x1000d528], 0x8b8
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1000d52c]
add eax, 1
mov dword [0x1000d52c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007665
jmp 0x10007654
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1000d538], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x1000d530]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1000d538], esi
mov dword [0x1000d524], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x1000d530], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1000d534], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1000d534]
mov esi, dword [0x1000d530]
mov byte [ebx + esi], cl
mov esi, dword [0x1000d52c]
add esi, 1
mov dword [0x1000d52c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10007697
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000774d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x10008215]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1000d524], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10007330
mov dword [0x1000d524], 0x1b9e
call fcn.100071dc
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000685f
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x100077ca
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov dword [0x1000d524], 0x505
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1000d524], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.100069be
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1000d524], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x5c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x4c], ecx
mov dword [0x1000d528], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x100077c0
mov eax, dword [ebp - 0x44]
add eax, 0x2755
mov ecx, dword [0x1000d524]
add ecx, 0x2182
mov dword [0x1000d524], ecx
mov dword [ebp - 0x40], eax
jmp 0x100077c0
Function at 0x10007b53
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1000d52c], 0
mov dword [0x1000d530], 0
mov dword [0x1000d53c], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10007ca6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, eax
add edi, 1
mov dword [0x1000d524], 0x581
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x1000d52c], edx
mov dword [0x1000d528], 0x20ec
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1000d530], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x1000d534], cl
mov dword [0x1000d528], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1000d534]
mov edx, dword [0x1000d530]
mov byte [ebx + edx], cl
mov edx, dword [0x1000d52c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1000d530]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1000d53c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov byte [0x1000d540], cl
mov dword [0x1000d524], 0x13d7
mov dword [0x1000d528], 0x1ac9
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x34], edi
je 0x10007ca6
mov eax, dword [0x1000d52c]
mov ecx, dword [0x1000d530]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10007bac
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007cae
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x1000d524], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10006bf9
lea ecx, [0x10006ebe]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x50], edx
mov dword [esp + 0x78], 0x131a00
mov edx, dword [0x1000d510]
mov dword [esp + 0x54], edx
mov edx, dword [0x1000d514]
mov dword [esp + 0x20], edx
mov edx, dword [0x1000d518]
mov dword [esp + 0x68], edx
mov edx, dword [0x1000d51c]
mov dword [esp + 0x30], edx
mov edx, dword [0x1000d520]
mov dword [esp + 0x2c], edx
mov dword [0x1000d528], 0x1d3f
mov dword [0x1000d524], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10007d94
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x10007da3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [0x1000d524], 0x4417
mov dword [0x1000d528], 0x94b
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x24], edx
call fcn.10006f35
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x10007db7
jmp 0x10007de4
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x10007d44
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10007d94
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000774d
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x100e08a8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100e08b9
pop esi
ret
push ebx
push edi
push esi
call fcn.1005cbf0
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1005cbf0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100e08e1
push ebx
push esi
push edi
call fcn.100ca6c0
add esp, 0xc
push 0
call fcn.1005cbf0
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x10003280
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100467cb
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x1005c070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x268]
call fcn.100047b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], 0
push 0x228
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.1002bb10
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10003417
mov byte [ebp - 0x23d], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x244]
push ecx
mov ecx, dword [ebp - 0x24c]
call fcn.10004480
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [ebp - 0x24c]
call fcn.10004420
jmp 0x1000335e
lea ecx, [ebp - 0x244]
call fcn.100043e0
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x244]
call fcn.10004210
movzx ecx, al
test ecx, ecx
je 0x100033de
lea ecx, [ebp - 0x244]
call fcn.10002500
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
call fcn.10004900
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.1002de85
add esp, 8
test eax, eax
jne 0x100033d9
mov dword [ebp - 0x250], 0xffffffff
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov edx, dword [ebp - 0x250]
cmp edx, dword [ebp + 0xc]
jne 0x100033d9
mov byte [ebp - 0x23d], 1
jmp 0x100033de
jmp 0x10003353
movzx eax, byte [ebp - 0x23d]
test eax, eax
je 0x100033fb
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x268]
call fcn.10004560
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1000331d
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x268]
push edx
mov ecx, dword [ebp + 8]
call fcn.10004740
mov eax, dword [ebp - 0x254]
or eax, 1
mov dword [ebp - 0x254], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.10004700
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100288d1
mov esp, ebp
pop ebp
ret
Function at 0x100036d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046823
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1005c070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x100038a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xffff
movzx edx, ax
and edx, 0xff
movzx eax, dl
cmp eax, 6
ja 0x10003743
mov dword [ebp - 0x38], 1
jmp 0x1000374a
mov dword [ebp - 0x38], 0
mov cl, byte [ebp - 0x38]
mov byte [ebp - 0x2d], cl
movzx edx, byte [ebp - 0x2d]
test edx, edx
jne 0x1000379c
push 0x10007490
mov eax, dword [ebp - 0x3c]
push eax
push 0x10055540
mov ecx, dword [ebp + 8]
push ecx
push str.Failed_to_WTSQueryUserToken__Session_id_:
mov ecx, 0x1005dfb8
call fcn.100074c0
mov ecx, eax
call fcn.10007520
mov ecx, eax
call fcn.100074c0
mov ecx, eax
call fcn.10007520
mov ecx, eax
call fcn.10003100
xor eax, eax
jmp 0x100038ab
push 0x10007490
mov edx, dword [ebp - 0x3c]
push edx
push 0x1005557c
mov eax, dword [ebp + 8]
push eax
push str.Failed_to_WTSQueryUserToken__XP___Session_id_:
mov ecx, 0x1005dfb8
call fcn.100074c0
mov ecx, eax
call fcn.10007520
mov ecx, eax
call fcn.100074c0
mov ecx, eax
call fcn.10007520
mov ecx, eax
call fcn.10003100
push str.winlogon.exe
lea ecx, [ebp - 0x2c]
call fcn.10004990
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2f]
call fcn.100043d0
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x68]
call fcn.100024d0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x54]
call fcn.10004520
mov byte [ebp - 4], 1
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.10003280
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10003470
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x1000385e
mov dword [ebp - 0x40], 1
jmp 0x10003865
mov dword [ebp - 0x40], 0
mov dl, byte [ebp - 0x40]
mov byte [ebp - 0x2e], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.10004700
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.100044e0
mov dword [ebp - 4], 0xffffffff
push fcn.10004940
push 1
push 0x18
lea eax, [ebp - 0x2c]
push eax
call fcn.10028b52
movzx ecx, byte [ebp - 0x2e]
test ecx, ecx
je 0x100038a8
xor eax, eax
jmp 0x100038ab
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100288d1
mov esp, ebp
pop ebp
ret