joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433da0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x433dec
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x433dd6
call fcn.00424a50
push dword [esi]
call fcn.00435200
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x433de5
mov dword [esi], ebx
call fcn.00424a50
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x433e90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x433ee2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x433ecc
call fcn.00424a50
push dword [esi]
call fcn.00435200
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x433edb
mov dword [esi], ebx
call fcn.00424a50
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x433ef9
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3

Function at 0x433f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x433f21
call fcn.00424a50
mov dword [esi], 0
test edi, edi
je 0x433f47
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
add ecx, 1
cmp ecx, 2
jae 0x433f7f
cmp ebx, 2
jae 0x433f9f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov byte [edi + 4], 0
mov eax, dword [edi]
add eax, 1
cmp eax, 2
jb 0x433f73
call fcn.00424a50
push dword [edi]
call fcn.00435200
add esp, 4
mov dword [edi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.00424a50
push dword [esi]
call fcn.00435200
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x433f40
mov dword [esi], edi
mov edi, eax
call fcn.00424a50
mov eax, edi
jmp 0x433f40
Function at 0x433fe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jae 0x434002
cmp dword [esi], edi
jne 0x43400b
jmp 0x434027
call fcn.00424a50
cmp dword [esi], edi
je 0x434027
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
add ecx, 1
cmp ecx, 2
jae 0x43405f
cmp ebx, 2
jae 0x43407f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov byte [edi + 4], 0
mov eax, dword [edi]
add eax, 1
cmp eax, 2
jb 0x434053
call fcn.00424a50
push dword [edi]
call fcn.00435200
add esp, 4
mov dword [edi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.00424a50
push dword [esi]
call fcn.00435200
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x434020
mov dword [esi], edi
mov edi, eax
call fcn.00424a50
mov eax, edi
jmp 0x434020

Function at 0x434200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x57ffac]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x434226
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x434228
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x434248
cmp byte [ebp + 0xc], 0
je 0x434291
cmp byte [esi + 4], 0
je 0x434283
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x434285
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x43425c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x43425e
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x434275
xor ebx, ebx
jmp 0x4342ff
cmp byte [esi + 4], 0
je 0x4342bf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4342c1
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x43429f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4342a1
mov eax, dword [esi]
push eax
call fcn.0044c470
add esp, 4
mov ecx, dword [0x581e08]
mov bl, 1
test ecx, ecx
je 0x4342ff
push edi
push eax
call fcn.0044a3c0
jmp 0x4342ff
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4342d3
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x4342e1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4342e3
mov eax, dword [esi]
push eax
call fcn.0044c470
add esp, 4
mov ecx, dword [0x581e08]
test ecx, ecx
je 0x4342fd
push edi
push eax
call fcn.0044a3c0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe871
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4347c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov eax, dword [0x57ffac]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
mov ebx, 0x100000
cmovne ebx, ecx
push 0xc
call fcn.004fe808
add esp, 4
mov edi, eax
mov dword [eax], esi
cmp dword [ebp + 8], 0
setne byte [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
push 0
push 0x10000
push edi
push 0x434aa0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test eax, eax
je 0x434822
mov eax, dword [ebp + 8]
test eax, eax
je 0x43484d
mov dword [eax], esi
jmp 0x434854
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x434839
cmp eax, 0x5af
je 0x434839
cmp eax, 0xe
jne 0x43486d
push ebx
call fcn.00433e00
add esp, 4
push edi
call fcn.004fe838
add esp, 4
jmp 0x434854
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe871
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], eax
mov eax, dword [0x581ab0]
mov ecx, dword [0x581ddc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4348cd
lea ebx, [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call fcn.0042adc0
add esp, 8
movzx eax, byte [ebp - 0x11]
test al, al
jns 0x4348aa
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push eax
push ebx
push dword [0x581aac]
call fcn.00454600
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x434842
push dword [ebp - 0x1c]
call fcn.004fe838
jmp 0x43483f
push 0x581ab0
call fcn.004fe8b7
add esp, 4
cmp dword [0x581ab0], 0xffffffff
jne 0x43488d
push 0x20
push str.create_thread_last_error
call fcn.004545e0
add esp, 8
mov dword [0x581aac], eax
push 0x581ab0
call fcn.004fe92d
add esp, 4
jmp 0x43488d

Function at 0x434d70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [0x57ffac]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x434dd8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x434dd8
cmp dword [ebp - 0x14], 4
jne 0x434dd8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004fe871
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8
Function at 0x434df0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.004fed80
mov eax, dword [ebp + 8]
mov edx, dword [0x57ffac]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x1018], 0x800
lea edx, [ebp - 0x1018]
lea ebx, [ebp - 0x810]
lea esi, [ebp - 0x1014]
push edx
push ebx
push esi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x434e9d
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x434e65
mov esi, 0x3f4
cmp eax, 1
jne 0x434e9d
mov ecx, edi
push ebx
jmp 0x434e96
lea eax, [ebp - 0x1010]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xffffffff
mov esi, 0xea
cmp eax, 0x3ff
ja 0x434e9d
mov ecx, edi
lea eax, [ebp - 0x1010]
push eax
call fcn.0041d286
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe871
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x434ec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.00516c94
add esp, 4
add eax, eax
add eax, 2
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x436b30
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x57ffac]
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x581b08]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x436cb4
jp 0x436cb4
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x581b18]
mov ecx, dword [0x581ddc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x436cd9
mov eax, dword [0x581b28]
mov ecx, dword [0x581ddc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x436d12
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea esi, [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub edi, dword [0x581b20]
sbb ebx, dword [0x581b24]
movd xmm0, ebx
movd xmm1, edi
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x52a420]
subpd xmm1, xmmword [0x52a430]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
divsd xmm0, qword [esp + 0x20]
xorpd xmm1, xmm1
movsd xmm2, qword [0x52eeb8]
ucomisd xmm2, xmm0
ja 0x436cb4
mov eax, dword [esp + 8]
sub eax, dword [0x581b10]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x581b14]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x52a420]
subpd xmm2, xmmword [0x52a430]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x581b08], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.004fe871
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x581b18
call fcn.004fe8b7
add esp, 4
cmp dword [0x581b18], 0xffffffff
jne 0x436ba2
rdtsc
mov dword [0x581b10], eax
mov dword [0x581b14], edx
push 0x581b18
call fcn.004fe92d
add esp, 4
jmp 0x436ba2
push 0x581b28
call fcn.004fe8b7
add esp, 4
cmp dword [0x581b28], 0xffffffff
jne 0x436bc3
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x581b24], ecx
mov dword [0x581b20], eax
push 0x581b28
call fcn.004fe92d
add esp, 4
jmp 0x436bc3
Function at 0x43bb10
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x43bb7d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x43bb50
cmp edx, 1
jne 0x43bb86
jmp 0x43bba2
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x43bba2
cmp edx, 2
je 0x43bb99
cmp edx, 3
jne 0x43bbad
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x43bd08
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x43bc14
lea edx, [edi - 1]
and edx, ebx
jmp 0x43bc20
mov edx, ebx
cmp ebx, edi
jb 0x43bc20
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x43bd08
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x43bd08
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x43bc76
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x43bd06
mov ebx, dword [ebx]
test ebx, ebx
je 0x43bd06
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x43bcd0
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x43bc8b
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x43bc6c
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x43bce8
cmp dword [ebp - 0x10], 0
je 0x43bd02
cmp byte [esi], dl
jne 0x43bc6c
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x43bd02
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x43bcb0
jmp 0x43bc6c
cmp dword [ebp - 0x28], 1
jbe 0x43bc60
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x43bc63
xor edx, edx
div ecx
mov eax, edx
jmp 0x43bc63
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43bd02
push eax
push esi
push ecx
call fcn.00500ebd
add esp, 0xc
test eax, eax
jne 0x43bc6c
mov ecx, ebx
jmp 0x43bd08
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x43ee40
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043eaa0
Function at 0x43f150
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043ee50
Function at 0x4455b0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x44561d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4455f0
cmp edx, 1
jne 0x445626
jmp 0x445642
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x445642
cmp edx, 2
je 0x445639
cmp edx, 3
jne 0x44564d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x4457a8
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x4456b4
lea edx, [edi - 1]
and edx, ebx
jmp 0x4456c0
mov edx, ebx
cmp ebx, edi
jb 0x4456c0
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4457a8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x4457a8
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x445716
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x4457a6
mov ebx, dword [ebx]
test ebx, ebx
je 0x4457a6
mov eax, dword [ebx + 4]
cmp dword [ebp - 0x14], eax
jne 0x445770
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x44572b
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x44570c
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x445788
cmp dword [ebp - 0x10], 0
je 0x4457a2
cmp byte [esi], dl
jne 0x44570c
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x4457a2
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x445750
jmp 0x44570c
cmp dword [ebp - 0x28], 1
jbe 0x445700
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x445703
xor edx, edx
div ecx
mov eax, edx
jmp 0x445703
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4457a2
push eax
push esi
push ecx
call fcn.00500ebd
add esp, 0xc
test eax, eax
jne 0x44570c
mov ecx, ebx
jmp 0x4457a8
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x445a69
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x57ffac]
xor eax, ebp
mov dword [esp + 0x20], eax
push 0x532eb8
call fcn.0041d286
mov ecx, edi
push str.0.0.0.0_devel
call fcn.0041d286
cmp byte [esi + 0xb], 0
js 0x445ab3
mov word [esi], 0
mov byte [esi + 0xb], 0
jmp 0x445ac1
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
mov dword [esp + 0x1c], 0
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x445ad3
mov eax, dword [ebx]
mov edi, dword [ebp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x445c39
mov esi, eax
push eax
call fcn.004fe863
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x1c]
cmp byte [ebx + 0xb], 0
jns 0x445b02
mov ebx, dword [ebx]
push edi
push esi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x445c2d
lea esi, [esp + 0x10]
mov ecx, esi
push 0x532ee2
call fcn.0040241c
mov ecx, edi
mov edx, esi
push dword [ebp + 0x10]
call fcn.00445ca0
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x445b44
push dword [esp + 0x10]
call fcn.004fe838
add esp, 4
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea ebx, [esp + 4]
mov ecx, ebx
push 0x532f00
call fcn.0040241c
mov ecx, edi
mov edx, ebx
push esi
call fcn.00445ca0
add esp, 4
cmp byte [ebx + 0xb], 0
jns 0x445b81
push dword [esp + 4]
call fcn.004fe838
add esp, 4
movzx eax, byte [esp + 0x1b]
test al, al
jns 0x445b8e
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x445bab
lea ecx, [esp + 0x10]
push 1
push 0x52a336
push 0xffffffffffffffff
push 0
call fcn.0041d7fa
test eax, eax
je 0x445bb8
mov ecx, dword [ebp + 0x10]
push str._devel
call fcn.0041d102
lea esi, [esp + 4]
mov ecx, esi
push 0x532f2c
call fcn.0040241c
mov ecx, edi
mov edx, esi
push dword [ebp + 0xc]
call fcn.00445ca0
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x445be9
push dword [esp + 4]
call fcn.004fe838
add esp, 4
lea esi, [esp + 4]
mov ecx, esi
push str.SpecialBuild
call fcn.0040241c
mov ecx, edi
mov edx, esi
push dword [ebp + 0x14]
call fcn.00445ca0
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x445c1a
push dword [esp + 4]
call fcn.004fe838
add esp, 4
cmp byte [esp + 0x1b], 0
jns 0x445c2d
push dword [esp + 0x10]
call fcn.004fe838
add esp, 4
push edi
call fcn.004fe86c
add esp, 4
mov edi, dword [ebp + 0x18]
lea eax, [esp + 0x10]
push eax
call fcn.00445de0
add esp, 4
cmp byte [edi + 0xb], 0
js 0x445c57
mov word [edi], 0
mov byte [edi + 0xb], 0
jmp 0x445c7c
mov eax, dword [edi]
mov word [eax], 0
mov dword [edi + 4], 0
cmp byte [edi + 0xb], 0
jns 0x445c7c
push dword [edi]
call fcn.004fe838
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [esp + 0x18]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x10]
movsd qword [edi], xmm0
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.004fe871
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x445ca0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov edi, edx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x57ffac]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
js 0x445cce
mov word [ecx], 0
mov byte [ecx + 0xb], 0
jmp 0x445cdc
mov eax, dword [ecx]
mov word [eax], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x445dcb
xor ecx, ecx
lea edx, [ebp - 0x228]
mov dword [edx], ecx
lea eax, [ebp - 0x20]
mov dword [eax], ecx
push eax
push edx
push 0x532fa6
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x445dcb
mov dword [ebp - 0x234], esi
mov eax, dword [ebp - 0x228]
movzx esi, word [eax]
movzx ebx, word [eax + 2]
mov word [ebp - 0x20], si
mov word [ebp - 0x1e], bx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], bx
mov word [ebp - 0x18], si
mov bx, 0x4e4
mov word [ebp - 0x16], bx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], bx
xor ebx, ebx
movzx eax, word [ebp + ebx*2 - 0x1e]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x445d5c
mov ecx, dword [edi]
movzx edx, si
push ecx
push eax
push edx
push str.StringFileInfo_04hx_04hx_ls
mov eax, 0x104
push eax
push eax
lea esi, [ebp - 0x228]
push esi
call fcn.00445e73
add esp, 0x1c
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push dword [ebp - 0x234]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x445db3
mov eax, dword [ebp - 0x22c]
test eax, eax
jne 0x445dc2
cmp ebx, 5
ja 0x445dcb
movzx esi, word [ebp + ebx*2 - 0x1c]
add ebx, 2
jmp 0x445d4d
mov ecx, dword [ebp + 8]
push eax
call fcn.0041d286
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe871
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret