joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4302f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x469278
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042abf0
test eax, eax
je 0x4303f8
lea ecx, [esp + 0xc]
call fcn.00402460
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042abf0
mov ecx, eax
call fcn.004283b0
test eax, eax
je 0x4303df
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x4303df
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4303df
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00402660
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x4303c1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4303df
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x498cb8]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x46e560
call fcn.00402660
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x430440
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042abf0
test eax, eax
je 0x43052f
mov ecx, edi
call fcn.0042abf0
mov ecx, eax
call fcn.00428260
test eax, eax
jne 0x43052f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43052f
mov eax, dword [0x498cb8]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4304a2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042abf0
mov ecx, eax
call fcn.00428490
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x43052f
cmp ebx, eax
jne 0x43052f
cmp dword [esp + 0x10], eax
jne 0x430515
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x433160
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x469508
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x433199
inc eax
mov dword [esi + 0x10], eax
jmp 0x4332ac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4331ad
mov eax, 0xffffffc7
jmp 0x4332ae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4331be
cmp dword [esi + 8], eax
jne 0x4331ad
cmp dword [esi + 8], eax
jne 0x4331d7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4331d7
mov eax, 0xffffffc7
jmp 0x4332ae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4331eb
push eax
mov ecx, ebx
call fcn.00432990
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402460
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43321c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402480
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00432100
test eax, eax
mov dword [esp + 0x38], eax
je 0x43324f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46e560
call fcn.00402660
mov eax, dword [esp + 0x38]
jmp 0x4332ae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432fc0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x433293
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432fe0
mov esi, eax
test esi, esi
jne 0x4332c3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432fc0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x433265
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46e560
call fcn.00402660
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46e560
call fcn.00402660
mov eax, esi
jmp 0x4332ae

Function at 0x4363f0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x436450
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x436450
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x436450
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x436450
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x436490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43c3a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004627c1
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043bd40
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004626ef
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045efb3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045efb3
push 1
push 0
push 0
mov ecx, esi
call fcn.0045ef5b
push 1
push 0
push 1
mov ecx, esi
call fcn.0045ef5b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462833
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43c520
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004627c1
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043bd40
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004626ef
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43c5e4
cmp dword [esp + 0x40], 1
jne 0x43c5e2
cmp ecx, eax
jge 0x43c5e4
mov eax, ecx
cmp eax, 0xc8
jge 0x43c5f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043c3a0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462833
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43cd70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469bc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045d3d3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00462a69
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00463f85
test eax, eax
je 0x43ce8c
mov ecx, dword [esp + 0x3c]
call fcn.00462a96
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43ce50
push edi
mov ecx, esi
call fcn.004600fa
mov ecx, esi
call fcn.0043cff0
cmp dword [esp + 0x38], 1
jne 0x43ce85
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00460235
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43f8a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f8d3
push esi
call fcn.00442990
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f8cc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43f959
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f942
mov eax, dword [esi + 8]
test eax, eax
je 0x43f8f7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43f93e
cmp eax, 2
je 0x43f942
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f8ea
cmp eax, 3
je 0x43f91d
cmp eax, 1
jne 0x43f8ea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43f8ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f8ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f980
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f968
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f980
add esp, 4
pop esi
ret

Function at 0x45e1c9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45e201
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045c27d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045c255
jmp 0x45e20d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45f8b7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45f8f9
call fcn.00465370
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45f8f9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45f8f0
xor eax, eax
jmp 0x45f901
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045f907
pop edi
pop esi
pop ebx
ret 4

Function at 0x4658a0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4658ce
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4658ec
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00465806
jmp 0x4658ec
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4658ec
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00465806
test edi, edi
mov eax, edi
jne 0x4658d6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404b94
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c698]
jne 0x404b9e
repz ret
jmp fcn.0040b8ec

