joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b140a
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x100df024]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x100b1455
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.100b1679
test al, al
jne 0x100b144f
sub edx, 2
cmp edx, edi
jne 0x100b1435
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x100b1477
lea eax, [edi + 2]
cmp edx, eax
je 0x100b1477
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.100b10d1
add esp, 0x10
jmp 0x100b1571
push esi
lea ecx, [ebp - 0x255]
call fcn.100b1679
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100b14ba
push dword [ebp - 0x25c]
jmp 0x100b1467
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x100b14f7
cmp word [ebp - 0x226], 0
je 0x100b1518
cmp word [ebp - 0x226], ax
jne 0x100b14f7
cmp word [ebp - 0x224], 0
je 0x100b1518
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.100b10d1
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x100b1564
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x100b14d1
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x100b154c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x100b1571
push 0x100b0bf0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.100bc020
add esp, 0x10
jmp 0x100b1541
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10077040
leave
ret
Function at 0x100b2559
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 0x100b25f6
push ebx
push esi
call fcn.100b2522
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.100acbd9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100b25a3
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100b25f5
push edi
push eax
call fcn.100a8623
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100b25c3
call fcn.100a63ef
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100b25f4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100acbd9
add esp, 0x20
test eax, eax
jne 0x100b25e2
push edi
call fcn.100a63ef
jmp 0x100b25ea
push ebx
call fcn.100a63ef
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 0x100b25f9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100b260a
pop esi
ret
push ebx
push edi
push esi
call fcn.100b2522
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100a8623
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100b2632
push ebx
push esi
push edi
call fcn.10078f50
add esp, 0xc
push 0
call fcn.100a63ef
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100b2e4f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b28a7

Function at 0x100b55cf
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100a4270
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100b563e
cmp esi, dword [ebp - 4]
je 0x100b5639
cmp dword [ebp + 0xc], 0
je 0x100b5639
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100b5616
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100b510a
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100b5640
xor eax, eax
inc eax
jmp 0x100b5640
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100b56a5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100df024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100a4270
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100a4270
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100b571c
cmp word [ecx], dx
je 0x100b571c
mov eax, dword [0x100cbc9c]
push edi
dec eax
push eax
push 0x100cbb88
call fcn.100b5644
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100b578f
cmp word [eax], dx
je 0x100b578f
mov eax, dword [edi]
test eax, eax
je 0x100b5740
cmp word [eax], dx
je 0x100b5740
lea eax, [ebp - 0x10]
push eax
call fcn.100b5010
jmp 0x100b5749
lea eax, [ebp - 0x10]
push eax
call fcn.100b50ab
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100b57b9
mov eax, dword [0x100cbb84]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100cb878
call fcn.100b5644
add esp, 0xc
test al, al
je 0x100b57b9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100b5784
cmp word [eax], di
je 0x100b5784
lea eax, [ebp - 0x10]
push eax
call fcn.100b5010
pop ecx
jmp 0x100b57bb
lea eax, [ebp - 0x10]
push eax
call fcn.100b50ab
jmp 0x100b5781
mov eax, dword [edi]
test eax, eax
je 0x100b57a6
cmp word [eax], dx
je 0x100b57a6
lea eax, [ebp - 0x10]
push eax
call fcn.100b4fa7
pop ecx
jmp 0x100b57b9
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100b5884
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100b54c9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100b5884
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100b5884
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100b5884
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100b5811
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100a6f66
test ebx, ebx
je 0x100b587f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100a6f66
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100b5884
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100b5884
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100bd166
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100b5886
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10077040
leave
ret
Function at 0x100bdf24
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100bdd76
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100be093
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100be093
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100be048
jg 0x100bdf80
test eax, eax
je 0x100be03e
push 1
push 0x1000
call fcn.100a638c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100bdfa3
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100be035
push 0x8000
push ebx
call fcn.100bdbeb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100bdfcc
jg 0x100bdfc7
cmp ecx, 0x1000
jb 0x100bdfcc
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100a7f73
add esp, 0x10
cmp eax, 0xffffffff
je 0x100be011
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100bdfc7
jl 0x100bdff8
test ecx, ecx
jne 0x100bdfb9
push dword [ebp - 0xc]
push ebx
call fcn.100bdbeb
push esi
call fcn.100a63ef
add esp, 0xc
xor ebx, ebx
jmp 0x100be0a1
cmp byte [edi + 0x24], 0
je 0x100be028
cmp dword [edi + 0x20], 5
jne 0x100be028
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100be033
mov ebx, dword [edi + 0x18]
jmp 0x100be035
xor ebx, ebx
push esi
call fcn.100a63ef
pop ecx
jmp 0x100be0a1
test ecx, ecx
jg 0x100be00a
jl 0x100be048
test eax, eax
jae 0x100be00a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100ac318
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100be068
cmp byte [edi + 0x1c], 0
je 0x100be00a
jmp 0x100be099
push ebx
call fcn.100b33e5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100be00a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100be0a1
cmp byte [edi + 0x1c], 0
je 0x100be09e
mov ebx, dword [edi + 0x18]
jmp 0x100be0a1
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100ac318
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100be7fb
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100be70f

