joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ca58
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ca6f
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004190fc
mov eax, dword [0x464854]
cmp word [eax + 2], 0
jne 0x44ca97
mov eax, dword [0x464854]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e130
mov eax, dword [0x464904]
cmp word [eax + 2], 0
jne 0x44cab1
mov eax, dword [0x464904]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e328
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4113f4]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4113f4]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b638]
call fcn.00422cd4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44cc38
mov eax, dword [0x46477c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004230a4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44e8c8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46477c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bfe4
test eax, eax
je 0x44cba6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408310
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c00c
test eax, eax
je 0x44cbba
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x464668]
cmp byte [eax], 0
jne 0x44cbee
mov eax, ebx
call fcn.0044cd60
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044eaa4
mov eax, ebx
call fcn.0044f468
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44cc2e
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cfe0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x465bb0]
cmp dword [eax + 0x30], 0
je 0x44d08a
cmp dword [ebx + 0x94], 0
jne 0x44d084
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44cf70
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44d084
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44d04a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44d084
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041375c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44d059
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44dbec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44dc21
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x44dc2e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44ec80
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44ecc1
mov eax, esi
call fcn.00435504
test al, al
je 0x44ecc1
mov eax, dword [ebx + 0x84]
call fcn.004352a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44ecc1
push 0
mov eax, dword [ebx + 0x84]
call fcn.004352a4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x452388
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4523b6
mov eax, ebx
call fcn.00452e3c
cmp dword [ebx + 0x40], 0
je 0x4523af
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x452427
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x452419
cmp dword [ebx + 8], 0
je 0x4523d8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4523ea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x452419
cmp dword [ebx + 8], 0
je 0x4523cb
cmp eax, 3
je 0x4523fd
dec eax
jne 0x4523cb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4523cb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4523cb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x452445
cmp dword [ebx + 0x14], 0xcc
je 0x452445
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00452450
pop ebx
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x67f57607
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x73e309d
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4088d5
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.00405a9c
and dword [ebp - 4], 0
cmp dword [0x4283b8], 0
mov ebx, eax
jne 0x408986
push 0x401b18
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408a37
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b0c
push edi
call esi
test eax, eax
je 0x408a37
push eax
call fcn.00405a2a
mov dword [esp], 0x401afc
push edi
mov dword [0x4283b8], eax
call esi
push eax
call fcn.00405a2a
mov dword [esp], 0x401ae8
push edi
mov dword [0x4283bc], eax
call esi
push eax
call fcn.00405a2a
mov dword [esp], 0x401acc
push edi
mov dword [0x4283c0], eax
call esi
push eax
call fcn.00405a2a
pop ecx
mov dword [0x4283c8], eax
test eax, eax
je 0x408986
push 0x401ab4
push edi
call esi
push eax
call fcn.00405a2a
pop ecx
mov dword [0x4283c4], eax
mov eax, dword [0x4283c4]
cmp eax, ebx
je 0x4089de
cmp dword [0x4283c8], ebx
je 0x4089de
push eax
call fcn.00405aa5
push dword [0x4283c8]
mov esi, eax
call fcn.00405aa5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4089de
test edi, edi
je 0x4089de
call esi
test eax, eax
je 0x4089d5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4089d5
test byte [ebp - 0xc], 1
jne 0x4089de
or dword [ebp + 0x10], 0x200000
jmp 0x408a17
mov eax, dword [0x4283bc]
cmp eax, ebx
je 0x408a17
push eax
call fcn.00405aa5
pop ecx
test eax, eax
je 0x408a17
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408a17
mov eax, dword [0x4283c0]
cmp eax, ebx
je 0x408a17
push eax
call fcn.00405aa5
pop ecx
test eax, eax
je 0x408a17
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4283b8]
call fcn.00405aa5
pop ecx
test eax, eax
je 0x408a37
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408a39
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x20092cdc
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x78560918
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40b590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec ebx
pushfd
pop edx
inc eax
js 0x40b518
sal byte [esp + ecx*2 + 1], 0xd0

Function at 0x818058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8181a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x81807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81806a
add dl, dl
jne 0x818089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8180dc
xor eax, eax
add dl, dl
jne 0x818096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81817d
add dl, dl
jne 0x8180a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8180d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x818075
mov eax, 1
add dl, dl
jne 0x8180ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8180e1
sub eax, ebx
mov ebx, 1
jne 0x818128
mov ecx, 1
add dl, dl
jne 0x81810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x818119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x81813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x81814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818136
cmp eax, 0x7d00
jae 0x81816d
cmp eax, 0x500
jb 0x818168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
cmp eax, 0x7f
ja 0x818170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x81819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x818075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401f44
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d064]
jne 0x401f4e
repz ret
jmp fcn.00404740

Function at 0x41172a
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.004068cb
and dword [ebp - 4], 0
cmp dword [0x43f1e0], 0
mov ebx, eax
jne 0x4117db
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41188c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41188c
push eax
call fcn.00406859
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43f1e0], eax
call esi
push eax
call fcn.00406859
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43f1e4], eax
call esi
push eax
call fcn.00406859
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43f1e8], eax
call esi
push eax
call fcn.00406859
pop ecx
mov dword [0x43f1f0], eax
test eax, eax
je 0x4117db
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406859
pop ecx
mov dword [0x43f1ec], eax
mov eax, dword [0x43f1ec]
cmp eax, ebx
je 0x411833
cmp dword [0x43f1f0], ebx
je 0x411833
push eax
call fcn.004068d4
push dword [0x43f1f0]
mov esi, eax
call fcn.004068d4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x411833
test edi, edi
je 0x411833
call esi
test eax, eax
je 0x41182a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41182a
test byte [ebp - 0xc], 1
jne 0x411833
or dword [ebp + 0x10], 0x200000
jmp 0x41186c
mov eax, dword [0x43f1e4]
cmp eax, ebx
je 0x41186c
push eax
call fcn.004068d4
pop ecx
test eax, eax
je 0x41186c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41186c
mov eax, dword [0x43f1e8]
cmp eax, ebx
je 0x41186c
push eax
call fcn.004068d4
pop ecx
test eax, eax
je 0x41186c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43f1e0]
call fcn.004068d4
pop ecx
test eax, eax
je 0x41188c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41188e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4133d0
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x43d064]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x670], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x670]
add ecx, 0x14
push ecx
push str._s__H:_d__A:_s__C:_s__P:_s
push 0x208
lea edx, [ebp - 0x418]
push edx
call fcn.00402385
add esp, 0x20
lea eax, [ebp - 0x668]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x44
push 0
lea ecx, [ebp - 0x460]
push ecx
call fcn.00401f60
add esp, 0xc
mov dword [ebp - 0x460], 0x44
mov dword [ebp - 0x434], 1
mov edx, 1
mov word [ebp - 0x430], dx
mov eax, dword [ebp - 0x670]
add eax, 4
push eax
lea ecx, [ebp - 0x460]
push ecx
lea edx, [ebp - 0x668]
push edx
push 0
push 0x4000020
push 0
push 0
push 0
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4134bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x66c], eax
push 0x10
push 0
mov ecx, dword [ebp - 0x670]
add ecx, 4
push ecx
call fcn.00401f60
add esp, 0xc
xor eax, eax
jmp 0x4134c4
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401f44
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4134e0
Capabilities:
Create mailslot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x43d064]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
push eax
push 0x436ad8
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00402385
add esp, 0x10
push 0
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401f44
mov esp, ebp
pop ebp
ret 4

Function at 0x413680
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
je 0x4136e9
cmp dword [ebp + 8], 0
je 0x4136de
push 0xc
push 0
lea edx, [ebp - 0x18]
push edx
call fcn.00401f60
add esp, 0xc
mov dword [ebp - 0x18], 0x436d78
lea eax, [ebp - 0x18]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call sub.WINSPOOL.DRV_StartDocPrinterW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4136de
mov edx, dword [ebp - 4]
push edx
call sub.WINSPOOL.DRV_EndDocPrinter
mov eax, dword [ebp - 4]
push eax
call sub.WINSPOOL.DRV_ClosePrinter
jmp 0x4136fb
push str.Wake_up_Failed_to_OpenPrinterA_._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x413740
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x413774
xor eax, eax
jmp 0x41379c
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414200
Capabilities:
Create mailslot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x43d064]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
push eax
push str..mailslotkyoceramitautility_08x
push 0x208
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401d80
add esp, 0x10
push 0
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401f44
mov esp, ebp
pop ebp
ret 4

Function at 0x414340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov dword [ebp - 0x24], ecx
push str..mailslotkyoceramitakmstmvm300_recv_
call fcn.00402006
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x24]
add eax, 0x28
push eax
call fcn.00402006
add esp, 4
lea ecx, [esi + eax + 1]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov eax, dword [ebp - 8]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00402cc4
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
push str..mailslotkyoceramitakmstmvm300_recv_
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004023ae
add esp, 0xc
mov eax, dword [ebp - 0x24]
add eax, 0x28
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00402588
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4143e7
jmp 0x414427
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004023a3
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x41443b
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004023a3
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x414450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x5b8], 0
jne 0x414469
xor eax, eax
jmp 0x4144c6
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x5b8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41449a
xor eax, eax
jmp 0x4144c6
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4152a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x43d064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
shl eax, 1
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401f60
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push str.SYSTEMCurrentControlSetControlPrintMonitorsKMprintPorts_s
push 0x208
lea eax, [ebp - 0x210]
push eax
call fcn.00401d80
add esp, 0x10
lea ecx, [ebp - 0x214]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x210]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415355
mov eax, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], 1
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push 0x436dc4
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4153de
mov eax, dword [ebp + 0x10]
push eax
push str.SYSTEMCurrentControlSetControlPrintMonitorsKMprint_PortPorts_s
push 0x208
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401d80
add esp, 0x10
lea edx, [ebp - 0x214]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x210]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4153de
mov ecx, dword [ebp + 0xc]
shl ecx, 1
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], 1
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0x436e84
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402006
add esp, 4
test eax, eax
jne 0x4154db
mov edx, dword [ebp + 0xc]
shl edx, 1
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], 1
mov eax, dword [ebp + 0x10]
push eax
push 0x437028
push 0x208
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401d80
add esp, 0x10
lea edx, [ebp - 0x214]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x210]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415483
mov ecx, dword [ebp + 0xc]
shl ecx, 1
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], 1
lea edx, [ebp - 0x22c]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x228]
push ecx
push 0
push str.HostName
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 8]
push eax
call fcn.00402006
add esp, 4
test eax, eax
jne 0x4154ce
mov ecx, dword [ebp + 0xc]
shl ecx, 1
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], 1
lea edx, [ebp - 0x22c]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x228]
push ecx
push 0
push str.IPAddress
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401f44
mov esp, ebp
pop ebp
ret