joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a9d0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x44aa05
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ba0
jmp 0x44aa0f
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b0c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44b94c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44b984
mov eax, esi
call fcn.00433540
test al, al
je 0x44b984
mov eax, dword [ebx + 0x74]
call fcn.00433244
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44b984
push 0
mov eax, dword [ebx + 0x74]
call fcn.00433244
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44d914
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44d95a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0044c770
mov eax, dword [ebp - 4]
call fcn.00403efc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d961
lea eax, [ebp - 4]
call fcn.00403ab8
ret

Function at 0x44d968
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403efc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44d981
test al, 0x10
je 0x44d985
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x44d9b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403efc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44d9ce
test al, 0x10
je 0x44d9ce
test ah, 4
je 0x44d9d2
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x44d9d8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
call fcn.00403eec
xor eax, eax
push ebp
push 0x44dac9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00403f08
mov ebx, pe_nt_image_headers32
mov eax, esi
mov ecx, ebx
xor edx, edx
call fcn.00403ba0
cmp dword [ebp + 0xc], 0
je 0x44da54
mov eax, dword [ebp + 0xc]
call fcn.00403efc
push eax
push ebx
mov eax, esi
call fcn.00403f08
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403efc
push eax
mov eax, dword [ebp - 8]
call fcn.00403efc
push eax
mov eax, dword [ebp - 4]
call fcn.00403efc
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
jmp 0x44da7d
push ebx
mov eax, esi
call fcn.00403f08
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403efc
push eax
mov eax, dword [ebp - 8]
call fcn.00403efc
push eax
mov eax, dword [ebp - 4]
call fcn.00403efc
push eax
call sub.kernel32.dll_GetProfileStringA
test eax, eax
je 0x44da8d
mov eax, dword [esi]
call fcn.00403efc
call fcn.0040a2f0
mov edx, ebx
sub edx, 8
cmp eax, edx
jl 0x44da9e
cmp ebx, 0x10000
jl 0x44daa8
mov edx, esi
xchg edx, eax
call fcn.0040406c
jmp 0x44dab3
mov eax, ebx
add eax, eax
mov ebx, eax
jmp 0x44da0f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dad0
lea eax, [ebp - 0xc]
call fcn.00403ab8
ret

Function at 0x44db9c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00403eec
xor eax, eax
push ebp
push 0x44dcbb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x44dc9d
cmp dword [ebp - 4], 0
je 0x44dc9d
mov eax, 0x4000
call fcn.0040271c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44dc96
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004117d4
xor eax, eax
push ebp
push 0x44dc79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 8]
call fcn.00403efc
push eax
push 0x4000
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, ebx
call fcn.00403efc
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x44dc63
mov ebx, dword [ebp - 0xc]
jmp 0x44dc5e
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403c70
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
call fcn.0040a2f0
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x44dc3f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dc80
mov eax, dword [ebp - 4]
call fcn.00411890
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dcc2
lea eax, [ebp - 0x10]
call fcn.00403ab8
lea eax, [ebp - 8]
call fcn.00403ab8
ret
Function at 0x44dcc8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44ddcb
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x44ddb5
cmp dword [ebp - 4], 0
je 0x44ddb5
mov eax, 0x4000
call fcn.0040271c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44ddae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004117d4
xor eax, eax
push ebp
push 0x44dd91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, ebx
call fcn.00403efc
push eax
push 0x4000
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x44dd7b
mov ebx, dword [ebp - 8]
jmp 0x44dd76
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00403c70
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
call fcn.0040a2f0
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x44dd57
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dd98
mov eax, dword [ebp - 4]
call fcn.00411890
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ddd2
lea eax, [ebp - 0xc]
call fcn.00403ab8
ret

