joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403240
Capabilities:
Enumerate disk volumes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x61cff8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], edx
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, 0xffffffff
je 0x403364
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403277
xor eax, eax
sub ecx, edx
push eax
push eax
push 3
push eax
push 3
sar ecx, 1
push eax
push ebx
mov word [ebx + ecx*2 - 2], ax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, ebx
mov edi, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4032a3
sub edx, esi
mov eax, 0x5c
sar edx, 1
mov word [ebx + edx*2], ax
cmp edi, 0xffffffff
je 0x40334c
push 0x1820
mov dword [ebp - 8], 0x1820
call fcn.00586a70
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp - 8]
push esi
push 0
push 0
push 0x560000
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40333c
mov edx, dword [esi]
xor ecx, ecx
test edx, edx
je 0x40333c
lea eax, [esi + 0x10]
mov edx, dword [ebp - 0x10]
cmp dword [eax - 8], edx
mov edx, dword [esi]
jne 0x403334
mov edx, dword [ebp + 8]
cmp dword [eax], edx
mov edx, dword [esi]
jne 0x403334
mov edx, dword [ebp + 0xc]
cmp dword [eax + 4], edx
mov edx, dword [esi]
jne 0x403334
mov edx, dword [ebp + 0x10]
cmp dword [eax + 8], edx
mov edx, dword [esi]
jne 0x403334
mov edx, dword [ebp + 0x14]
cmp dword [eax + 0xc], edx
mov edx, dword [esi]
je 0x40337e
inc ecx
add eax, 0x18
cmp ecx, edx
jb 0x403303
push esi
call fcn.00586a7b
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xc]
push 0x104
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x403272
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret
push esi
call fcn.00586a7b
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret
Function at 0x4033b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a768c
mov eax, dword fs:[0]
push eax
sub esp, 0x544
mov eax, dword [0x61cff8]
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, edx
mov esi, ecx
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005829e0
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.005829e0
add esp, 0x18
mov dword [ebp - 0x434], 0
lea eax, [ebp - 0x428]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
push 0x105
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x434]
push eax
push 0x105
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x403600
cmp word [ebp - 0x21c], 0
je 0x403534
lea eax, [ebp - 0x4c8]
mov dword [ebp - 0x4cc], eax
lea ecx, [ebp - 0x4cc]
push 0xfde9
lea eax, [ebp - 0x21c]
push eax
call fcn.00406eb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
mov eax, dword [ebp - 0x4cc]
xorps xmm0, xmm0
mov dword [ebp - 0x438], eax
movq qword [ebp - 0x440], xmm0
mov byte [ebp - 0x448], 3
call fcn.00409220
mov edi, eax
mov dword [ebp - 0x440], edi
push str.label
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00407a80
mov esi, eax
mov eax, dword [ebp - 0x43c]
mov cl, byte [esi]
mov byte [esi], 3
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x448], cl
mov ecx, dword [esi + 8]
mov dword [ebp - 0x440], ecx
lea ecx, [ebp - 0x448]
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [ebp - 0x43c], edx
call fcn.00405930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c8]
mov eax, dword [ebp - 0x4cc]
cmp eax, ecx
je 0x403534
push eax
call fcn.00586a7b
add esp, 4
cmp word [ebp - 0x428], 0
je 0x4035fc
lea eax, [ebp - 0x54c]
mov dword [ebp - 0x550], eax
lea ecx, [ebp - 0x550]
push 0xfde9
lea eax, [ebp - 0x428]
push eax
call fcn.00406eb0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x438]
mov eax, dword [ebp - 0x550]
xorps xmm0, xmm0
mov dword [ebp - 0x438], eax
movq qword [ebp - 0x440], xmm0
mov byte [ebp - 0x448], 3
call fcn.00409220
mov edi, eax
mov dword [ebp - 0x440], edi
push str.format
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00407a80
mov esi, eax
mov eax, dword [ebp - 0x43c]
mov cl, byte [esi]
mov byte [esi], 3
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x448], cl
mov ecx, dword [esi + 8]
mov dword [ebp - 0x440], ecx
lea ecx, [ebp - 0x448]
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [ebp - 0x43c], edx
call fcn.00405930
mov eax, dword [ebp - 0x550]
lea ecx, [ebp - 0x54c]
cmp eax, ecx
je 0x4035fc
push eax
call fcn.00586a7b
add esp, 4
mov al, 1
jmp 0x403602
xor al, al
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.0057e2f0
mov esp, ebp
pop ebp
ret
Function at 0x40bce0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a827c
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x61cff8]
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
mov dword [ebp - 0x264], esi
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00582137
xor ecx, ecx
mov dword [ebp - 0x234], 7
add esp, 8
mov dword [ebp - 0x238], ecx
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x40bda3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bd94
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040f000
push 0x5f400c
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.0040edd0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x230]
cmp eax, edi
je 0x40be26
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40bdfd
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.0040b950
xor eax, eax
mov dword [ebp - 0x21c], 7
push edi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.004100a0
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x40be44
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.0040b950
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x250], 0
cmp eax, 8
jb 0x40be82
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.0040b950
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
test eax, eax
je 0x40bed1
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
call fcn.004100a0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x40beff
inc ecx
push ecx
jmp 0x40beee
xor eax, eax
push eax
push 0x5f3f54
mov word [esi], ax
call fcn.0040f000
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40beff
inc eax
push eax
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.0040b950
mov eax, esi
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.0057e2f0
mov esp, ebp
pop ebp
ret
Function at 0x40c9c0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a83d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x61cff8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x160], eax
cmp eax, 0xffffffff
jne 0x40cab5
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x804
movzx eax, ax
cmp ax, cx
mov ecx, 0xe
jne 0x40ca33
call fcn.00410110
jmp 0x40ca38
call fcn.004102c0
mov edx, eax
cmp word [edx], 0
jne 0x40ca44
xor ecx, ecx
jmp 0x40ca5f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ca50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x190]
call fcn.0040f000
lea ecx, [ebp - 0x28]
call fcn.00410470
push 0xffffffffffffffff
push 0
push eax
lea ecx, [edi + 0x190]
mov dword [ebp - 4], 0
call fcn.0040ecc0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40caa0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b950
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp word [esi], 0
jne 0x40cabf
xor ecx, ecx
jmp 0x40cad3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cac4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x24]
call fcn.0040f000
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x44], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x184], eax
mov eax, 1
mov dword [edi + 0x40], ecx
mov dword [edi + 0x80], ecx
mov dword [edi + 0x180], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40cb80
Capabilities:
Check if file exists
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40cbd7
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x804
cmp ax, cx
mov ecx, 1
jne 0x40cbb1
call fcn.00410110
jmp 0x40cbb6
call fcn.004102c0
mov edx, eax
cmp word [edx], 0
je 0x40cc89
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cbc7
jmp 0x40cc9d
test esi, esi
je 0x40cc60
cmp word [esi], 0
je 0x40cc60
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x40cc19
cmp word [eax], 0
je 0x40cc19
add eax, 2
mov ecx, edi
push eax
call fcn.0040cec0
test eax, eax
je 0x40cc19
push esi
lea ecx, [edi + 0x50]
call fcn.0040ea10
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x804
cmp ax, cx
mov ecx, 3
jne 0x40cc47
call fcn.00410110
push eax
lea ecx, [edi + 0x190]
call fcn.0040ea10
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
call fcn.004102c0
push eax
lea ecx, [edi + 0x190]
call fcn.0040ea10
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x804
cmp ax, cx
mov ecx, 2
jne 0x40cc7c
call fcn.00410110
jmp 0x40cc81
call fcn.004102c0
mov edx, eax
cmp word [edx], 0
jne 0x40cc8d
xor ecx, ecx
jmp 0x40cca1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cc92
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x190]
call fcn.0040f000
pop edi
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x40ccc0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x180]
or eax, dword [esi + 0x184]
jne 0x40cd46
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x804
cmp ax, cx
mov ecx, 4
jne 0x40ccf4
call fcn.00410110
jmp 0x40ccf9
call fcn.004102c0
mov edx, eax
cmp word [edx], 0
jne 0x40cd1a
xor ecx, ecx
push ecx
push edx
lea ecx, [esi + 0x190]
call fcn.0040f000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cd20
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x190]
call fcn.0040f000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0
push 0
push dword [ebp + 0x14]
lea ecx, [esi + 0x170]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040ff60
test al, al
jne 0x40cda4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x804
cmp ax, cx
mov ecx, 5
jne 0x40cd81
call fcn.00410110
jmp 0x40cd86
call fcn.004102c0
mov edx, eax
cmp word [edx], 0
je 0x40cd01
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cd97
jmp 0x40cd2b
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40cdc0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x180]
or eax, dword [esi + 0x184]
jne 0x40ce46
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x804
cmp ax, cx
mov ecx, 4
jne 0x40cdf4
call fcn.00410110
jmp 0x40cdf9
call fcn.004102c0
mov edx, eax
cmp word [edx], 0
jne 0x40ce1a
xor ecx, ecx
push ecx
push edx
lea ecx, [esi + 0x190]
call fcn.0040f000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ce20
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x190]
call fcn.0040f000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
push dword [ebp + 0x1c]
lea ecx, [esi + 0x170]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040ff60
test al, al
jne 0x40ceb0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x804
cmp ax, cx
mov ecx, 5
jne 0x40ce82
call fcn.00410110
jmp 0x40ce87
call fcn.004102c0
mov edx, eax
cmp word [edx], 0
je 0x40ce01
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cea0
jmp 0x40ce2b
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4106f0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x61cff8]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm0
push eax
movaps xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x40]
cmp eax, 0xc
ja case.0x41073f.1
movzx eax, byte [eax + 0x4107e4]
jmp dword [eax*4 + 0x4107cc]
mov eax, 0x5f4eb8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 0x5f4e90
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, str.ia64
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 0x5f4e98
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, str.arm64
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
mov eax, 0x5f3f54
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x410800
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x61cff8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov ebx, ecx
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x41083a
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret
push esi
push 0x5e64c8
push edi
call fcn.0057e419
mov esi, eax
add esp, 8
test esi, esi
je 0x4108a6
push esi
push edi
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4108a6
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5f4ef0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4108a6
cmp dword [ebp - 8], 0
je 0x4108a6
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._u._u
push 0x40
push dword [ebp - 0x14]
call fcn.004109b0
add esp, 0x14
mov bl, 1
jmp 0x4108a8
xor bl, bl
test esi, esi
je 0x4108b7
push 1
push esi
call fcn.0057e301
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret
Function at 0x4109e0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x61cff8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x628b78
mov dword [ebp - 0x10c], edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str..PipeRemoteExeAnon._08x._08x
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00411100
add esp, 0x14
lea eax, [ebp - 0x108]
push esi
push 0x1d4c0
push 0x1000
push 0x1000
push 1
push 0
push 0x40000001
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov edi, eax
test edi, edi
je 0x410a92
push 0
push 0x40000080
push 3
push esi
push 0
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x410aa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x10c]
mov dword [ebx], edi
pop edi
pop esi
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret 0x10

Function at 0x410b40
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x61cff8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
push edi
mov edi, ecx
call fcn.00410f70
test al, al
jne 0x410b76
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret 8
push esi
call fcn.005895fd
mov esi, eax
lea eax, [ebp - 0x48]
push 0x44
push 0
push eax
mov dword [ebp - 0x4c], esi
call fcn.005829e0
mov eax, dword [edi + 0x18]
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0xc]
or dword [ebp - 0x1c], 0x101
mov dword [ebp - 0x10], eax
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x44
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x410bf8
push dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0xc]
mov dword [edi + 0x18], 0
call esi
mov esi, dword [ebp - 0x4c]
mov bl, 1
mov dword [edi + 0xc], 0
push esi
call fcn.00586a7b
mov ecx, dword [ebp - 4]
add esp, 4
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret 8
Function at 0x410c20
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x410c60
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x410c54
push 0xffffffffffffffff
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [edi + 0x1c]
call ebx
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x410c71
push eax
call ebx
mov dword [edi + 0x20], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x410c82
push eax
call ebx
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x410c93
push eax
call ebx
mov dword [edi + 0x10], 0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x410ca4
push eax
call ebx
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x410cb5
push eax
call ebx
mov dword [edi + 0x18], 0
test esi, esi
je 0x410cc0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret

Function at 0x410cd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x61cff8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 0xc], eax
test esi, esi
je 0x410d3e
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 8], 0
test ecx, ecx
je 0x410d29
push 0
lea edx, [ebp - 8]
add eax, edi
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x410d29
mov eax, dword [ebp - 8]
test eax, eax
jle 0x410d29
add edi, eax
sub esi, eax
je 0x410d3e
mov eax, dword [ebp - 0xc]
jmp 0x410cf4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret 8