joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e6e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push ebx
push esi
call fcn.00402d46
add esp, 8
test eax, eax
je 0x402eff
push 0x411ad8
push 0x40c47b
push 0x80000002
call sub.ADVAPI32.dll_RegCreateKeyA
push edi
call fcn.004054ec
pop ecx
push eax
push edi
push 1
push 0x40c495
push dword [0x411ad8]
call sub.ADVAPI32.dll_RegSetValueA
push ebx
call fcn.004054ec
pop ecx
push eax
push ebx
push 1
push 0x40c49d
push dword [0x411ad8]
call sub.ADVAPI32.dll_RegSetValueA
push esi
call fcn.004054ec
pop ecx
push eax
push esi
push 1
push 0x40c4a6
push dword [0x411ad8]
call sub.ADVAPI32.dll_RegSetValueA
push dword [0x411ad8]
call sub.ADVAPI32.dll_RegCloseKey
xor eax, eax
jmp 0x402f04
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x409580
call fcn.00409488
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x40959b
test bl, 1
je 0x40959b
mov dword [0x40d7f8], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4096ac
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test byte [ebp + 0xd], 0xc0
jne 0x4096cb
mov eax, dword [0x40d104]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x4096d8
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x409705
je 0x409717
sub ecx, 0x100
je 0x409725
sub ecx, 0x100
je 0x40972c
sub ecx, 0x100
je 0x40971e
jmp 0x409733
sub ecx, 0x600
je 0x40972c
sub ecx, 0x100
je 0x409717
jmp 0x409733
mov edi, 1
jmp 0x409738
mov edi, 2
jmp 0x409738
mov edi, 4
jmp 0x409738
mov edi, 5
jmp 0x409738
mov edi, 3
test byte [ebp + 0xd], 1
je 0x40975f
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x40d600]
test al, 0x80
je 0x409758
mov ebx, 0x80
jmp 0x409771
mov ebx, 1
jmp 0x409771
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x409771
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x409783
je 0x40978c
dec eax
je 0x409795
jmp 0x40979e
mov dword [ebp - 4], 0x80000000
jmp 0x4097ad
mov dword [ebp - 4], 0x40000000
jmp 0x4097ad
mov dword [ebp - 4], 0xc0000000
jmp 0x4097ad
push 1
call fcn.00409424
pop ecx
mov ebx, eax
jmp 0x409899
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x4097c9
sub eax, 0x10
je 0x4097d0
sub eax, 0x10
je 0x4097d9
sub eax, 0x10
je 0x4097e2
jmp 0x4097e2
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4097e9
mov dword [ebp - 8], 1
jmp 0x4097e9
mov dword [ebp - 8], 2
jmp 0x4097e9
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x409852
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x409847
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x409847
add ebx, 0xffffffb2
push ebx
call fcn.00409424
pop ecx
mov ebx, eax
jmp 0x409899
mov edi, esi
push edi
call fcn.0040961c
pop ecx
test eax, eax
je 0x409866
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x409872
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00409180
add esp, 8
mov ebx, eax
inc eax
jne 0x409899
push 4
call fcn.00409424
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a52c
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret
Function at 0x40a748
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x40d7fc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x40a800
cmp byte [0x40c059], 0
je 0x40a7ba
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.0040554c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x40a7a3
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.0040554c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x40a7a3
lea ebx, [ebp - 0x54]
jmp 0x40a7a4
inc ebx
call fcn.0040a700
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x40a821
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x40d800
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004054ec
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x40d803
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x40a821
cmp dword [0x40d7fc], 0xffffffff
je 0x40a821
mov eax, dword [0x40d7fc]
test eax, eax
je 0x40a821
cmp byte [eax], 0
je 0x40a821
push esi
push eax
call fcn.0040a8b0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000226a
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, 0x10016879
call fcn.10016539
mov edi, dword [ebp + 8]
lea eax, [edi - 0x80]
neg edi
sbb edi, edi
and edi, eax
and dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jne 0x10002296
cmp dword [ebp + 0x14], ecx
jne 0x100022ea
mov bl, 1
jmp 0x100022ec
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x100022ea
and dword [ebp + 0x14], 0
lea edx, [ebp + 0x14]
and dword [ebp + 8], 0
mov ebx, 0x100194dc
mov eax, dword [ecx]
push edx
push ebx
push ecx
call dword [eax]
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push ebx
push esi
call dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
cmp eax, ecx
sete bl
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100022da
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x100022ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100022ec
xor bl, bl
or dword [ebp - 4], 0xffffffff
test bl, bl
jne 0x100022fe
mov eax, 0x8000ffff
jmp case.default.0x1000232f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1000231e
push dword [ebp + 0x1c]
push ecx
lea ecx, [edi + 0x80]
call fcn.10002d27
mov eax, 0x40180
jmp case.default.0x1000232f
add ecx, 7
mov eax, 0x80004001
cmp ecx, 7
ja case.default.0x1000232f
jmp dword [ecx*4 + 0x100023d3]
push dword [ebp + 0x1c]
push ecx
lea ecx, [edi + 0x80]
call fcn.10002d27
jmp case.default.0x1000232f
push ecx
lea ecx, [edi + 0x80]
neg ecx
push 0xffffffffffffffff
sbb ecx, ecx
and ecx, edi
add ecx, 0xc
call fcn.10005903
xor ecx, ecx
test eax, eax
cmovns eax, ecx
jmp case.default.0x1000232f
push ecx
push ecx
lea ecx, [edi + 0x80]
call fcn.10002cfa
jmp case.default.0x1000232f
lea ecx, [edi + 0x80]
neg ecx
sbb ecx, ecx
xor eax, eax
and ecx, edi
test byte [ecx + 0x50], 8
jne case.default.0x1000232f
push ecx
push 0xfffffffffffffffc
jmp 0x10002359
lea esi, [edi + 0x80]
neg esi
sbb esi, esi
and esi, edi
lea eax, [esi + 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp dword [esi + 0x58], 0
je case.0x1000232f.6
push 0
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp case.default.0x1000232f
push dword [ebp + 0x1c]
push ecx
lea ecx, [edi + 0xc]
call fcn.10006355
call fcn.1001650a
ret 0x1c

Function at 0x10007ccd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10007cdc
pop dword [ebp - 0x10]
mov eax, 0x10007cdc
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3a857
push 0
mov eax, 0x9bf41341
add eax, 0x740d6e0f
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x4c42
xor edx, edx
add edx, eax
mov edi, 0x1002b600
add edi, dword [ebp - 0x10]
mov esi, 0x9632ee61
add esi, 0x42014e3b
sub dword [ebp - 8], 0x122376a9
mov ebx, dword [edi]
mov dword [ebp - 8], 0x9deb970b
xor ebx, esi
mov dword [ebp - 0xc], 0x7d87707c
mov dword [edx], ebx
add dword [ebp - 8], esi
add edx, 0x49bff23a
add edx, 0xb6400dca
add edi, 0xd77fa5f2
sub edi, 0xd77fa5ee
loop 0x10007d2c
add eax, 0x60141cdf
sub eax, 0x6012f904
mov ebx, eax
add eax, 5
mov ecx, 0x9b471a33
sub ecx, 0x8b471a33
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10009bdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10016eb8
call fcn.100165db
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10009c59
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10009c59
call fcn.1000836f
mov esi, eax
jmp 0x10009d5f
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10009c7c
call fcn.1000836f
jmp 0x10009d52
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10009c72
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10009caf
mov esi, 0x8007000e
jmp 0x10009d54
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10009d8d
jb 0x10009cca
cmp eax, 0xffffffff
ja 0x10009d8d
cmp eax, 0x400
jbe 0x10009cdf
push eax
lea ecx, [ebp - 0x418]
call fcn.10007ccd
jmp 0x10009d01
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10009d01
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10009ca5
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10009c72
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.10007ccd
mov esi, eax
test edi, edi
je 0x10009d5f
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10009d78
lea ecx, [ebp - 0x418]
call fcn.10008337
lea ecx, [ebp - 0x428]
call fcn.10001550
mov eax, esi
call fcn.1001652c
ret 0x10
push 0x80070216
call fcn.10007ccd
int3
Function at 0x401037
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x431618]
mov dword [ebp - 0x28], eax
mov eax, dword [0x43161c]
xor ebx, ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.00401030
mov eax, dword [0x431620]
add dword [ebp - 0x14], 0x23f
mov dword [ebp - 0x30], eax
mov eax, dword [0x431624]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x1a221c4], 0xc
mov dword [ebp - 4], eax
jne 0x4010b9
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x43c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov eax, dword [0x1a221c4]
cmp eax, 0xfa9
jne 0x4010d5
mov dword [0x1a221c0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ed
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x1a22114], ebx
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1a221bc], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1a221c4], 0xc
mov dword [ebp - 4], eax
jne 0x40114f
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], 0x61c88647
sub edi, eax
dec dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
jne 0x401089
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x404b17
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43033c]
jne 0x404b21
repz ret
jmp fcn.0040acf6

