joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c7ef
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4242b4]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push 0x401b74
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.0040c2fe
test eax, eax
je 0x40c8a6
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.0040c335
test eax, eax
je 0x40c88d
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c892
test al, 1
je 0x40c88d
lea eax, [ebp - 0x108]
push eax
push 0x401b4c
call fcn.0040be00
pop ecx
pop ecx
push 0x80
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x40c882
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x401b0c
jmp 0x40c89e
push 0x401ad0
call fcn.0040be00
pop ecx
xor eax, eax
inc eax
jmp 0x40c8b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x401a90
call fcn.0040be00
pop ecx
jmp 0x40c8b0
push 0x401a6c
call fcn.0040be00
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret 8

Function at 0x40cb24
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4242b4]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x401d8c
push eax
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x108]
push eax
call fcn.0040c2ca
test eax, eax
je 0x40cc77
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40cc82
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push 0x401d88
lea eax, [ebp - 0x21c]
push eax
call edi
test eax, eax
je 0x40cc56
push 0x401d84
lea eax, [ebp - 0x21c]
push eax
call edi
test eax, eax
je 0x40cc56
lea eax, [ebp - 0x21c]
push eax
push 0x401354
push dword [ebp - 0x24c]
lea eax, [ebp - 0x108]
push eax
call fcn.0040c2fe
test eax, eax
jne 0x40cbe2
push 0x401d58
call fcn.0040be00
jmp 0x40cc02
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40cc05
call esi
push eax
push 0x401d1c
call fcn.0040be00
pop ecx
pop ecx
jmp 0x40cc56
test al, 0x10
lea eax, [ebp - 0x108]
push eax
je 0x40cc17
call fcn.0040cb24
jmp 0x40cc56
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40cc56
call esi
cmp eax, 0x20
je 0x40cc41
cmp eax, 0x21
je 0x40cc41
cmp eax, 5
je 0x40cc41
push eax
lea eax, [ebp - 0x108]
push eax
push 0x401cf4
jmp 0x40cc4e
push eax
lea eax, [ebp - 0x108]
push eax
push 0x401cc0
call fcn.0040be00
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40cb88
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
jmp 0x40cc82
push 0x401c98
call fcn.0040be00
pop ecx
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0041a84f
leave
ret 4
Function at 0x40cc94
Capabilities:
Check if file exists
Get common file path
Get file attributes
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x368
mov eax, dword [0x4242b4]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
inc ebx
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x364], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40cceb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x40cce4
cmp eax, 2
je 0x40cce4
push eax
push 0x401ef0
call fcn.0040be00
pop ecx
pop ecx
jmp 0x40ccf5
mov eax, ebx
jmp 0x40cddb
test al, 0x10
je 0x40ccf5
push esi
call fcn.0040cb24
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x40cd1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x401ea8
call fcn.0040be00
pop ecx
jmp 0x40cd51
xor ebx, ebx
push ebx
push esi
lea eax, [ebp - 0x108]
push eax
push 0x401e70
lea eax, [ebp - 0x360]
push 0x258
push eax
call fcn.0041ae94
add esp, 0x18
test eax, eax
jge 0x40cd59
push 0x401e40
call fcn.0040be00
pop ecx
xor eax, eax
jmp 0x40cddb
lea eax, [ebp - 0x368]
push eax
push 2
push ebx
push 0x401e0c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40cdc2
lea eax, [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x360]
push eax
push 1
push ebx
push edi
push dword [ebp - 0x368]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x40cdb4
push eax
push 0x401dd0
call fcn.0040be00
pop ecx
pop ecx
mov dword [ebp - 0x364], ebx
push dword [ebp - 0x368]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40cdd5
push eax
push 0x401d94
call fcn.0040be00
pop ecx
pop ecx
mov dword [ebp - 0x364], ebx
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0041a84f
leave
ret 8
Function at 0x40cdef
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4242b4]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], edi
call esi
push 0x402000
mov ebx, eax
call esi
lea eax, [ebx + eax + 1]
cmp eax, 0x104
jle 0x40ce3e
push 0x401fd4
call fcn.0040be00
pop ecx
push 0xfffffffffffffff7
pop eax
jmp 0x40cf8f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea eax, [ebp - 0x108]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x401fcc
lea eax, [ebp - 0x108]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
test eax, eax
je 0x40cf5f
push dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
call esi
push 0x401600
lea eax, [ebp - 0x108]
push eax
call edi
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
test eax, eax
je 0x40cf5f
push dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
call esi
push 0x401fc4
lea eax, [ebp - 0x108]
push eax
call edi
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
test eax, eax
je 0x40cf5f
push dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
call esi
push 0x401fbc
lea eax, [ebp - 0x108]
push eax
call edi
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
test eax, eax
je 0x40cf5f
push dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
call esi
push 0x401fb4
lea eax, [ebp - 0x108]
push eax
call edi
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
test eax, eax
je 0x40cf5f
push dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
call esi
push 0x402000
lea eax, [ebp - 0x108]
push eax
call edi
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
test eax, eax
jne 0x40cf8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
jne 0x40cf7c
push 0x401f70
call fcn.0040be00
pop ecx
push 0xfffffffffffffffa
jmp 0x40ce38
push eax
push 0x401f38
call fcn.0040be00
pop ecx
jmp 0x40ce35
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0041a84f
leave
ret 4