Function at 0x100bfd80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100bfdad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100bfdad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x48f604
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add dword [eax], eax
pop edx
push ecx
add ecx, 0xc8b8
or ecx, 0x10a7f
sub ecx, 0x15ff
sub ecx, 0xf73f
pop ecx
mov edx, dword [ebp - 0x4dc]
mov eax, dword [edx]
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
cmp ecx, dword [ebp - 0xc3c]
je 0x48f5a1
mov edx, dword [ebp - 0x4dc]
cmp dword [edx + 0x30], 0
jne 0x48f36c
test ebx, ecx
std
invalid
invalid
mov dword [ebp - 0x2e0], 0
push esi
push edi
add esp, 4
add esi, 0x173a8
add dword [eax], eax
pop esi
push edx
add edx, 0x8d1c
pop edx
push eax
add eax, 0x12847
jmp 0x48f5ce
sub eax, 0x8bb9
pop eax
push edx
sub edx, 0x732c
pop edx
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x2fc], ecx
push ebx
push edx
add esp, 4
and ebx, 0xaece
call 0x48f604
add byte [edi], dh
dec edx
cmp al, 0x4b
cmp dword [esi], edi
dec eax
add esp, 4
pop ebx
push ebx
push esi
add esp, 4
sub ebx, 0x1612
pop ebx
push edi
jmp 0x48f61d
pop edi
invalid
invalid

Function at 0x4e9cb4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00406acc
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x4e9d06
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x4e9cff
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00407728
jmp 0x4e9d06
mov eax, esi
call fcn.00406acc
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x5022a8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x502453
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x502434
mov dl, 1
mov eax, dword [0x4363ac]
call fcn.004438ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406acc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x502423
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00492c94
test al, al
je 0x502416
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x502464
lea eax, [ebp - 0x394]
call fcn.0041e268
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x502416
xor eax, eax
push ebp
push 0x50240f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5024d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5023f8
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407728
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x5023f8
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407728
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502416
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x502319
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00443828
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50245a
lea eax, [ebp - 0x3a0]
call fcn.00406acc
ret

Function at 0x502fbc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x56133c]
cmp byte [eax + 0xb1], 0
jne 0x50302e
cmp dword [0x56135c], 0
jne 0x502fee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x55acc4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x56135c], eax
cmp dword [0x561358], 0
jne 0x503009
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x561358], eax
cmp dword [0x561360], 0
jne 0x50302e
push esp
push 0
push 0
mov eax, dword [0x55acc0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x561360], eax
pop edx
ret
Function at 0x403b07
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x403c93
Capabilities:
Create directory

Disassembly:
mov eax, 0x429a38
call fcn.00428650
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x403cb6
mov al, 1
jmp 0x403cfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403cc7
xor al, al
jmp 0x403cfc
lea ecx, [ebp - 0x44]
call fcn.00403ed5
lea ecx, [ebp - 0x1c]
call fcn.00402679
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040418c
test al, al
je 0x403cf1
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00402153
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40417d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40418b
or eax, eax
ret

