joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43463b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8050
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4f9004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
push 0x4c7f40
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.004057cc
push 0x13
xor eax, eax
mov dword [ebp - 4], 0
push str.HardwareAccelerated
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004057cc
push 0x35
xor eax, eax
mov byte [ebp - 4], 1
push str.SoftwarekingsoftOffice6.0wppApplication_Settings
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004057cc
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push 0x80000001
push eax
call fcn.004199e1
mov edx, dword [ebp - 0x14]
add esp, 0x14
cmp edx, 8
jb 0x434734
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43472a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434885
push edx
push ecx
call fcn.0040660b
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x434782
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434778
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434885
push edx
push ecx
call fcn.0040660b
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x4347d0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4347c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434885
push edx
push ecx
call fcn.0040660b
add esp, 8
mov ebx, dword [ebp - 0x5c]
lea esi, [ebp - 0x70]
mov edi, dword [ebp - 0x70]
cmp ebx, 8
cmovae esi, edi
cmp dword [ebp - 0x60], 0x10
jne 0x434807
mov ecx, str.AccelerationNone
mov edx, 0x10
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x434807
add ecx, 2
sub edx, 1
jne 0x4347f1
mov byte [ebp - 0x71], dl
jmp 0x434836
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0
push eax
push 0
push 0
push 0x434890
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x70]
mov byte [ebp - 0x71], 1
cmp ebx, 8
jb 0x434866
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x43485c
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43488a
push ebx
push edi
call fcn.0040660b
add esp, 8
mov al, byte [ebp - 0x71]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402c9b
mov esp, ebp
pop ebp
ret
call fcn.0047c5cb
call fcn.0047c5cb
int3
Function at 0x4389f2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8a51
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4f9004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 1
call fcn.00402780
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x438ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x438ac1
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00402780
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x438ac1
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00413410
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402c9b
mov esp, ebp
pop ebp
ret
Function at 0x43903f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8af4
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4f9004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], 0
mov byte [eax], 0
mov dword [ebp - 0x238], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x234], 1
call fcn.00406147
add esp, 4
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 4], 1
test ecx, ecx
jne 0x4390dc
lea ecx, [ebp - 0x230]
call fcn.00411b77
jmp 0x4391f7
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov ebx, dword [ebp - 0x230]
cmp edi, 8
cmovae eax, ebx
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x439139
cmp edi, 8
lea eax, [ebp - 0x230]
cmovae eax, ebx
movzx edx, word [eax + ecx*2 - 2]
cmp ecx, edx
jb 0x439217
cmp edi, 8
mov dword [ebp - 0x220], edx
lea eax, [ebp - 0x230]
cmovae eax, ebx
xor ecx, ecx
mov word [eax + edx*2], cx
mov edi, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x230]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00402780
cmp edi, 8
lea eax, [ebp - 0x230]
cmovae eax, ebx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040a4eb
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.oemcompanylogo.png
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040a590
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4391bb
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00413410
mov eax, dword [ebp - 0x238]
mov byte [eax], 1
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4391f7
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4391ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43921c
push edx
push ecx
call fcn.0040660b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402c9b
mov esp, ebp
pop ebp
ret 8
call fcn.00427995
call fcn.0047c5cb
int3

