joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436610
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61edf8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x68d9ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004379c0
push 0
push str.jianquick
push 1
push 0
push str.gadgets_command
call fcn.00420d80
mov ecx, eax
call fcn.0047a370
call fcn.00407320
mov ecx, eax
test ecx, ecx
je 0x4367c7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x43669d
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00407d40
mov edi, dword [ebp - 0x14]
push 0
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [edi - 8]
push edi
call fcn.005e6c78
add esp, 8
test eax, eax
js 0x4367bd
cmp eax, dword [edi - 8]
jg 0x4367bd
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
call fcn.00407320
mov ecx, eax
test ecx, ecx
je 0x4367d1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x632e64
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00408fd0
test al, al
jne 0x43670e
push 7
push 0x632e64
lea ecx, [ebp - 0x10]
call fcn.0040b130
mov esi, dword [ebp - 0x10]
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x40], esi
call fcn.00431c20
test al, al
mov dword [ebp - 0x34], 1
mov ecx, str.runas
mov dword [ebp - 0x4c], 0x440
cmovne ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436790
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4367ac
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00407030
push 0x80004005
call fcn.00407030
push 0x80004005
call fcn.00407030
int3
Function at 0x43acd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x43ad71
cmp byte [esi + 0x3d], 0
je 0x43ad71
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x43ad27
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x43ad39
sub eax, 1
je 0x43ad3d
sub eax, 2
je 0x43ad71
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x43ad5a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005f5ba3
add esp, 0x10
cmp edi, eax
jne 0x43ad27
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004f9a43
mov esp, ebp
pop ebp
ret

Function at 0x43afb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b8a0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x68d9ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004f9a77
mov edi, eax
add esp, 4
test edi, edi
je 0x43b05b
push 1
mov dword [ebp - 4], 0
call fcn.00463181
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43bda0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x43bdd0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x43be0c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x43be0c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x43bef1
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x43be34
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43be67
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.005f52e6
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x43bef1
cmp eax, 1
jle 0x43bec4
cmp eax, 3
jne 0x43bef1
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0042a5a0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x43bee1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005f5ba3
add esp, 0x10
cmp edi, eax
jne 0x43bef1
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x43bdf7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f9a43
mov esp, ebp
pop ebp
ret 4
Function at 0x43c640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x43c664
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043c730
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x43c685
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x43c687
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x43c70f
jg 0x43c69a
test esi, esi
je 0x43c70f
test ecx, ecx
jl 0x43c6dc
jg 0x43c6a4
test eax, eax
je 0x43c6dc
cmp ebx, ecx
jg 0x43c6b6
jl 0x43c6ae
cmp esi, eax
jae 0x43c6b6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.005e2740
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x43c6e2
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x43c70f
jg 0x43c6ec
test esi, esi
je 0x43c70f
cmp dword [edi + 0x4c], 0
je 0x43c70f
mov ecx, edi
call fcn.0043b7c0
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.005f55bc
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43c800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x43c824
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043c8e0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x43c845
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x43c847
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x43c8c4
jg 0x43c85a
test esi, esi
je 0x43c8c4
test ecx, ecx
jl 0x43c89e
jg 0x43c864
test eax, eax
je 0x43c89e
cmp edi, ecx
jg 0x43c876
jl 0x43c86e
cmp esi, eax
jae 0x43c876
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.005e2740
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x43c8a1
mov edx, dword [ebp + 8]
test edi, edi
jl 0x43c8c4
jg 0x43c8ab
test esi, esi
je 0x43c8c4
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x43c8c4
push eax
push esi
push 1
push edx
call fcn.005f5ba3
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43f120
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul esi, ebx, 0x4058
mov edi, ecx
add esi, edi
push esi
push dword [esi + 0x28]
mov dword [esi + 0x4038], 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x43f16b
mov byte [esi + 0x2c], 0
mov dword [esi + 0x4038], 1
mov ecx, dword [edi + 0x283ec]
test ecx, ecx
je 0x43f16b
mov eax, dword [ecx]
push 0
push ebx
push edi
call dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x43f199
cmp eax, 0x3e5
je 0x43f188
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
pop edi
mov byte [esi + 0x2c], 1
mov al, 1
mov byte [esi + 0x2d], 0
pop esi
pop ebx
pop ebp
ret 4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov byte [esi + 0x2d], 0
mov al, 1
pop esi
pop ebx
pop ebp
ret 4
Function at 0x43f1b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 4], 0xffffffff
je 0x43f20e
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x43f1ea
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
call edi
mov dword [esi], 0xffffffff
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x43f1fc
push eax
call edi
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x43f20e
push eax
call edi
mov dword [esi + 8], 0xffffffff
mov ebx, dword [ebp + 8]
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x43f243
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f250
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x10]
call fcn.00417880
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 2
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x43f28f
mov eax, dword [ecx]
push 0
push esi
call dword [eax]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp byte [esi + 0x28], 0
mov dword [esi + 8], eax
jne 0x43f2e1
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x43fac0
push 0
push 0
call fcn.005f6060
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x43f2e1
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x43f2d6
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43f2f0
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
cmp dword [esi + 0x283c8], 0xffffffff
je 0x43f30e
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 1
lea eax, [ebp - 0x34]
xor ecx, ecx
push eax
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], eax
lea edi, [esi + 0x28374]
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 0
mov ebx, edi
mov dword [ebp - 4], eax
nop word [eax + eax]
lea eax, [ebp - 0x20]
push eax
push 0x3e8
push 0x6000
push 0x6000
push 0xa
push 6
push 0x40000003
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
cmp eax, 0xffffffff
je 0x43f429
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [ebx - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
add dword [ebp - 8], 2
mov dword [ebx], eax
mov eax, dword [ebx - 4]
mov dword [ecx], eax
mov eax, dword [ebx]
add ebx, 8
mov dword [ecx + 0x14], eax
add ecx, 0x4058
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
cmp eax, 0xa
jb 0x43f360
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 8]
mov dword [esi + ecx*4 + 0x28370], eax
mov dword [esi + 0x283c4], eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x43f9b0
push 0
push 0
call fcn.005f6060
add esp, 0x18
mov dword [esi + 0x283c8], eax
test eax, eax
je 0x43f429
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi + 0x283c4]
cmp eax, 0xffffffff
je 0x43f441
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x283c8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x43f463
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x283c8]
call ebx
push dword [esi + 0x283c4]
call ebx
mov dword [esi + 0x283c4], 0xffffffff
mov dword [esi + 0x283c0], 0xffffffff
add esi, 0x28
mov dword [ebp + 8], 0xa
nop dword [eax]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x43f4a8
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push dword [esi]
call ebx
mov dword [esi], 0xffffffff
mov eax, dword [edi - 4]
cmp eax, 0xffffffff
je 0x43f4ba
push eax
call ebx
mov dword [edi - 4], 0xffffffff
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x43f4ca
push eax
call ebx
mov dword [edi], 0xffffffff
mov dword [esi - 0x18], 0xffffffff
add edi, 8
mov dword [esi - 4], 0xffffffff
mov dword [esi + 0x4010], 0
add esi, 0x4058
sub dword [ebp + 8], 1
jne 0x43f490
mov ecx, dword [ebp - 0x10]
call fcn.0043f650
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43f6d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul edi, ebx, 0x4058
mov esi, ecx
mov dword [ebp + 8], 0
add edi, esi
cmp byte [edi + 0x2c], 0
je 0x43f791
push 0
lea eax, [ebp + 8]
push eax
push edi
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [edi + 0x4038]
sub ecx, 0
je 0x43f76d
sub ecx, 1
jne 0x43f791
test eax, eax
je 0x43f73c
mov eax, dword [ebp + 8]
test eax, eax
je 0x43f73c
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x43f791
mov edx, dword [ecx]
push 0
push eax
lea eax, [edi + 0x38]
push eax
push ebx
push esi
call dword [edx + 8]
jmp 0x43f791
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.0043f120
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x43f7f3
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
test eax, eax
je 0x43f820
mov dword [edi + 0x4038], 1
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x43f791
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax]
push 0x2000
lea eax, [edi + 0x38]
push 0
push eax
call fcn.005e3240
add esp, 0xc
lea eax, [edi + 0x30]
push edi
push eax
push 0x2000
lea eax, [edi + 0x38]
push eax
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43f7c3
xor al, al
jmp 0x43f7d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x43f7fc
mov al, 1
mov byte [edi + 0x2c], al
test al, al
jne 0x43f7f3
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x43f7f3
mov eax, dword [ecx]
lea edx, [edi + 0x38]
push 0
push dword [edi + 0x30]
push edx
push ebx
push esi
call dword [eax + 8]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.0043f120
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x43f820
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x43fc40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43fc70
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x43fc7f
mov eax, dword [ecx]
push 0
push esi
call dword [eax + 0xc]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43fc90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
imul ebx, edi, 0x4058
add ebx, esi
mov dword [ebp + 8], 0
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43fcc9
xor cl, cl
jmp 0x43fcd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x43fd0e
mov cl, 1
imul eax, edi, 0x4058
mov byte [ebx + 0x2d], cl
cmp byte [eax + esi + 0x2d], 0
jne 0x43fd05
push dword [eax + esi + 0x24]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x43fd05
mov eax, dword [ecx]
push 0
push edi
push esi
call dword [eax + 0xc]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push edi
mov ecx, esi
call fcn.0043f120
test al, al
jne 0x43fd05
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x443a80
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x394]
test ecx, ecx
je 0x443aad
mov eax, dword [ecx]
push 0x62f1a8
call dword [eax + 0x30]
mov ecx, dword [esi + 0x394]
sub esp, 0x10
mov eax, esp
xorps xmm0, xmm0
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x38]
push dword [esi + 0x368]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x443acb
push 0
push dword [esi + 0x368]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x443ad0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004f9e50
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x443bc9
test edi, edi
je 0x443bc9
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x104
jl 0x443bc9
push 0x4000
lea eax, [ebp - 0x4004]
push 0
push eax
call fcn.005e3240
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x443bc9
cmp eax, 0x3fff
ja 0x443bc9
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x443bc9
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x62ed78
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x443bc9
push ebx
push 0
push edi
call fcn.005e3240
mov ecx, dword [ebp - 0x4008]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebx - 1]
push eax
push edi
call fcn.00449800
add esp, 0x28
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f9a43
mov esp, ebp
pop ebp
ret 0xc
Function at 0x444fa0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movaps xmm0, xmmword [0x635400]
push ebx
push esi
push edi
push 0
mov esi, ecx
sub esp, 0x10
mov dword [esi + 0x318], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x314], eax
mov eax, esp
push 0
push 0x86000000
push 0x6340a0
push 0
movups xmmword [eax], xmm0
call fcn.00488ba0
push 0x6c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
test edi, edi
je 0x44501a
push edi
push 1
push 0x80
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x14]
push 0x1f4
push 0x294
push eax
call fcn.0040a3e0
add esp, 0x10
movups xmm1, xmmword [eax]
push 0x15
push 0xffffffffffffffff
movaps xmm0, xmm1
psrldq xmm0, 4
push 0xffffffffffffffff
movd eax, xmm0
push eax
movd eax, xmm1
push eax
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ebx, [esi + 0x30]
push str.BasicSetting_Nav
mov ecx, ebx
call fcn.00482ba0
test eax, eax
je 0x44507d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x198]
cmp dword [0x68d4d0], 0
je 0x445103
push str.ntdll.dll
mov dword [ebp - 0x1c], 0
xor edi, edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4450f9
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4450d8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
call eax
movzx eax, word [ebp - 0x18]
mov edi, 1
mov dword [ebp - 0x18], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x4450f9
mov eax, dword [0x69c400]
mov ecx, 1
cmp dword [ebp - 0x1c], 6
cmovae eax, ecx
mov dword [0x69c400], eax
mov dword [0x68d4d0], 0
cmp dword [0x69c400], 0
jne 0x445128
push str.hLayout_showCloud
mov ecx, ebx
call fcn.00482ba0
test eax, eax
je 0x445128
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x114]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f9a43
mov esp, ebp
pop ebp
ret 8