Function at 0x4084d0
Capabilities:
Check for vm using instruction vpcext

Disassembly:
lds esi, [ebx + 0x5c]
sti
sahf
aaa
push edi
sub byte gs:[edi + 0x6e], 0x37
cmp eax, 0x994817a9
dec esp
cmp byte [eax], bl
fmul dword [edi + edx*2 + 0x54]
sti
jle 0x408516
mov bl, 0x93
add ch, byte [ebp + 0x1c4e400d]
test edx, 0x7f80e57b
test dword [eax - 0x29], esp
int1
test byte [ecx + 0x115665e4], bh
mov ecx, 0x81ed588
xchg ecx, eax
insb byte es:[edi], dx
fsub qword [edi + ebp*8 - 0x4073809e]
cli
xlatb
int1
invalid
invalid
invalid
invalid
Function at 0x40f258
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x42a79d
call fcn.00428650
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
test eax, eax
mov dword [ebx], eax
je 0x40f27c
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esi + 4]
and dword [ebp - 4], 0
test eax, eax
mov dword [ebx + 4], eax
je 0x40f290
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esi + 8]
mov byte [ebp - 4], 1
test eax, eax
mov dword [ebx + 8], eax
je 0x40f2a4
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esi + 0xc]
mov byte [ebp - 4], 2
test eax, eax
mov dword [ebx + 0xc], eax
je 0x40f2b8
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov al, byte [esi + 0x10]
lea ecx, [ebx + 0x18]
mov byte [ebx + 0x10], al
mov al, byte [esi + 0x11]
mov byte [ebx + 0x11], al
mov al, byte [esi + 0x12]
mov byte [ebx + 0x12], al
mov al, byte [esi + 0x13]
mov byte [ebx + 0x13], al
mov al, byte [esi + 0x14]
mov byte [ebx + 0x14], al
mov al, byte [esi + 0x15]
mov byte [ebx + 0x15], al
mov al, byte [esi + 0x16]
mov byte [ebx + 0x16], al
mov al, byte [esi + 0x17]
mov byte [ebx + 0x17], al
lea eax, [esi + 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.0040274c
lea eax, [esi + 0x24]
lea ecx, [ebx + 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.0040274c
lea eax, [esi + 0x30]
lea ecx, [ebx + 0x30]
push eax
mov byte [ebp - 4], 5
call fcn.0040274c
mov eax, dword [esi + 0x3c]
add esi, 0x44
mov dword [ebx + 0x3c], eax
mov eax, dword [esi - 4]
lea edi, [ebx + 0x44]
mov dword [ebx + 0x40], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
lea ecx, [ebx + 0x78]
mov byte [ebp - 4], 6
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x5c], eax
mov al, byte [esi + 0x60]
mov byte [ebx + 0x60], al
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0x74], eax
lea eax, [esi + 0x78]
push eax
call fcn.0040f3b7
lea eax, [esi + 0xa8]
lea ecx, [ebx + 0xa8]
push eax
mov byte [ebp - 4], 7
call fcn.0040f3b7
mov eax, dword [esi + 0xd8]
pop edi
mov dword [ebx + 0xd8], eax
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xdc], eax
mov eax, ebx
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x410889
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x42a972
call fcn.00428650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x42d108
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.00402679
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402679
or dword [esi + 0x64], 0xffffffff
mov byte [esi + 0x60], bl
mov byte [esi + 0x61], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
call fcn.00402679
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.00402679
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42d0d4
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x410895
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x42a972
call fcn.00428650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x42d108
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.00402679
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402679
or dword [esi + 0x64], 0xffffffff
mov byte [esi + 0x60], bl
mov byte [esi + 0x61], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
call fcn.00402679
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.00402679
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42d0d4
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x410d9f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x42aa85
call fcn.00428650
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.00410e09
push dword [esi + 0x24]
call fcn.00402153
push dword [esi + 0x18]
call fcn.00402153
push dword [esi + 0xc]
call fcn.00402153
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x42d13c
mov dword fs:[0], ecx
pop esi
leave
ret