Function at 0x439925
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax]
test eax, eax
je 0x439976
cmp dword [esi + 8], 0
push edi
lea edi, [esi + 0x10]
je 0x439958
push 0
push 0
push 0x12
push dword [edi]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
push edi
push 0
push esi
push 0x439978
push 0
push 0
mov dword [esi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop edi
pop esi
ret
Function at 0x439b7d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8c0a
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4f9004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
fldz
fld qword [edi + 0x28]
fcompi st(1)
fstp st(0)
ja 0x439daa
mov eax, dword [0x5037e4]
test al, 1
jne 0x439bee
or eax, 1
mov dword [0x5037e4], eax
push 0x4d13c8
push str.KHostSplashShow_updateDPISetting
mov ecx, 0x5037e0
mov dword [ebp - 4], 0
call fcn.0041cccf
mov dword [ebp - 4], 0xffffffff
cmp byte [0x4feb10], 0
je 0x439c2f
mov cx, word [0x5037e2]
mov eax, 1
mov word [ebp - 0x268], ax
mov eax, dword [0x5037e0]
mov word [ebp - 0x264], cx
movzx ecx, cx
mov word [ebp - 0x266], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.004463c0
add esp, 0xc
fld1
lea eax, [ebp - 0x230]
push eax
fstp qword [edi + 0x28]
mov dword [ebp - 4], 1
call fcn.00406147
add esp, 4
push 8
push str.qt.conf
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.0040684d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00402780
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x4d151c
push str.DPIAware
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push 0x4cb880
push eax
call fcn.004142fa
add esp, 8
test eax, eax
jne 0x439d75
lea eax, [ebp - 0x260]
push eax
call fcn.004389f2
push str.user32.dll
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
push eax
call fcn.00407249
add esp, 0x10
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 5
call fcn.00411b77
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x439d6a
push str.SetProcessDPIAware
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x439d6a
call eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [ebp - 0x26c], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
fild dword [ebp - 0x26c]
fstp qword [ebp - 0x270]
fld qword [ebp - 0x270]
fdiv qword [0x4d1888]
fstp qword [edi + 0x28]
lea ecx, [ebp - 0x248]
call fcn.00411b77
lea ecx, [ebp - 0x230]
call fcn.00411b77
cmp byte [0x4feb10], 0
mov dword [ebp - 4], 6
je 0x439daa
push dword [ebp - 0x264]
push dword [ebp - 0x266]
push dword [ebp - 0x268]
call fcn.004463d1
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402c9b
mov esp, ebp
pop ebp
ret
Function at 0x43bc08
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8f30
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4f9004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
lea eax, [edi + 4]
push eax
call fcn.00411bca
cmp dword [ebp - 0x18], 0
je 0x43bc57
cmp dword [edi + 0x34], 0xffffffff
je 0x43bc57
mov esi, 1
jmp 0x43bc59
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.00411b77
test esi, esi
jne 0x43bc9c
test edi, edi
je 0x43bd5c
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x43bc7d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
lea ecx, [edi + 4]
mov dword [edi + 0x4c], 0
call fcn.00411fb9
push 0x50
push edi
call fcn.0040660b
add esp, 8
jmp 0x43bd5c
lea esi, [ebx + 8]
push esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 4], 0x15555555
mov eax, dword [ebx]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
je 0x43bd7a
mov dword [ebp - 0x34], ebx
push 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
call fcn.00405960
mov edx, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [eax + 8], edi
inc dword [ebx + 4]
mov ecx, dword [edx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov dword [ecx], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
push 0x43c39b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43bd55
mov edi, dword [ebx + 0x20]
add ebx, 0x20
cmp dword [ebx + 4], 0x15555555
je 0x43bd84
mov dword [ebp - 0x40], ebx
push 0xc
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], 0
call fcn.00405960
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [eax + 8], ecx
inc dword [ebx + 4]
mov ecx, dword [edi + 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [edi + 4], eax
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402c9b
mov esp, ebp
pop ebp
ret 4
push str.list_too_long
call fcn.00472e3a
push str.list_too_long
call fcn.00472e3a
int3
Function at 0x43c0dd
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9004
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4f9004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x43c1df
mov edi, dword [esi + 0x34]
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00411bca
mov dword [ebp - 4], 0
test edi, edi
je 0x43c1d2
cmp dword [ebp - 0x48], 0
je 0x43c1d2
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0xb0]
call fcn.00441ea5
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x43c1a8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43c19e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c33a
push edx
push ecx
call fcn.0040660b
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00443606
lea ecx, [ebp - 0xb0]
call fcn.00442053
lea ecx, [ebp - 0x58]
call fcn.00411b77
jmp 0x43c31f
cmp dword [esi + 0x3c], 0
je 0x43c31f
lea ecx, [ebp - 0xd4]
call fcn.00412ad4
mov dword [ebp - 4], 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [esi + 0x1c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x70]
call fcn.00411bca
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0041351d
lea ecx, [ebp - 0x70]
call fcn.00411b77
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test esi, esi
je 0x43c2eb
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x43c2ab
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x43c28e
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x43c284
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c33f
mov eax, edx
push ecx
push eax
call fcn.0040660b
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x43c255
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x43c2e1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c33f
push ecx
push esi
call fcn.0040660b
add esp, 8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00448ed3
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.00411b77
lea ecx, [ebp - 0xd4]
call fcn.00424cb8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402c9b
mov esp, ebp
pop ebp
ret
call fcn.0047c5cb
call fcn.0047c5cb
int3
Function at 0x43c8c3
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, ecx
push esi
mov dword [esi + 0x14], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov ebx, eax
test ebx, ebx
jne 0x43c950
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x43c936
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov dword [esi + 0x14], 1
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push esi
mov dword [esi + 0x10], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov ebx, eax
test ebx, ebx
je 0x43c8f4
pop edi
pop esi
pop ebx
pop ebp
ret 8
test ebx, ebx
jne 0x43c950
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x43c950
push ebx
push esi
mov ecx, edi
call fcn.0043c957
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43c957
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push pe_nt_image_headers32
push 0
mov dword [ebp + 8], 0
push dword [esi + 0x18]
mov dword [esi + 0x14], 2
call fcn.00402780
add esp, 0xc
lea eax, [ebp + 8]
push esi
push eax
push pe_nt_image_headers32
push dword [esi + 0x18]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43c9c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x43c9c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x43c9c6
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push 0
push esi
mov ecx, ebx
call fcn.0043c8c3
pop esi
pop ebx
pop ebp
ret 8
Function at 0x43d1c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, ecx
mov dword [ebp - 4], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x20], eax
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 0
push ecx
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov esi, dword [ebp - 8]
test esi, esi
je 0x43d3a4
mov edx, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push edi
mov edi, dword [ebp - 0xc]
test edi, edi
je 0x43d39b
mov eax, dword [edi + 0x14]
dec eax
cmp eax, 4
ja case.default.0x43d229
jmp dword [eax*4 + 0x43d3ac]
push dword [ebp - 4]
mov ecx, esi
push edi
call fcn.0043c957
jmp case.default.0x43d229
cmp dword [ebp - 4], 0x90
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x18], eax
jne 0x43d35b
mov edx, dword [eax + 0x8c]
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x43d26e
push edx
push edi
mov ecx, esi
call fcn.0043c9cc
jmp case.default.0x43d229
lea ecx, [eax + 0x90]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax]
test eax, eax
je 0x43d35b
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push edi
add ecx, 0x90
mov dword [edi + 0x14], 3
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne case.default.0x43d229
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je case.default.0x43d229
jmp 0x43d35b
push dword [ebp - 4]
mov ecx, esi
push edi
call fcn.0043c9cc
jmp case.default.0x43d229
cmp dword [ebp - 4], 0x90
mov eax, dword [edi + 0x18]
jne 0x43d35b
cmp dword [eax + 0x8c], 0
je 0x43d357
push edi
lea edx, [ebp - 0x1c]
mov dword [edi + 0x14], 5
lea ecx, [eax + 0x90]
mov dword [ebp - 0x1c], 0
push edx
push dword [eax + 0x8c]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x43d333
xor eax, eax
jmp 0x43d33c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne case.default.0x43d229
cmp eax, 0x3e5
je case.default.0x43d229
jmp 0x43d35b
mov ecx, dword [edi + 0x18]
mov eax, dword [ebp - 4]
cmp eax, dword [ecx + 0x8c]
jne 0x43d35b
push dword [esi]
call edx
push dword [esi]
call ebx
push 0
push edi
mov ecx, esi
call fcn.0043c8c3
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov esi, dword [ebp - 8]
mov edx, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test esi, esi
jne 0x43d211
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43e246
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
push esi
test eax, eax
je 0x43e30c
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x43e30c
xor ecx, ecx
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43e29a
call edi
cmp eax, 0x3e5
jne 0x43e2ec
push dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43e2d8
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
test eax, eax
je 0x43e2cb
push 1
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, 0x800705b4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0
push dword [ebp + 0x18]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x43e302
call edi
test eax, eax
jle 0x43e2d0
movzx eax, ax
pop edi
or eax, 0x80070000
pop esi
mov esp, ebp
pop ebp
ret 0x14
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, 0x80070057
pop esi
mov esp, ebp
pop ebp
ret 0x14