Function at 0x410399
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.004095bc
and dword [ebp - 4], 0
cmp dword [0x42e49c], 0
mov ebx, eax
jne 0x41044a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4104fb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4104fb
push eax
call fcn.0040954a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42e49c], eax
call esi
push eax
call fcn.0040954a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42e4a0], eax
call esi
push eax
call fcn.0040954a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42e4a4], eax
call esi
push eax
call fcn.0040954a
pop ecx
mov dword [0x42e4ac], eax
test eax, eax
je 0x41044a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040954a
pop ecx
mov dword [0x42e4a8], eax
mov eax, dword [0x42e4a8]
cmp eax, ebx
je 0x4104a2
cmp dword [0x42e4ac], ebx
je 0x4104a2
push eax
call fcn.004095c5
push dword [0x42e4ac]
mov esi, eax
call fcn.004095c5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4104a2
test edi, edi
je 0x4104a2
call esi
test eax, eax
je 0x410499
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410499
test byte [ebp - 0xc], 1
jne 0x4104a2
or dword [ebp + 0x10], 0x200000
jmp 0x4104db
mov eax, dword [0x42e4a0]
cmp eax, ebx
je 0x4104db
push eax
call fcn.004095c5
pop ecx
test eax, eax
je 0x4104db
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4104db
mov eax, dword [0x42e4a4]
cmp eax, ebx
je 0x4104db
push eax
call fcn.004095c5
pop ecx
test eax, eax
je 0x4104db
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e49c]
call fcn.004095c5
pop ecx
test eax, eax
je 0x4104fb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4104fd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f350
Capabilities:
Create pipe
Get thread local storage value
Write file on windows
Write pipe

Disassembly:
sub esp, 0x1a4
cmp dword [0x5e160e4], 0xa76
jne 0x41f3fc
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_OpenFile]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push 0
call sub.KERNEL32.dll_SetConsoleDisplayMode
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [0x5fca058]
mov ecx, dword [0x5d6540c]
mov al, byte [edx + esi + 0xa2401]
mov byte [ecx + esi], al
add esp, 0x1a4
ret
Function at 0x41f420
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
sub esp, 0x838
cmp dword [0x5e160e4], 0x13f7
mov eax, dword [esp + 0x83c]
mov ecx, dword [0x42d3b0]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push ebp
push esi
mov ebp, 0xc6ef3720
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ecx
jne 0x41f463
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
cmp dword [0x5e160e4], 0x786
mov edx, dword [0x42d3b4]
mov eax, dword [0x42d3b8]
mov ecx, dword [0x42d3bc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
jne 0x41f4a6
push 0
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
mov dword [esp + 0x14], 0x20
jmp 0x41f4b4
mov ebp, dword [esp + 0x18]
mov edi, ebx
shl edi, 4
cmp dword [0x5e160e4], 0x36f
jne 0x41f4d7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x1c]
mov esi, ebx
shr esi, 5
add esi, dword [esp + 0x2c]
add edi, ecx
lea edx, [ebx + ebp]
xor edi, edx
cmp dword [0x5e160e4], 0x3f5
mov dword [0x5d65410], 0xe9ea0636
jne 0x41f523
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
push 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor esi, edi
sub dword [esp + 0x10], esi
cmp dword [0x5e160e4], 0x839
jne 0x41f55d
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x40]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapeParameters]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
mov edi, dword [esp + 0x10]
shl edi, 4
cmp dword [0x5e160e4], 0x78c
jne 0x41f586
push 0
lea eax, [esp + 0x3c]
push eax
push 0
lea ecx, [esp + 0x54]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov edx, dword [esp + 0x10]
add edi, dword [esp + 0x28]
add ebp, edx
cmp dword [0x5e160e4], 0x196
jne 0x41f5a6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
mov esi, dword [esp + 0x10]
shr esi, 5
add esi, dword [esp + 0x20]
cmp dword [0x5e160e4], 0xec6
mov dword [0x5d65418], 0xcbd61084
mov dword [0x5d6541c], 0xffffffff
jne 0x41f5e3
push 0
call dword [sym.imp.KERNEL32.dll_LocalFlags]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
add dword [esp + 0x18], 0x61c88647
xor esi, ebp
xor esi, edi
sub ebx, esi
sub dword [esp + 0x14], 1
jne 0x41f4b0
cmp dword [0x5e160e4], 0x8d4
jne 0x41f62d
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
mov eax, dword [esp + 0x84c]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov dword [eax], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x838
ret 4
mov eax, dword [esp + 0x84c]
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
mov dword [eax + 4], edx
pop ebx
add esp, 0x838
ret 4
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x2fe96987
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
mov ecx, 0x19b63c32
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219