Function at 0x40bd24
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.00404c1c
and dword [ebp - 4], 0
cmp dword [0x43a9f4], 0
mov ebx, eax
jne 0x40bdd5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40be86
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40be86
push eax
call fcn.00404baa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43a9f4], eax
call esi
push eax
call fcn.00404baa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43a9f8], eax
call esi
push eax
call fcn.00404baa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43a9fc], eax
call esi
push eax
call fcn.00404baa
pop ecx
mov dword [0x43aa04], eax
test eax, eax
je 0x40bdd5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404baa
pop ecx
mov dword [0x43aa00], eax
mov eax, dword [0x43aa00]
cmp eax, ebx
je 0x40be2d
cmp dword [0x43aa04], ebx
je 0x40be2d
push eax
call fcn.00404c25
push dword [0x43aa04]
mov esi, eax
call fcn.00404c25
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40be2d
test edi, edi
je 0x40be2d
call esi
test eax, eax
je 0x40be24
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40be24
test byte [ebp - 0xc], 1
jne 0x40be2d
or dword [ebp + 0x10], 0x200000
jmp 0x40be66
mov eax, dword [0x43a9f8]
cmp eax, ebx
je 0x40be66
push eax
call fcn.00404c25
pop ecx
test eax, eax
je 0x40be66
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40be66
mov eax, dword [0x43a9fc]
cmp eax, ebx
je 0x40be66
push eax
call fcn.00404c25
pop ecx
test eax, eax
je 0x40be66
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43a9f4]
call fcn.00404c25
pop ecx
test eax, eax
je 0x40be86
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40be88
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c004]
jne 0x40100a
repz ret
jmp fcn.00401448