Function at 0x40d036
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x4020f4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d0a6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4020e8
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40d09b
cmp eax, 2
jne 0x40d08a
and dword [ebp - 4], 0
jmp 0x40d09b
push eax
push 0x4020b0
call fcn.0040be00
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d0b7
push eax
push 0x40207c
call fcn.0040be00
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov eax, dword [ebp - 4]
leave
ret
Function at 0x40d0c1
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424120]
cmp eax, 0xffffffff
je 0x40d0eb
test eax, eax
setne al
movzx eax, al
jmp 0x40d187
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x40d176
cmp dword [ebp - 0x94], 5
jb 0x40d176
push edi
push 0x40213c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d175
push esi
push 0x402120
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40d174
and dword [ebp - 0x9c], 0
push 0
push 4
lea eax, [ebp - 0x9c]
push eax
push 0x1a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jl 0x40d16d
cmp dword [ebp - 0x9c], 0
je 0x40d16d
mov dword [0x424120], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop edi
mov eax, dword [0x424120]
cmp eax, 0xffffffff
jne 0x40d187
xor eax, eax
mov dword [0x424120], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40d196
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424124]
cmp eax, 0xffffffff
je 0x40d1c0
test eax, eax
setne al
movzx eax, al
jmp 0x40d253
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40d23e
lea eax, [ebp - 0x108]
push eax
mov esi, 0x4021b8
push esi
call fcn.0040c335
test eax, eax
je 0x40d249
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0040c246
test eax, eax
je 0x40d237
cmp dword [ebp - 0x134], 0x50001
jne 0x40d249
mov eax, dword [ebp - 0x130]
shr eax, 0x10
cmp ax, 0xa28
jne 0x40d249
xor eax, eax
inc eax
mov dword [0x424124], eax
jmp 0x40d252
push 0x402180
jmp 0x40d243
push 0x402148
call fcn.0040be00
pop ecx
and dword [0x424124], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40d262
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424128]
cmp eax, 0xffffffff
je 0x40d28c
test eax, eax
setne al
movzx eax, al
jmp 0x40d310
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40d2fb
lea eax, [ebp - 0x108]
push eax
mov esi, 0x4021b8
push esi
call fcn.0040c335
test eax, eax
je 0x40d306
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0040c246
test eax, eax
je 0x40d2f4
cmp dword [ebp - 0x134], 0x50002
jne 0x40d306
xor eax, eax
inc eax
mov dword [0x424128], eax
jmp 0x40d30f
push 0x402204
jmp 0x40d300
push 0x4021c8
call fcn.0040be00
pop ecx
and dword [0x424128], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret
Function at 0x40d31f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x42412c]
cmp eax, 0xffffffff
je 0x40d349
test eax, eax
setne al
movzx eax, al
jmp 0x40d3cd
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40d3b8
lea eax, [ebp - 0x108]
push eax
mov esi, 0x4021b8
push esi
call fcn.0040c335
test eax, eax
je 0x40d3c3
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0040c246
test eax, eax
je 0x40d3b1
cmp dword [ebp - 0x134], 0x60000
jb 0x40d3c3
xor eax, eax
inc eax
mov dword [0x42412c], eax
jmp 0x40d3cc
push 0x402278
jmp 0x40d3bd
push 0x402240
call fcn.0040be00
pop ecx
and dword [0x42412c], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40d401
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424130]
cmp eax, 0xffffffff
je 0x40d428
test eax, eax
setne al
movzx eax, al
jmp 0x40d493
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x40d477
cmp dword [ebp - 0x94], 5
jne 0x40d477
cmp dword [ebp - 0x90], 1
jne 0x40d477
cmp word [ebp - 0x8c], 0xa28
jne 0x40d477
call fcn.0040d262
test eax, eax
jne 0x40d477
call fcn.0040d31f
test eax, eax
je 0x40d480
call fcn.0040d196
test eax, eax
je 0x40d48c
call fcn.0040d0c1
test eax, eax
jne 0x40d48c
inc eax
jmp 0x40d48e
xor eax, eax
mov dword [0x424130], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40d4a2
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424134]
cmp eax, 0xffffffff
je 0x40d4c9
test eax, eax
setne al
movzx eax, al
jmp 0x40d536
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x40d518
cmp dword [ebp - 0x94], 5
jne 0x40d518
cmp dword [ebp - 0x90], 1
jne 0x40d518
cmp word [ebp - 0x8c], 0xa28
jne 0x40d518
call fcn.0040d262
test eax, eax
jne 0x40d518
call fcn.0040d31f
test eax, eax
je 0x40d521
call fcn.0040d196
test eax, eax
je 0x40d52f
call fcn.0040d0c1
test eax, eax
je 0x40d52f
xor eax, eax
inc eax
jmp 0x40d531
xor eax, eax
mov dword [0x424134], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret
Function at 0x40d545
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424138]
cmp eax, 0xffffffff
je 0x40d56c
test eax, eax
setne al
movzx eax, al
jmp 0x40d5d6
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x40d5b0
cmp dword [ebp - 0x9c], 5
jne 0x40d5b0
cmp dword [ebp - 0x98], 1
jne 0x40d5b0
cmp word [ebp - 0x94], 0xa28
jne 0x40d5b0
cmp word [ebp - 0xc], 0
ja 0x40d5c3
call fcn.0040d196
test eax, eax
je 0x40d5cf
call fcn.0040d036
test ax, ax
jbe 0x40d5cf
call fcn.0040d0c1
test eax, eax
jne 0x40d5cf
inc eax
jmp 0x40d5d1
xor eax, eax
mov dword [0x424138], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40d5e5
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x42413c]
cmp eax, 0xffffffff
je 0x40d60c
test eax, eax
setne al
movzx eax, al
jmp 0x40d677
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x40d650
cmp dword [ebp - 0x9c], 5
jne 0x40d650
cmp dword [ebp - 0x98], 1
jne 0x40d650
cmp word [ebp - 0x94], 0xa28
jne 0x40d650
cmp word [ebp - 0xc], 2
je 0x40d664
call fcn.0040d196
test eax, eax
je 0x40d670
call fcn.0040d036
cmp ax, 0x200
jne 0x40d670
call fcn.0040d0c1
test eax, eax
jne 0x40d670
inc eax
jmp 0x40d672
xor eax, eax
mov dword [0x42413c], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40d686
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424140]
cmp eax, 0xffffffff
je 0x40d6ad
test eax, eax
setne al
movzx eax, al
jmp 0x40d719
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x40d6f1
cmp dword [ebp - 0x9c], 5
jne 0x40d6f1
cmp dword [ebp - 0x98], 1
jne 0x40d6f1
cmp word [ebp - 0x94], 0xa28
jne 0x40d6f1
cmp word [ebp - 0xc], 0
ja 0x40d704
call fcn.0040d196
test eax, eax
je 0x40d712
call fcn.0040d036
test ax, ax
jbe 0x40d712
call fcn.0040d0c1
test eax, eax
je 0x40d712
xor eax, eax
inc eax
jmp 0x40d714
xor eax, eax
mov dword [0x424140], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret
Function at 0x40d728
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424144]
cmp eax, 0xffffffff
je 0x40d74f
test eax, eax
setne al
movzx eax, al
jmp 0x40d7bc
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x40d793
cmp dword [ebp - 0x9c], 5
jne 0x40d793
cmp dword [ebp - 0x98], 1
jne 0x40d793
cmp word [ebp - 0x94], 0xa28
jne 0x40d793
cmp word [ebp - 0xc], 2
je 0x40d7a7
call fcn.0040d196
test eax, eax
je 0x40d7b5
call fcn.0040d036
cmp ax, 0x200
jne 0x40d7b5
call fcn.0040d0c1
test eax, eax
je 0x40d7b5
xor eax, eax
inc eax
jmp 0x40d7b7
xor eax, eax
mov dword [0x424144], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40d7cb
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424148]
cmp eax, 0xffffffff
je 0x40d7f2
test eax, eax
setne al
movzx eax, al
jmp 0x40d849
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x40d82d
cmp dword [ebp - 0x94], 5
jne 0x40d82d
cmp dword [ebp - 0x90], 2
jne 0x40d82d
call fcn.0040d31f
test eax, eax
je 0x40d836
call fcn.0040d262
test eax, eax
je 0x40d842
call fcn.0040d0c1
test eax, eax
jne 0x40d842
inc eax
jmp 0x40d844
xor eax, eax
mov dword [0x424148], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40d858
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x42414c]
cmp eax, 0xffffffff
je 0x40d87f
test eax, eax
setne al
movzx eax, al
jmp 0x40d8df
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x40d8b8
cmp dword [ebp - 0x9c], 5
jne 0x40d8b8
cmp dword [ebp - 0x98], 2
jne 0x40d8b8
cmp word [ebp - 0xc], 1
je 0x40d8cc
call fcn.0040d262
test eax, eax
je 0x40d8d8
call fcn.0040d036
cmp ax, 0x100
jne 0x40d8d8
call fcn.0040d0c1
test eax, eax
jne 0x40d8d8
inc eax
jmp 0x40d8da
xor eax, eax
mov dword [0x42414c], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40d8ee
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424150]
cmp eax, 0xffffffff
je 0x40d915
test eax, eax
setne al
movzx eax, al
jmp 0x40d96e
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x40d950
cmp dword [ebp - 0x94], 5
jne 0x40d950
cmp dword [ebp - 0x90], 2
jne 0x40d950
call fcn.0040d31f
test eax, eax
je 0x40d959
call fcn.0040d262
test eax, eax
je 0x40d967
call fcn.0040d0c1
test eax, eax
je 0x40d967
xor eax, eax
inc eax
jmp 0x40d969
xor eax, eax
mov dword [0x424150], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret
Function at 0x40d97d
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424154]
cmp eax, 0xffffffff
je 0x40d9a4
test eax, eax
setne al
movzx eax, al
jmp 0x40da06
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x40d9dd
cmp dword [ebp - 0x9c], 5
jne 0x40d9dd
cmp dword [ebp - 0x98], 2
jne 0x40d9dd
cmp word [ebp - 0xc], 1
je 0x40d9f1
call fcn.0040d262
test eax, eax
je 0x40d9ff
call fcn.0040d036
cmp ax, 0x100
jne 0x40d9ff
call fcn.0040d0c1
test eax, eax
je 0x40d9ff
xor eax, eax
inc eax
jmp 0x40da01
xor eax, eax
mov dword [0x424154], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40da15
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424158]
cmp eax, 0xffffffff
je 0x40da3c
test eax, eax
setne al
movzx eax, al
jmp 0x40daab
push esi
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x40da6f
cmp dword [ebp - 0x94], 6
jne 0x40da6f
cmp dword [ebp - 0x90], 0
je 0x40da7c
call fcn.0040d31f
test eax, eax
jne 0x40da7c
xor esi, esi
jmp 0x40da7f
xor esi, esi
inc esi
test esi, esi
mov dword [0x424158], esi
je 0x40daa8
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push 0x4022b0
call fcn.0040be00
add esp, 0x10
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40daba
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x42415c]
cmp eax, 0xffffffff
je 0x40dae1
test eax, eax
setne al
movzx eax, al
jmp 0x40db26
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x40db1f
cmp dword [ebp - 0x94], 5
jne 0x40db1f
cmp dword [ebp - 0x90], 0
jne 0x40db1f
call fcn.0040d3dc
test eax, eax
jne 0x40db1f
inc eax
jmp 0x40db21
xor eax, eax
mov dword [0x42415c], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret

Function at 0x40db5a
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4242b4]
mov dword [ebp - 4], eax
mov eax, dword [0x424160]
cmp eax, 0xffffffff
je 0x40db81
test eax, eax
setne al
movzx eax, al
jmp 0x40dbcf
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
call fcn.0040d7cb
test eax, eax
jne 0x40dbc7
cmp dword [ebp - 0x90], 2
jne 0x40dbca
cmp dword [ebp - 0x9c], 5
jne 0x40dbca
cmp dword [ebp - 0x98], eax
jne 0x40dbca
cmp byte [ebp - 6], 3
je 0x40dbc7
cmp byte [ebp - 6], 2
jne 0x40dbca
xor eax, eax
inc eax
mov dword [0x424160], eax
mov ecx, dword [ebp - 4]
call fcn.0041a84f
leave
ret