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

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x10041060]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
test edi, edi
je 0x10009fa9
test ebx, ebx
je 0x10009fa9
mov esi, str.deviceMup_
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
jne 0x10009f2e
push ebx
push 0x100395d0
push esi
mov eax, edi
call fcn.1000aaad
xor eax, eax
inc eax
jmp 0x10009fab
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x80], eax
xor ebx, ebx
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp - 0x80]
test ecx, eax
je 0x10009fa3
push 0x3a
lea eax, [ebx + 0x61]
mov word [ebp + 0x194], ax
pop eax
mov word [ebp + 0x196], ax
xor eax, eax
push 0x206
lea edi, [ebp + 0x198]
push eax
stosd dword es:[edi], eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.1001f190
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x10009fa3
push dword [ebp - 0x78]
lea esi, [ebp - 0x74]
call fcn.1000aba9
test eax, eax
jne 0x10009fc3
inc ebx
cmp ebx, 0x1a
jl 0x10009f39
xor eax, eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001cefd
add ebp, 0x1a0
leave
ret
push dword [ebp - 0x7c]
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
jmp 0x10009f24

Function at 0x1000a0fc
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10041060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1000a720
push esi
test eax, eax
je 0x1000a189
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.1001f190
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x1000a180
cmp esi, 0xffffffff
je 0x1000a180
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1000a17c
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1000a720
test eax, eax
je 0x1000a180
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1000a162
lea ecx, [esp + 4]
call fcn.10004dc0
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.1001cefd
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a19e
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x10041060]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x10032422
call fcn.1001dc71
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x1000a233
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x1000a22b
cmp esi, 0xffffffff
je 0x1000a22b
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.1001f190
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1000a227
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x1000a22b
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000a210
lea ecx, [ebp - 0x10]
call fcn.10004dc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.1001cefd
add ebp, 0x230
leave
ret 4

Function at 0x1000a258
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x1000a26b
xor eax, eax
jmp 0x1000a2c4
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.1001f190
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
call fcn.10009740
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000a2bc
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1000976d
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x1000a3a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x1000a3be
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.1000a2ca
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x1000a4ba
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.1000a19e
cmp dword [ebp - 0x14], esi
je 0x1000a3b5
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x1000a3fa
cmp eax, 0xffffffff
jne 0x1000a406
lea ecx, [ebp - 0x10]
call fcn.10004dc0
mov eax, esi
jmp 0x1000a3b7
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000a3fa
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000a4b0
mov edi, dword [ebp + 8]
call fcn.10009740
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.1001f190
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x44], ax
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x48], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1000a49f
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.1000976d
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x1000a3fa

Function at 0x1000a67f
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10041060]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x1000a6a6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001cefd
leave
ret 4
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x1000a6c8
cmp esi, 0xffffffff
jne 0x1000a6da
xor esi, esi
lea ecx, [ebp - 0x210]
call fcn.10004dc0
mov eax, esi
pop esi
jmp 0x1000a698
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1001f190
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x1000a6c8
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.10009ed2
xor esi, esi
inc esi
jmp 0x1000a6ca
Function at 0x1000adfb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100335fd
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10028990
mov eax, dword [0x10041060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov dword [ebp - 0x202c], edi
call fcn.1000b0df
xor ebx, ebx
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.10009519
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x1000af13
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.1001f190
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x1000aefd
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
lea ecx, [ebp - 0x2048]
call fcn.10003240
lea eax, [ebp - 0x2048]
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.1000b12a
lea esi, [ebp - 0x2048]
mov byte [ebp - 4], 1
call fcn.100032b0
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x1000aea9
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x1000af31
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001cefd
leave
ret
Function at 0x1000d807
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x10041060]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x10033232
call fcn.1001dc71
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.1001f190
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x1000d873
push str.projonepodlp
jmp 0x1000d881
cmp dword [ebp + 0x234], 2
jne 0x1000d89f
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x1000d89a
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
jmp 0x1000d8ef
cmp dword [ebp + 0x234], ebx
jne 0x1000d8ea
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.1000d807
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1000d8c5
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x1000d8e6
push 2
push edi
call fcn.1000d807
add esp, 0xc
lea esi, [ebp]
call fcn.100032b0
jmp 0x1000d8f6
push 1
jmp 0x1000d8d3
mov eax, 0x100388dc
mov ecx, edi
call fcn.10003240
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.1001cefd
add ebp, 0x228
leave
ret
Function at 0x1001c2da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x1001c2f4
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x1001c2f0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001c40f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10041060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.1001c5d5
mov bl, al
mov al, dl
call fcn.1001c5d5
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.1001c5d5
mov bl, al
mov al, byte [esi - 4]
call fcn.1001c5d5
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.1001c5d5
mov bl, al
mov al, byte [esi]
call fcn.1001c5d5
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.1001c5d5
mov bl, al
mov al, byte [esi - 0xc]
call fcn.1001c5d5
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x1001c437
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001cefd
leave
ret 4
Function at 0x1001c4c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10041060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.1001c651
push ebx
mov dl, al
call fcn.1001c62a
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.1001c5e5
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.1001c603
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.1001c5e5
push ebx
mov byte [ebp - 0x15], al
call fcn.1001c603
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.1001c62a
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.1001c651
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.1001c62a
mov bl, al
mov al, byte [edi + 4]
call fcn.1001c651
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.1001c603
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1001c5e5
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.1001c603
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.1001c5e5
xor bl, al
mov al, dl
call fcn.1001c651
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1001c62a
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x1001c4f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001cefd
leave
ret 4
Function at 0x1001ccad
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x10032703
call fcn.1001dcda
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x30], ebx
xor esi, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1001ccce
sub eax, ecx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.100038c0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], ebx
jbe 0x1001cdd2
xor ebx, ebx
inc ebx
jmp 0x1001ccfe
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x10039e50]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x1001cd12
cmp al, 0xff
je 0x1001ccfe
cmp al, 0xff
je 0x1001cdd2
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x10039e50]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x1001cd32
cmp cl, 0xff
je 0x1001cd1a
cmp cl, 0xff
je 0x1001cdd2
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.1000b469
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1001cdd2
movsx eax, al
mov al, byte [eax + 0x10039e50]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x1001cd72
cmp al, 0xff
je 0x1001cd52
cmp al, 0xff
je 0x1001cdd2
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.1000b469
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1001cdd2
movsx eax, al
mov cl, byte [eax + 0x10039e50]
cmp esi, dword [ebp - 0x30]
jae 0x1001cdb0
cmp cl, 0xff
je 0x1001cd92
cmp cl, 0xff
je 0x1001cdd2
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.1000b469
cmp esi, dword [ebp - 0x30]
jb 0x1001ccfb
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.100031b0
lea ecx, [ebp - 0x2c]
call fcn.100031e0
mov eax, dword [ebp - 0x38]
call fcn.1001dd5d
ret