Function at 0x405615
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403715
and dword [ebp - 0x14], 0
cmp dword [0x42ed7c], 0
mov dword [ebp - 0x18], eax
jne 0x4056c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405770
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405770
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42ed7c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42ed80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42ed84], eax
call edi
push eax
call esi
mov dword [0x42ed8c], eax
test eax, eax
je 0x4056c8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42ed88], eax
mov eax, dword [0x42ed88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405721
cmp dword [0x42ed8c], ecx
je 0x405721
push eax
call esi
push dword [0x42ed8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405721
test ebx, ebx
je 0x405721
call edi
test eax, eax
je 0x405718
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405718
test byte [ebp - 8], 1
jne 0x405721
or dword [ebp + 0x10], 0x200000
jmp 0x405754
mov eax, dword [0x42ed80]
cmp eax, dword [ebp - 0x18]
je 0x405754
push eax
call esi
test eax, eax
je 0x405754
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405754
mov eax, dword [0x42ed84]
cmp eax, dword [ebp - 0x18]
je 0x405754
push eax
call esi
test eax, eax
je 0x405754
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42ed7c]
call esi
test eax, eax
je 0x405770
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405772
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x424370
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x42cdc0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1f00f28]
push edi
mov edi, dword [0x1f01584]
push eax
call fcn.004242a0
add esp, 4
cmp dword [0x1f01584], 0x2f
jne 0x4243cd
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.004242f0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424690
Capabilities:
Get disk information
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.004076f0
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x4246b9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x424761
cmp dword [0x1f01584], 0xa5f
jne 0x424705
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x818]
push edx
push str.wefanecidageziroxefojuvu
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 4], 0x84526b
jne 0x42472a
mov eax, dword [0x42dbe0]
mov dword [0x1f01584], eax
mov ecx, dword [0x1f01584]
add ecx, 0xa231
mov dword [0x1f01584], ecx
cmp dword [0x1f01584], 0x141
jne 0x42475c
push str.jisaxivemuvanacucoxoxobo_necogoduhutevepipojomaji_kadesezimini_joretevigusopibiyigibiga_wemakihumovuyo
lea edx, [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x42f2a0], 0xec58acac
mov dword [0x42f2a4], 0xffffffff
jmp 0x4246b0
call fcn.004243e0
jmp dword [0x1f00f28]
Function at 0x401050
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x433064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x4ed5b0
push 0x67
push edi
call esi
push 0x64
push 0x4ed4e8
push 0x6d
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push edi
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x401150
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], edi
call esi
push 0x7f00
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], 0x6d
mov dword [ebp - 0xc], 0x4ed4e8
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x4ed5b0
push 0x4ed4e8
push 0
mov dword [0x4ed4e0], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x40113a
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040a8fe
mov esp, ebp
pop ebp
ret 0x10
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00406510
int3
Function at 0x407fd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4243d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x433064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push 8
mov dword [ebp - 0x18], eax
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040ab0e
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00409fef
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea edi, [eax + 0x14]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax + 0x20], ecx
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x4ed680]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [0x4ed684]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b50d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b54c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b54c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b54c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40b54c
cmp dword [ecx + 0x74], 0xe
jbe 0x40b54c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret