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

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7e], 0
je 0x4242be
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004034e0
jmp 0x4242c8
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403494
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x424c8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x424cc4
mov eax, esi
call fcn.00418388
test al, al
je 0x424cc4
mov eax, dword [ebx + 0x60]
call fcn.004181f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x424cc4
push 0
mov eax, dword [ebx + 0x60]
call fcn.004181f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x42cc98
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x42cce0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0042cb8c
mov eax, dword [ebp - 4]
call fcn.00403738
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 0x42cce7
lea eax, [ebp - 4]
call fcn.00403400
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403738
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x42cd09
test al, 0x10
je 0x42cd0d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403738
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x42cd56
test al, 0x10
je 0x42cd56
test ah, 4
je 0x42cd5a
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x42cd60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
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.00403728
xor eax, eax
push ebp
push 0x42ce52
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00403744
mov ebx, pe_nt_image_headers32
mov eax, esi
mov ecx, ebx
xor edx, edx
call fcn.004034e0
cmp dword [ebp + 0xc], 0
je 0x42cddd
mov eax, dword [ebp + 0xc]
call fcn.00403738
push eax
push ebx
mov eax, esi
call fcn.00403744
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403738
push eax
mov eax, dword [ebp - 8]
call fcn.00403738
push eax
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
jmp 0x42ce06
push ebx
mov eax, esi
call fcn.00403744
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403738
push eax
mov eax, dword [ebp - 8]
call fcn.00403738
push eax
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
call sub.kernel32.dll_GetProfileStringA
test eax, eax
je 0x42ce16
mov eax, dword [esi]
call fcn.00403738
call fcn.004072c8
mov edx, ebx
sub edx, 8
cmp eax, edx
jl 0x42ce27
cmp ebx, 0x10000
jl 0x42ce31
mov edx, esi
xchg edx, eax
call fcn.004038a4
jmp 0x42ce3c
mov eax, ebx
add eax, eax
mov ebx, eax
jmp 0x42cd98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ce59
lea eax, [ebp - 0xc]
call fcn.00403400
ret

Function at 0x42cf28
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 0x42cf70
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00403738
push eax
push 8
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00403738
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00403738
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
jmp 0x42cf94
push 8
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00403738
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00403738
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 0x42cff4
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 0x42d030
mov eax, ebx
call fcn.00403738
push eax
push pe_nt_image_headers32
lea eax, [esp + 8]
push eax
push 0x42d060
push 0
mov eax, esi
call fcn.00403738
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
jmp 0x42d04e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0x42d060
push 0
mov eax, esi
call fcn.00403738
push eax
call sub.kernel32.dll_GetProfileStringA
cmp byte [esp], 0
sete al
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x42d418
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42d4a6
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x42d463
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.004034e0
jmp 0x42d490
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x42d477
lea eax, [ebp - 4]
call fcn.00403400
jmp 0x42d486
lea edx, [ebp - 4]
call fcn.0042d26c
test ebx, ebx
je 0x42d486
dec ebx
jmp 0x42d468
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00403494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d4ad
lea eax, [ebp - 4]
call fcn.00403400
ret

Function at 0x42d864
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.004074ec
add esp, 0x104
pop ebx
ret

Function at 0x42d890
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.004074ec
add esp, 0x104
pop ebx
ret
Function at 0x42db28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x42dc60
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x42dc4a
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x42db85
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x42dc4a
cmp dword [ebp - 0x10], 0
jne 0x42db9a
mov eax, dword [ebp - 8]
call fcn.00403400
mov bl, 1
jmp 0x42dc4a
cmp dword [ebp - 0x10], 0x70000000
jb 0x42dba8
call fcn.00408c08
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
lea eax, [ebp - 0x14]
mov ecx, esi
xor edx, edx
call fcn.004034e0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.00403744
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x42db4e
test eax, eax
jne 0x42dc4a
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x42dbf8
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x42dc4a
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
jmp 0x42dc03
dec esi
test esi, esi
je 0x42dc11
mov eax, dword [ebp - 0x14]
cmp byte [eax + esi - 1], 0
je 0x42dc02
cmp dword [ebp - 0xc], 7
jne 0x42dc1c
test esi, esi
je 0x42dc1c
inc esi
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.004038a4
cmp dword [ebp - 0xc], 7
jne 0x42dc3d
test esi, esi
je 0x42dc3d
lea eax, [ebp - 0x14]
call fcn.00403744
mov byte [eax + esi - 1], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00403450
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dc67
lea eax, [ebp - 0x14]
call fcn.00403400
ret

Function at 0x42dc8c
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
test eax, eax
sete bl
test bl, bl
je 0x42dd01
test esi, esi
je 0x42dcb7
cmp byte [esi], 0
jne 0x42dd01
cmp dword [0x4980dc], 2
je 0x42dd01
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 0x42dcf0
cmp eax, 0xea
jne 0x42dd01
test eax, eax
jne 0x42dcfe
cmp byte [esp], 0
jne 0x42dcfe
mov bl, 1
jmp 0x42dd01
inc esi
jmp 0x42dcc4
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42dd6c
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x42dd80
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyA
pop esi
pop ebx
ret
cmp dword [0x49a65c], 0
jne 0x42dda3
push 0x42ddc8
push 0x42ddd8
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x49a65c], eax
cmp dword [0x49a65c], 0
je 0x42ddbd
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x49a65c]
jmp 0x42ddc2
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x42dd6d
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x42dd80
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyA
pop esi
pop ebx
ret
cmp dword [0x49a65c], 0
jne 0x42dda3
push 0x42ddc8
push 0x42ddd8
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x49a65c], eax
cmp dword [0x49a65c], 0
je 0x42ddbd
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x49a65c]
jmp 0x42ddc2
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x42dde8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
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 0x42df2b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x42de1b
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x42de25
mov ebx, 0x57
jmp 0x42df15
cmp dword [0x4980dc], 2
jne 0x42df05
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.0042dd44
test eax, eax
jne 0x42df05
xor edx, edx
push ebp
push 0x42defe
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.004034e0
xor ebx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00403574
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.00403744
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
cmp eax, 0xea
jne 0x42dec7
mov eax, dword [ebp - 0x14]
call fcn.00403574
cmp eax, 0x10000
jge 0x42dee7
mov eax, dword [ebp - 0x14]
call fcn.00403574
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004034e0
jmp 0x42de6f
test eax, eax
jne 0x42dee7
mov eax, dword [ebp - 0x14]
call fcn.00403738
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 1]
call fcn.0042dde8
test eax, eax
je 0x42de6f
inc ebx
jmp 0x42de6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42df05
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
call fcn.0042dd6c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42df32
lea eax, [ebp - 0x14]
call fcn.00403400
ret
Function at 0x42df3c
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.0042dd44
mov esi, eax
test esi, esi
jne 0x42dfba
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
test esi, esi
jne 0x42dfba
cmp dword [esp + 4], 0
jne 0x42dfb5
cmp dword [esp + 8], 0
jne 0x42dfb5
mov ecx, ebp
mov edx, edi
mov eax, ebx
call fcn.0042dd6c
mov esi, eax
jmp 0x42dfba
mov esi, 0x91
mov eax, esi
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42dfc4
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, eax
cmp dword [0x4980dc], 2
je 0x42dfe0
mov byte [ebp - 1], 1
jmp 0x42e1af
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 0x498788
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x42e1af
xor eax, eax
push ebp
push 0x42e1a8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetVersion
and ax, 0xff
cmp ax, 5
jb 0x42e041
push 0x42e1b8
push 0x42e1d0
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
test ebx, ebx
je 0x42e06a
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x42e191
mov eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
jmp 0x42e191
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 1
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x42e0bb
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
je 0x42e09c
call fcn.004031bc
jmp 0x42e1af
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x42e0bb
call fcn.004031bc
jmp 0x42e1af
xor eax, eax
push ebp
push 0x42e18a
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 0x42e0fe
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x7a
je 0x42e0fe
call fcn.004031bc
call fcn.004031bc
jmp 0x42e1af
mov eax, dword [ebp - 0x14]
call fcn.00402648
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 0x42e130
call fcn.004031bc
call fcn.004031bc
jmp 0x42e1af
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x42e16b
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 0x42e167
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x42e167
mov byte [ebp - 1], 1
jmp 0x42e16b
inc ebx
dec esi
jne 0x42e13d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e191
mov eax, dword [ebp - 0x18]
call fcn.00402660
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 0x42e1af
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 0x42eafc
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x42eb9c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4980dc], 2
jne 0x42eb40
push 1
mov eax, esi
call fcn.00403738
push eax
mov eax, edi
call fcn.00403738
push eax
call sub.kernel32.dll_MoveFileExA
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
jmp 0x42eb86
mov eax, esi
call fcn.00403738
mov edx, eax
lea eax, [ebp - 4]
call fcn.0040352c
mov eax, dword [ebp - 4]
call fcn.00406f58
mov ebx, eax
test bl, bl
jne 0x42eb69
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
jne 0x42eb86
mov eax, esi
call fcn.00403738
push eax
mov eax, edi
call fcn.00403738
push eax
call sub.kernel32.dll_MoveFileA
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eba3
lea eax, [ebp - 4]
call fcn.00403400
ret

Function at 0x430bdc
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x434f7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov bl, 1
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0x18]
dec esi
test esi, esi
jl 0x435128
inc esi
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.00433dd0
pop ecx
test al, al
jne 0x434fc1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.0043525c
xor ebx, ebx
jmp 0x435128
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [ebp - 0x10]
ja 0x434fe0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.0043525c
xor ebx, ebx
jmp 0x435128
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.004468d8
test eax, eax
jne 0x435018
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.0043525c
xor ebx, ebx
jmp 0x435128
test byte [ebp - 0xc], 1
je 0x435121
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.00433dd0
pop ecx
test al, al
jne 0x43504c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.0043525c
xor ebx, ebx
jmp 0x435128
mov edx, 0x431db4
mov eax, 0xc
call fcn.00403b80
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4350f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebp - 8]
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004038a4
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.00403744
mov edx, dword [ebp - 4]
call fcn.00433dd0
pop ecx
test al, al
jne 0x4350b7
mov edx, 0x431db4
mov eax, dword [ebp - 8]
call fcn.00403b94
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.0043525c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x435128
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0043125c
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.004314f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x435121
dec esi
jne 0x434f97
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ae58
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 0x44aea4
cmp dword [ebp - 0x84], 2
jne 0x44aea4
cmp dword [ebp - 0x90], 5
jg 0x44aea2
cmp dword [ebp - 0x90], 5
jne 0x44aea4
cmp dword [ebp - 0x8c], 1
jl 0x44aea4
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ef28
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov byte [0x49a76c], 0
cmp dword [0x4980dc], 2
jne 0x44ef5b
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x44ef5b
cmp dword [esp + 4], 5
setge byte [0x49a76c]
add esp, 0x94
ret

Function at 0x450460
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x49a830
mov eax, esi
mov edx, 8
test al, 1
je 0x45047c
shr eax, 1
xor eax, 0xedb88320
jmp 0x45047e
shr eax, 1
dec edx
jne 0x45046f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x450468
pop esi
ret

Function at 0x4504ab
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x49a82c], 0
jne 0x4504b7
call fcn.00450460
push 1
push 0x49a82c
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4504e2
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x49a830]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4504bd
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x450e94
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 0x451b70
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.00403738
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jle 0x451c12
mov eax, ebx
call fcn.00402648
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x451c0b
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 0x451bf5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x451c34
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x451bf5
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 0x451c28
mov eax, dword [ebp - 0x10]
call fcn.00402660
ret
cmp dword [0x4980dc], 1
je 0x451c28
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00451994
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret