joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ad70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446350
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x460cd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], ebx
je 0x41aeaf
cmp dword [ebp + 0x14], ebx
je 0x41aeaf
cmp edx, ebx
je 0x41ae02
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41adc4
sub eax, esi
sar eax, 1
je 0x41ae02
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push edx
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x41ae08
mov dword [ebp - 0x24], eax
push 0x459988
lea edx, [ebp - 0x24]
push edx
call fcn.00430c48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0041e79e
mov esi, eax
mov dword [ebp - 0x20], esi
mov edx, dword [ebp + 0x14]
push edx
push ebx
push esi
call fcn.00430500
add esp, 0x10
cmp esi, ebx
jne 0x41ae3d
mov dword [ebp - 0x28], 0xe
push 0x459988
lea eax, [ebp - 0x28]
push eax
call fcn.00430c48
lea ecx, [ebp + 0x14]
push ecx
push esi
lea edx, [ebp - 0x1c]
push edx
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
je 0x41ae6f
mov dword [ebp - 0x2c], edi
push 0x459988
lea edx, [ebp - 0x2c]
push edx
call fcn.00430c48
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x18]
cmp eax, ecx
je 0x41ae8f
cmp ecx, 1
jne 0x41aea6
cmp eax, 2
jne 0x41aea6
mov eax, dword [ebp + 0x14]
push eax
push esi
push eax
mov eax, dword [ebp + 0x10]
push eax
jmp 0x41ae99
mov eax, dword [ebp + 0x14]
push eax
push esi
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0042f84a
add esp, 0x10
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
jmp 0x41aef0
mov dword [ebp - 0x30], 0x57
push 0x459988
lea edx, [ebp - 0x30]
push edx
call fcn.00430c48
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, 0x41aeeb
ret
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x41af03
cmp eax, dword [ebp + 8]
je 0x41af03
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x41af13
push eax
call fcn.0041e7a3
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41af30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446330
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x460cd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
cmp eax, edx
jne 0x41af85
mov dword [ebp - 0x1c], 0x57
push 0x459988
lea eax, [ebp - 0x1c]
push eax
call fcn.00430c48
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 0x14]
push esi
push eax
mov eax, dword [ebp + 0x18]
push eax
push edx
mov edx, dword [ebp + 0xc]
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41afba
cmp eax, dword [ebp + 8]
je 0x41afba
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c000
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x446bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
test edi, edi
je 0x41c153
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c050
sub eax, edx
sar eax, 1
je 0x41c153
push 0x800
push 0
lea eax, [ebp]
push eax
call fcn.00430500
push 0x3ff
push edi
push 0x400
lea ecx, [ebp]
push ecx
call fcn.0042f011
add esp, 0x1c
mov ecx, 0x455208
lea edx, [ebp]
call fcn.0041db60
mov ecx, 0x455208
lea edx, [ebp]
call fcn.0041dd10
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41c14a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x41c0f0
lea eax, [ebp]
push eax
push str.Delete_File____s_
mov ecx, esi
mov edx, 0x466338
call fcn.0041a540
add esp, 8
mov dword [ebp - 0x18], esi
push 0x459988
lea ecx, [ebp - 0x18]
push ecx
call fcn.00430c48
sub eax, 2
je 0x41c145
sub eax, 3
je 0x41c120
sub eax, 0x1b
je 0x41c12f
lea edx, [ebp]
push edx
push str.Delete_File____s_
mov ecx, esi
mov edx, 0x466338
call fcn.0041a540
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x41c196
push 0x80
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp]
call fcn.0041ca00
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x41c196
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x41c196
mov eax, 0x57
jmp 0x41c198
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 + 0x800]
xor ecx, ebp
call fcn.0042f002
add ebp, 0x804
mov esp, ebp
pop ebp
ret
Function at 0x41c1c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446ee0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1a68
call fcn.00434bf0
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, 1
mov dword [ebp - 4], 0
test esi, esi
je 0x41c408
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c212
sub eax, edx
sar eax, 1
je 0x41c408
push 0x800
push 0
lea eax, [ebp - 0x818]
push eax
call fcn.00430500
add esp, 0xc
push 0x3ff
push esi
push 0x400
lea ecx, [ebp - 0x818]
push ecx
call fcn.0042f011
mov ecx, 0x455208
lea edx, [ebp - 0x818]
call fcn.0041db60
mov ecx, 0x45528c
lea edx, [ebp - 0x818]
call fcn.0041dd10
push 0x800
push 0
lea edx, [ebp - 0x1818]
push edx
call fcn.00430500
add esp, 0x1c
lea eax, [ebp - 0x818]
push eax
push str._s.
lea edx, [ebp - 0x1818]
call fcn.00402fe0
add esp, 8
lea ecx, [ebp - 0x1a68]
push ecx
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov ebx, dword [ebp + 0xc]
lea ecx, [ecx]
cmp esi, 0xffffffff
je 0x41c3d7
lea eax, [ebp - 0x1a3c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c2d2
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x41c301
mov eax, 0x2e
cmp word [ebp - 0x1a3c], ax
jne 0x41c301
cmp word [ebp - 0x1a3a], ax
je 0x41c3ba
lea eax, [ebp - 0x1a3c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c310
sub eax, edx
sar eax, 1
cmp eax, 1
jne 0x41c332
cmp word [ebp - 0x1a3c], 0x2e
je 0x41c3ba
push 0x800
push 0
lea eax, [ebp - 0x1018]
push eax
call fcn.00430500
add esp, 0xc
lea ecx, [ebp - 0x1a3c]
push ecx
lea edx, [ebp - 0x818]
push edx
push str._s_s
lea edx, [ebp - 0x1018]
call fcn.00402fe0
add esp, 0xc
test byte [ebp - 0x1a68], 0x10
je 0x41c3af
test bl, bl
je 0x41c3af
push ebx
lea eax, [ebp - 0x1018]
push eax
call fcn.0041c1c0
add esp, 8
mov edi, eax
mov dword [ebp - 0x1a6c], edi
test edi, edi
je 0x41c3ba
lea ecx, [ebp - 0x1018]
push ecx
push str.Delete_Directory_:__s_
mov ecx, edi
mov edx, 0x466338
call fcn.0041a540
add esp, 8
jmp 0x41c3ba
lea ecx, [ebp - 0x1018]
call fcn.0041c000
lea edx, [ebp - 0x1a68]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41c2c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
je 0x41c3ff
lea ecx, [ebp - 0x818]
push ecx
call fcn.0041c480
add esp, 4
mov edi, eax
mov dword [ebp - 0x1a6c], edi
mov dword [ebp - 4], 0xffffffff
jmp 0x41c457
mov eax, 0x57
jmp 0x41c459
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042f002
mov esp, ebp
pop ebp
ret
Function at 0x41c830
Capabilities:
Copy file
Delete file
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00434bf0
push 0xffffffffffffffff
push 0x446b80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov esi, edx
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
cmp ebx, edi
je 0x41c9bc
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c890
sub eax, edx
sar eax, 1
je 0x41c9bc
cmp esi, edi
je 0x41c9bc
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c8b2
sub eax, edx
sar eax, 1
je 0x41c9bc
push 0x5c
push esi
call fcn.0043024a
add esp, 8
mov edi, eax
test edi, edi
jne 0x41c8ed
mov dword [ebp - 0x1c], 0x57
push 0x459988
lea eax, [ebp - 0x1c]
push eax
call fcn.00430c48
mov ecx, edi
sub ecx, esi
sar ecx, 1
push ecx
push esi
push 0x400
lea edx, [ebp]
push edx
call fcn.0042f011
push 0x800
push 0
lea eax, [ebp + 0x800]
push eax
call fcn.00430500
add esp, 0x1c
lea ecx, [ebp + 0x800]
push ecx
push 0
push edi
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x41c945
push esi
push str._s.tmp
lea edx, [ebp + 0x800]
call fcn.00402fe0
add esp, 8
push 1
lea eax, [ebp + 0x800]
push eax
push esi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
test eax, eax
je 0x41c984
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41c978
push 4
push 0
lea ecx, [ebp + 0x800]
push ecx
call edi
jmp 0x41c98d
push 1
push esi
lea edx, [ebp + 0x800]
push edx
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0042f002
add ebp, 0x1004
mov esp, ebp
pop ebp
ret
mov eax, 0x57
jmp 0x41c997
Function at 0x41ca00
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00434bf0
push 0xffffffffffffffff
push 0x446b50
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x41cb86
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41ca57
sub eax, edx
sar eax, 1
je 0x41cb86
push 0x5c
push edi
call fcn.0043024a
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x41cb86
push 0x800
push ebx
lea eax, [ebp]
push eax
call fcn.00430500
add esp, 0xc
lea ecx, [ebp]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41cabd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
push 0x459988
lea edx, [ebp - 0x1c]
push edx
call fcn.00430c48
push 0x800
push ebx
lea eax, [ebp + 0x800]
push eax
call fcn.00430500
add esp, 0xc
lea ecx, [ebp + 0x800]
push ecx
push ebx
add esi, 2
push esi
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x41cb03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
push 0x459988
lea eax, [ebp - 0x24]
push eax
call fcn.00430c48
push 3
lea ecx, [ebp + 0x800]
push ecx
push edi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call esi
test eax, eax
jne 0x41cb30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
push 0x459988
lea edx, [ebp - 0x20]
push edx
call fcn.00430c48
push 4
push ebx
lea eax, [ebp + 0x800]
push eax
call esi
test eax, eax
jne 0x41cb57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push 0x459988
lea ecx, [ebp - 0x18]
push ecx
call fcn.00430c48
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0042f002
add ebp, 0x1004
mov esp, ebp
pop ebp
ret
mov eax, 0x57
jmp 0x41cb61
Function at 0x41cbe0
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00434bf0
push 0xffffffffffffffff
push 0x446b20
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x100c]
mov dword [ebp - 0x24], eax
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0x5c
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
cmp edx, edi
je 0x41cdc5
mov eax, edx
lea esi, [eax + 2]
jmp 0x41cc50
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41cc50
sub eax, esi
sar eax, 1
je 0x41cdc5
push 0x3ff
push edx
push 0x400
lea ecx, [ebp]
push ecx
call fcn.0042f011
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp]
push ecx
call fcn.0042fe3d
add esp, 0x1c
cmp eax, edi
je 0x41cd96
push 0x3ff
push eax
push 0x400
lea edx, [ebp + 0x800]
push edx
call fcn.0042f011
push 0x3ff
push 0x44e838
push 0x400
lea eax, [ebp + 0x800]
push eax
call fcn.0042f0da
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
push edi
call fcn.0042fe3d
add esp, 0x2c
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, edi
cmp eax, edi
je 0x41cd93
mov ecx, eax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x41ccf0
sub ecx, esi
sar ecx, 1
je 0x41cd93
push eax
push 0x400
lea eax, [ebp + 0x800]
push eax
call fcn.0043027a
push 0x44e838
push 0x400
lea ecx, [ebp + 0x800]
push ecx
call fcn.0043027a
add esp, 0x18
push edi
lea edx, [ebp + 0x800]
push edx
call ebx
test eax, eax
je 0x41cd72
mov ecx, dword [ebp - 0x24]
cmp ecx, edi
je 0x41cd5c
mov eax, dword [ebp + 0x1010]
push eax
push 1
lea edx, [ebp + 0x800]
call fcn.0041e2c0
add esp, 8
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.0042fe3d
add esp, 0xc
jmp 0x41cce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp eax, 0xb7
je 0x41cd5c
mov dword [ebp - 0x20], eax
push 0x459988
lea ecx, [ebp - 0x20]
push ecx
call fcn.00430c48
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0042f002
add ebp, 0x1004
mov esp, ebp
pop ebp
ret
mov eax, 0x57
jmp 0x41cda0
Function at 0x41cfa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x460cd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
cmp ebx, edi
je 0x41d07d
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41cfe5
sub eax, edx
sar eax, 1
je 0x41d07d
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
jbe 0x41d061
push esi
call fcn.0041e79e
add esp, 4
mov edi, eax
test edi, edi
je 0x41d061
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, 1
jne 0x41d058
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x44e838
push edi
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x41d058
push 0x34
mov edx, dword [ebp - 0x1c]
push edx
push 0x34
mov eax, dword [ebp + 8]
push eax
call fcn.0042f84a
add esp, 0x10
mov dword [ebp - 0x14], 1
push edi
call fcn.0041e7a3
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41d0c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446490
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4004
call fcn.00434bf0
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x2000
push 0
lea eax, [ebp - 0x2014]
push eax
call fcn.00430500
push 0x2000
push 0
lea ecx, [ebp - 0x4014]
push ecx
call fcn.00430500
add esp, 0x18
mov dword [ebp - 4], 0
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x1000
lea ecx, [ebp - 0x2014]
push ecx
call fcn.0042f3ea
lea edx, [ebp - 0x2014]
push edx
push 0x4556d4
lea edx, [ebp - 0x4014]
call fcn.0041acd0
add esp, 0x18
lea eax, [ebp - 0x4014]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042f002
mov esp, ebp
pop ebp
ret
Function at 0x41d300
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x446a80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x128]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push 0x11c
push esi
lea edx, [ebp]
push edx
call fcn.00430500
add esp, 0xc
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
call edi
mov ebx, eax
test ebx, ebx
jne 0x41d390
mov dword [ebp], 0x114
lea ecx, [ebp]
push ecx
call edi
test eax, eax
je 0x41d52e
mov eax, dword [ebp + 0x10]
sub eax, 0
je 0x41d4e4
mov ecx, 1
sub eax, ecx
je 0x41d46f
sub eax, ecx
jne 0x41d4e9
mov eax, dword [ebp + 4]
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x41d3c0
jmp dword [eax*4 + 0x41d554]
mov esi, 0x20001
jmp 0x41d4e6
mov esi, 0x20002
jmp 0x41d4e6
mov eax, dword [ebp + 8]
sub eax, 0
je 0x41d428
sub eax, ecx
je 0x41d3eb
sub eax, ecx
je 0x41d3f5
mov esi, 0x40002
jmp 0x41d4e6
mov esi, 0x40003
mov dword [ebp - 0x14], esi
cmp byte [0x466560], 0
je 0x41d4e9
test ebx, ebx
je 0x41d4e9
cmp byte [ebp + 0x11a], cl
jne 0x41d4e9
mov esi, 0x40002
jmp 0x41d4e6
mov esi, 0x40001
jmp 0x41d4e6
cmp dword [ebp + 8], 0
je 0x41d451
xor edx, edx
cmp byte [ebp + 0x11a], cl
setne dl
lea edx, [edx + edx + 0x100002]
mov esi, edx
jmp 0x41d4e6
test ebx, ebx
je 0x41d468
cmp byte [ebp + 0x11a], cl
jne 0x41d4e9
mov esi, 0x100001
jmp 0x41d4e6
mov esi, 0x100003
jmp 0x41d4e6
mov esi, dword [ebp + 8]
test esi, esi
je 0x41d4ac
cmp esi, 0xa
je 0x41d48d
sub esi, 0x5a
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x10005
jmp 0x41d4e6
push 0x45575c
lea eax, [ebp + 0x14]
push eax
call fcn.0042f75b
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
add esi, 0x10004
jmp 0x41d4e6
push 0x455754
lea ecx, [ebp + 0x14]
push ecx
call fcn.0042f75b
add esp, 8
test eax, eax
je 0x41d4dd
push 0x455758
lea edx, [ebp + 0x14]
push edx
call fcn.0042f75b
add esp, 8
test eax, eax
je 0x41d4dd
mov esi, 0x10001
jmp 0x41d4e6
mov esi, 0x10002
jmp 0x41d4e6
xor esi, esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41d4f5
mov ecx, dword [ebp + 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41d501
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
jmp 0x41d52c
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 + 0x11c]
xor ecx, ebp
call fcn.0042f002
add ebp, 0x120
mov esp, ebp
pop ebp
ret
Function at 0x41d570
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446a50
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x6870
call fcn.00434bf0
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x6834], edi
lea ebx, [edi + 0x20]
mov dword [ebp - 4], edi
cmp esi, edi
je 0x41d7b2
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d5c3
sub eax, edx
sar eax, 1
je 0x41d7b2
push 0x44
push edi
lea eax, [ebp - 0x6880]
push eax
call fcn.00430500
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x682c], eax
mov dword [ebp - 0x6828], eax
mov dword [ebp - 0x6824], eax
mov dword [ebp - 0x6820], eax
push 0x800
push edi
lea ecx, [ebp - 0x6818]
push ecx
call fcn.00430500
add esp, 0xc
push 0x2000
push edi
lea edx, [ebp - 0x2018]
push edx
call fcn.00430500
add esp, 0xc
push 0x2000
push edi
lea eax, [ebp - 0x4018]
push eax
call fcn.00430500
add esp, 0xc
push 0x2000
push edi
lea ecx, [ebp - 0x6018]
push ecx
call fcn.00430500
add esp, 0xc
push esi
push 0x1000
lea edx, [ebp - 0x4018]
push edx
call fcn.0042f50c
add esp, 0xc
mov ecx, 0x455208
lea edx, [ebp - 0x4018]
call fcn.0041db60
mov ecx, 0x455208
lea edx, [ebp - 0x4018]
call fcn.0041dd10
lea eax, [ebp - 0x4018]
push eax
push 0x1000
lea ecx, [ebp - 0x6018]
push ecx
call fcn.0042f50c
add esp, 0xc
mov ecx, 0x4512dc
lea edx, [ebp - 0x6018]
call fcn.0041db60
mov ecx, 0x4512dc
lea edx, [ebp - 0x6018]
call fcn.0041dd10
push 0x1000
lea edx, [ebp - 0x6018]
push edx
call fcn.004304df
push str..EXE
lea eax, [ebp - 0x6018]
push eax
call fcn.0042f7ec
add esp, 0x10
cmp eax, edi
je 0x41d714
mov word [eax], di
push 0x5c
lea ecx, [ebp - 0x6018]
push ecx
call fcn.0043024a
add esp, 8
cmp eax, edi
je 0x41d714
mov word [eax], di
lea esi, [ebp - 0x6018]
jmp 0x41d716
xor esi, esi
call fcn.0041d800
test al, al
je 0x41d736
mov ebx, 0x1000020
push str._RunExecute__CREATE_BREAKAWAY_FROM_JOB_flag_has_been_added
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
lea edx, [ebp - 0x4018]
push edx
push str._RunExecute__Command_Line____s_
mov ecx, 0x466338
call fcn.0041a690
add esp, 8
lea eax, [ebp - 0x682c]
push eax
lea ecx, [ebp - 0x6880]
push ecx
push esi
push edi
push ebx
push edi
push edi
push edi
lea edx, [ebp - 0x4018]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41d77d
mov dword [ebp - 0x681c], edi
jmp 0x41d789
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x681c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x681c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042f002
mov esp, ebp
pop ebp
ret
push str.Fail_____Invalid_Parameter_in_RunExecute____
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
mov eax, 0x57
jmp 0x41d796