Function at 0x1001cefd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10041060]
jne 0x1001cf07
repz ret
jmp fcn.1001dd7b
Function at 0x10024399
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.1001e511
and dword [ebp - 4], 0
cmp dword [0x10044294], 0
mov ebx, eax
jne 0x1002444a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100244fb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100244fb
push eax
call fcn.1001e49f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10044294], eax
call esi
push eax
call fcn.1001e49f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10044298], eax
call esi
push eax
call fcn.1001e49f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1004429c], eax
call esi
push eax
call fcn.1001e49f
pop ecx
mov dword [0x100442a4], eax
test eax, eax
je 0x1002444a
push 0x10036bfc
push edi
call esi
push eax
call fcn.1001e49f
pop ecx
mov dword [0x100442a0], eax
mov eax, dword [0x100442a0]
cmp eax, ebx
je 0x100244a2
cmp dword [0x100442a4], ebx
je 0x100244a2
push eax
call fcn.1001e51a
push dword [0x100442a4]
mov esi, eax
call fcn.1001e51a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100244a2
test edi, edi
je 0x100244a2
call esi
test eax, eax
je 0x10024499
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10024499
test byte [ebp - 0xc], 1
jne 0x100244a2
or dword [ebp + 0x10], 0x200000
jmp 0x100244db
mov eax, dword [0x10044298]
cmp eax, ebx
je 0x100244db
push eax
call fcn.1001e51a
pop ecx
test eax, eax
je 0x100244db
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100244db
mov eax, dword [0x1004429c]
cmp eax, ebx
je 0x100244db
push eax
call fcn.1001e51a
pop ecx
test eax, eax
je 0x100244db
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10044294]
call fcn.1001e51a
pop ecx
test eax, eax
je 0x100244fb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100244fd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402654
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x402682
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x402679
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x402671
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4026a3
mov esp, ebp
pop ebp
ret

Function at 0x4026a7
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x402713
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x402740
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40272f
xor ecx, eax
xor edx, ebx
dec edi
jne 0x402720
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x402766
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x402707
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402792
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407b5d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x407b6d
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x407bc2
push dword [ebp + 8]
call fcn.00407d6e
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x407bc2
xor eax, eax
jmp 0x407bc7
mov eax, 1
test eax, eax
je 0x407bd9
mov eax, 0
jmp 0x407d68
push 0x3c
push dword [ebp + 8]
call fcn.00407db0
push eax
call fcn.00407d8a
push eax
push dword [ebp + 8]
call fcn.00407db0
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.00407d8a
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x407c34
push 0x7c
push dword [ebp - 4]
call fcn.00407db0
push eax
call fcn.00407d8a
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x407c34
xor eax, eax
jmp 0x407c39
mov eax, 1
test eax, eax
je 0x407c4b
mov eax, 0
jmp 0x407d68
push 0x78
push dword [ebp - 4]
call fcn.00407db0
push eax
call fcn.00407d8a
push eax
push dword [ebp + 8]
call fcn.00407db0
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.00407db0
push eax
call fcn.00407d8a
push eax
push dword [ebp + 8]
call fcn.00407db0
push eax
call fcn.00407d8a
push eax
push dword [ebp + 8]
call fcn.00407db0
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.00407db0
push eax
call fcn.00407d8a
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.00407dd7
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x407d5b
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.00407db0
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00407dfe
test eax, eax
je 0x407d3e
push 0x1c
push dword [ebp - 8]
call fcn.00407db0
push eax
call fcn.00407d8a
push eax
push dword [ebp + 8]
call fcn.00407db0
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.00407e32
push eax
push dword [ebp - 0x24]
call fcn.00407db0
push eax
call fcn.00407d8a
push eax
push dword [ebp + 8]
call fcn.00407db0
jmp 0x407d68
push dword [ebp - 0x14]
call fcn.00407e5a
push eax
push dword [ebp - 0x18]
call fcn.00407db0
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x407cc7
add esp, 0xc
mov eax, 0
jmp 0x407d68
mov esp, ebp
pop ebp
ret 8

Function at 0x409eae
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x4102bc
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x4102de
mov eax, 0xfffffffd
jmp 0x410356
mov ebx, dword [0x812b04]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x410324
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x812b04]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x41034c
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x410356
mov esp, ebp
pop ebp
ret 4