Function at 0x44df10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebp - 8], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x44df58
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00403efc
push eax
push 8
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00403efc
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00403efc
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
jmp 0x44df7c
push 8
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00403efc
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00403efc
push eax
call sub.kernel32.dll_GetProfileStringA
push ebx
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
sete al
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44dfdc
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov ebx, edx
mov esi, eax
mov byte [esp], 0
test ebx, ebx
je 0x44e018
mov eax, ebx
call fcn.00403efc
push eax
push pe_nt_image_headers32
lea eax, [esp + 8]
push eax
push 0x44e048
push 0
mov eax, esi
call fcn.00403efc
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
jmp 0x44e036
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0x44e048
push 0
mov eax, esi
call fcn.00403efc
push eax
call sub.kernel32.dll_GetProfileStringA
cmp byte [esp], 0
sete al
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x44e3f4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44e481
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x44e43e
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403ba0
jmp 0x44e46b
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x44e452
lea eax, [ebp - 4]
call fcn.00403ab8
jmp 0x44e461
lea edx, [ebp - 4]
call fcn.0044e254
test ebx, ebx
je 0x44e461
dec ebx
jmp 0x44e443
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00403b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e488
lea eax, [ebp - 4]
call fcn.00403ab8
ret

Function at 0x44e840
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040a51c
add esp, 0x104
pop ebx
ret

Function at 0x44e86c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040a51c
add esp, 0x104
pop ebx
ret
Function at 0x44eb00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x44ec21
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44ec0b
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x44eb59
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x44ec0b
cmp dword [ebp - 0xc], 0
jne 0x44eb6e
mov eax, dword [ebp - 4]
call fcn.00403ab8
mov bl, 1
jmp 0x44ec0b
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.00403ba0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00403f08
push eax
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA_1
cmp eax, 0xea
je 0x44eb25
test eax, eax
jne 0x44ec0b
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x44ebb5
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x44ec0b
jmp 0x44ebb5
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
je 0x44ebc8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0
je 0x44ebb2
cmp dword [ebp - 8], 7
jne 0x44ebd7
cmp dword [ebp - 0xc], 0
je 0x44ebd7
inc dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.0040406c
cmp dword [ebp - 8], 7
jne 0x44ebfe
cmp dword [ebp - 0xc], 0
je 0x44ebfe
lea eax, [ebp - 0x10]
call fcn.00403f08
mov edx, dword [ebp - 0xc]
mov byte [eax + edx - 1], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00403b0c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ec28
lea eax, [ebp - 0x10]
call fcn.00403ab8
ret

Function at 0x44ec4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
mov edi, eax
push 0
push 0
push 0
push 0
push esi
push edi
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
test bl, bl
je 0x44ecc2
test esi, esi
je 0x44ec77
cmp byte [esi], 0
jne 0x44ecc2
mov eax, dword [0x4b9ae0]
cmp dword [eax], 2
je 0x44ecc2
xor ebx, ebx
xor esi, esi
mov dword [esp + 4], 2
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push esi
push edi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
je 0x44ecb1
cmp eax, 0xea
jne 0x44ecc2
test eax, eax
jne 0x44ecbf
cmp byte [esp], 0
jne 0x44ecbf
mov bl, 1
jmp 0x44ecc2
inc esi
jmp 0x44ec85
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x44ed2c
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x44ed40
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyA
pop esi
pop ebx
ret
cmp dword [0x4ba828], 0
jne 0x44ed63
push 0x44ed88
push 0x44ed98
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ba828], eax
cmp dword [0x4ba828], 0
je 0x44ed7d
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x4ba828]
jmp 0x44ed82
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x44eda8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x44eed2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b9ae0]
cmp dword [eax], 2
jne 0x44eeac
push 0
push 8
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
call fcn.0044ed04
test eax, eax
jne 0x44eeac
xor edx, edx
push ebp
push 0x44eea5
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.00403ba0
xor ebx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00403d38
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
call fcn.00403f08
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
cmp eax, 0xea
jne 0x44ee6e
mov eax, dword [ebp - 0x14]
call fcn.00403d38
cmp eax, 0x10000
jge 0x44ee8e
mov eax, dword [ebp - 0x14]
call fcn.00403d38
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403ba0
jmp 0x44ee16
test eax, eax
jne 0x44ee8e
mov eax, dword [ebp - 0x14]
call fcn.00403efc
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 1]
call fcn.0044eda8
test eax, eax
je 0x44ee16
inc ebx
jmp 0x44ee16
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eeac
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
call fcn.0044ed2c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eed9
lea eax, [ebp - 0x14]
call fcn.00403ab8
ret
Function at 0x44eee0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov edi, edx
mov ebx, eax
push 0
push 1
lea eax, [esp + 8]
push eax
mov ecx, ebp
mov edx, edi
mov eax, ebx
call fcn.0044ed04
mov esi, eax
test esi, esi
jne 0x44ef5e
push 0
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
mov eax, dword [esp + 0x2c]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov esi, eax
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
test esi, esi
jne 0x44ef5e
cmp dword [esp + 4], 0
jne 0x44ef59
cmp dword [esp + 8], 0
jne 0x44ef59
mov ecx, ebp
mov edx, edi
mov eax, ebx
call fcn.0044ed2c
mov esi, eax
jmp 0x44ef5e
mov esi, 0x91
mov eax, esi
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44ef68
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, eax
mov eax, dword [0x4b9ae0]
cmp dword [eax], 2
je 0x44ef85
mov byte [ebp - 1], 1
jmp 0x44f155
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x20
push 2
push 0x4b8b44
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x44f155
xor eax, eax
push ebp
push 0x44f14e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 5
jb 0x44efe7
push 0x44f160
push 0x44f178
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
test ebx, ebx
je 0x44f010
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x44f137
mov eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
jmp 0x44f137
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x44f061
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
je 0x44f042
call fcn.00403628
jmp 0x44f155
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x44f061
call fcn.00403628
jmp 0x44f155
xor eax, eax
push ebp
push 0x44f130
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x44f0a4
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x7a
je 0x44f0a4
call fcn.00403628
call fcn.00403628
jmp 0x44f155
mov eax, dword [ebp - 0x14]
call fcn.0040271c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x44f0d6
call fcn.00403628
call fcn.00403628
jmp 0x44f155
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x44f111
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x44f10d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x44f10d
mov byte [ebp - 1], 1
jmp 0x44f111
inc ebx
dec esi
jne 0x44f0e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f137
mov eax, dword [ebp - 0x18]
call fcn.00402734
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f155
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45211c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x45745c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
lea edi, [ebp - 0xd]
mov bl, 1
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0x18]
dec esi
test esi, esi
jl 0x45760a
inc esi
mov eax, dword [ebp + 8]
push eax
mov eax, edi
mov edx, 5
call fcn.00456288
pop ecx
test al, al
jne 0x4574a3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.0045773c
xor ebx, ebx
jmp 0x45760a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [edi]
ja 0x4574c1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.0045773c
xor ebx, ebx
jmp 0x45760a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov edx, dword [edi]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.004690fc
test eax, eax
jne 0x4574f8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.0045773c
xor ebx, ebx
jmp 0x45760a
test byte [edi + 4], 1
je 0x457603
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.00456288
pop ecx
test al, al
jne 0x45752c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.0045773c
xor ebx, ebx
jmp 0x45760a
mov edx, dword [0x4541c0]
mov eax, 0xc
call fcn.00404748
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4575d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040406c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00403f08
mov edx, dword [ebp - 4]
call fcn.00456288
pop ecx
test al, al
jne 0x457598
mov edx, dword [0x4541c0]
mov eax, dword [ebp - 8]
call fcn.0040475c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.0045773c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45760a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00453070
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 8]
call fcn.00453310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457603
dec esi
jne 0x45747a
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d868
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
xor ebx, ebx
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x46d8b4
cmp dword [ebp - 0x84], 2
jne 0x46d8b4
cmp dword [ebp - 0x90], 5
ja 0x46d8b2
cmp dword [ebp - 0x90], 5
jne 0x46d8b4
cmp dword [ebp - 0x8c], 1
jb 0x46d8b4
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x473198
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x4ba9e4
mov eax, esi
mov edx, 8
test al, 1
je 0x4731b4
shr eax, 1
xor eax, 0xedb88320
jmp 0x4731b6
shr eax, 1
dec edx
jne 0x4731a7
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4731a0
pop esi
ret

Function at 0x4731cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x4ba9e0], 0
jne 0x4731ef
call fcn.00473198
push 1
push 0x4ba9e0
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x47321b
mov edx, ebx
and edx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x4ba9e4]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4731f5
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4740e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00403efc
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jle 0x474182
mov eax, ebx
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47417b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x474165
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4741a4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x474165
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474199
mov eax, dword [ebp - 0x10]
call fcn.00402734
ret
mov eax, dword [0x4b9ae0]
cmp dword [eax], 1
je 0x474199
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00473f04
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret