joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dec0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dee91
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5c0
mov eax, dword [0x660ff8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x3a8], 0
xor eax, eax
mov dword [ebp - 0x3a4], 7
movups xmmword [ebp - 0x3b8], xmm0
mov word [ebp - 0x3b8], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x3b8]
push str.srl::System::Initialize
mov byte [ebp - 0x3bc], al
call fcn.00414980
mov dword [ebp - 4], 1
call fcn.0041c750
cmp dword [eax + 4], 4
jl 0x40df61
push ecx
lea ecx, [ebp - 0x3bc]
call fcn.004127b0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x62efa0
call esi
push str.Tbs.dll
mov dword [edi + 0x74], eax
call esi
lea ecx, [ebp - 0x48]
mov dword [edi + 0x78], eax
call fcn.0040de20
lea eax, [ebp - 0x4c4]
mov dword [ebp - 0x4c8], eax
lea ecx, [ebp - 0x4c8]
push 3
lea eax, [ebp - 0x48]
push eax
call fcn.00410b00
mov byte [ebp - 4], 2
lea ecx, [edi + 8]
push dword [ebp - 0x4c8]
call fcn.0040d8d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c4]
mov eax, dword [ebp - 0x4c8]
cmp eax, ecx
je 0x40dfcf
push eax
call fcn.005bc852
add esp, 4
push 0
push 0x23
lea eax, [ebp - 0x3a0]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._systemrequirementslabcyriconfig.ini
lea eax, [ebp - 0x3a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x3a0]
push eax
push 0x64
lea eax, [ebp - 0x148]
push eax
push 0x62bf34
push 0x62f078
push str.Detection
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x148], 0
jne 0x40e09b
lea ecx, [ebp - 0x7c]
call fcn.0040de20
lea eax, [ebp - 0x5cc]
mov dword [ebp - 0x5d0], eax
lea ecx, [ebp - 0x5d0]
push 3
lea eax, [ebp - 0x7c]
push eax
call fcn.00410b00
mov byte [ebp - 4], 3
lea ecx, [edi + 0xc]
push dword [ebp - 0x5d0]
call fcn.0040d8d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5cc]
mov eax, dword [ebp - 0x5d0]
cmp eax, ecx
je 0x40e077
push eax
call fcn.005bc852
add esp, 4
lea ecx, [edi + 0xc]
call fcn.0040ff30
lea eax, [ebp - 0x3a0]
push eax
push dword [edi + 0xc]
push 0x62f078
push str.Detection
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x40e0aa
lea eax, [ebp - 0x148]
push eax
lea ecx, [edi + 0xc]
call fcn.0040d8d0
lea ecx, [ebp - 0x3bc]
call fcn.00414280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b0d47
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x416300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df95d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x660ff8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00416670
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.00407dc4
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx ebx, ax
test ecx, ecx
je 0x4163b7
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4163b7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x4163d1
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.00414020
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x417110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df9b0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x660ff8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x3c], 1
je 0x417189
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x41714e
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
jmp 0x41715b
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
lea ecx, [eax + ecx*2]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x41717f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171da
mov eax, edx
push ecx
push eax
call fcn.005b0fc9
add esp, 8
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.005b7faf
int3
Function at 0x41eb90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0893
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x660ff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push ecx
lea ecx, [ebp - 0x198]
call fcn.004156b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x188]
push dword [ebp - 0x3c]
call fcn.00415850
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x180]
call fcn.00416140
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov ecx, edi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040d8d0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x41ec4e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ec44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ed18
push ecx
push edx
call fcn.005b0fc9
add esp, 8
cmp dword [ebp - 0x3c], 1
seta al
mov byte [edi + 4], al
call fcn.0041f1b0
call fcn.005dc890
push ecx
lea ecx, [ebp - 0xe8]
mov esi, eax
call fcn.0041f270
push esi
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0041f340
mov edx, str._MHz
mov ecx, eax
call fcn.00412eb0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00416140
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [edi + 8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00444f50
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x41ece5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ecdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ed1d
push ecx
push edx
call fcn.005b0fc9
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.0041ed30
lea ecx, [ebp - 0x198]
call fcn.00415590
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b0d47
mov esp, ebp
pop ebp
ret
call fcn.005b7faf
call fcn.005b7faf
int3
Function at 0x41f1b0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
xorps xmm0, xmm0
lea eax, [esp + 0x14]
push edi
push eax
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x41f1ea
xorps xmm0, xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
call esi
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
adc dword [esp + 0x14], eax
rdtsc
mov edi, eax
mov ebx, edx
nop dword [eax]
lea eax, [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x14]
jb 0x41f210
ja 0x41f22d
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x10]
jb 0x41f210
rdtsc
mov ecx, eax
call fcn.005dca00
cvtsd2ss xmm0, xmm0
mov edx, ebx
mov ecx, edi
movss dword [esp + 0x10], xmm0
call fcn.005dca00
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
pop edi
pop esi
pop ebx
movss xmm0, dword [esp + 4]
subss xmm0, xmm1
divss xmm0, dword [0x6359b0]
mov esp, ebp
pop ebp
ret
Function at 0x427770
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e158b
mov eax, dword fs:[0]
push eax
mov eax, 0x146c
call fcn.005b15f0
mov eax, dword [0x660ff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1474], edx
mov eax, ecx
mov dword [ebp - 0x1470], eax
mov ecx, dword [ebp + 8]
mov dword [eax], 0
lea eax, [ebp - 0x1460]
push 0x1450
mov dword [edx], 0
push eax
mov dword [ebp - 0x1478], ecx
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4277e8
xor al, al
jmp 0x427983
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x42799f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1464], eax
lea eax, [ebp - 0x1460]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1464]
call fcn.0040d730
test al, al
jne 0x427834
lea eax, [ebp - 0x1460]
push eax
lea ecx, [ebp - 0x1464]
call fcn.0040d8d0
mov dword [ebp - 4], 1
xor edi, edi
mov esi, dword [ebp - 0x1464]
mov ebx, esi
movzx eax, word [esi]
test ax, ax
je 0x427891
mov ecx, eax
nop
push ecx
push 0x6301a4
call fcn.005b471c
add esp, 8
test eax, eax
je 0x42786d
test edi, edi
mov eax, ebx
cmovne eax, edi
mov edi, eax
jmp 0x42786f
xor edi, edi
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x427850
test edi, edi
je 0x427891
sub edi, esi
lea ecx, [ebp - 0x1464]
sar edi, 1
push edi
call fcn.004164d0
lea eax, [ebp - 0x1464]
push eax
mov ecx, eax
call fcn.00410070
push 0xd
push 0x6301ac
lea ecx, [ebp - 0x1464]
call fcn.004047cb
mov esi, dword [ebp - 0x1464]
lea eax, [ebp - 0x146c]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
push edi
call fcn.0048593a
add esp, 4
mov ebx, eax
push ebx
push edi
push dword [ebp - 0x146c]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x427957
lea eax, [ebp - 0x1464]
mov dword [ebp - 0x1468], 0
push eax
lea eax, [ebp - 0x1468]
mov dword [ebp - 0x1464], 0
push eax
push 0x630ca8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42794a
cmp dword [ebp - 0x1464], 0
je 0x42794a
mov ecx, dword [ebp - 0x1468]
mov edx, dword [ebp - 0x1470]
movzx eax, word [ecx + 0x12]
mov dword [edx], eax
movzx eax, word [ecx + 0x10]
mov edx, dword [ebp - 0x1474]
mov dword [edx], eax
movzx eax, word [ecx + 0x16]
mov ecx, dword [ebp - 0x1478]
mov dword [ecx], eax
push ebx
call fcn.00485943
add esp, 4
mov bl, 1
jmp 0x427962
push ebx
call fcn.00485943
add esp, 4
xor bl, bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x427981
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b0d47
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402449
int3
Function at 0x42ad50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x660ff8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x18]
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push str.version
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42aece
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x42adb8
cmp eax, 2
jne 0x42aece
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x14], eax
je 0x42aece
lea ebx, [eax + 1]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
cmp ebx, 0x7fffffff
ja 0x42af3d
add ebx, ebx
cmp ebx, 0x1000
jb 0x42ae1b
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x42af42
push eax
call fcn.004677d2
add esp, 4
test eax, eax
je 0x42af38
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x42ae2e
test ebx, ebx
je 0x42ae2c
push ebx
call fcn.004677d2
add esp, 4
mov esi, eax
jmp 0x42ae2e
xor esi, esi
push ebx
push 0
lea edi, [ebx + esi]
mov dword [ebp - 0x28], esi
push esi
mov dword [ebp - 0x20], edi
call fcn.005b4d50
add esp, 0xc
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push 0
push str.version
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ae9a
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x42ae81
cmp eax, 2
jne 0x42ae9a
test esi, esi
je 0x42aee7
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42aee2
test al, 1
jne 0x42ae9a
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x42aee7
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42aece
sub edi, esi
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x42aec4
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x42af38
mov esi, ecx
push edi
push esi
call fcn.005b0fc9
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [esi], ax
mov ecx, dword [ebp - 0x18]
push esi
call fcn.00414980
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42af24
sub edi, esi
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x42af1a
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x42af38
mov esi, ecx
push edi
push esi
call fcn.005b0fc9
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005b7faf
call fcn.004094c0
call fcn.00404fa5
int3
Function at 0x42af50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1f6d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x660ff8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
push 0
push str.install
push dword [edi]
call esi
test eax, eax
jne 0x42afad
cmp dword [ebp - 0x14], 4
je 0x42b092
jmp 0x42afb6
cmp eax, 0xd
jne 0x42b0dd
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push str.install
push dword [edi]
call esi
test eax, eax
jne 0x42b0dd
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x42afeb
cmp eax, 2
jne 0x42b0dd
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x14], eax
je 0x42b0dd
push ecx
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.0042b930
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push esi
push str.install
mov ecx, edi
call fcn.0042c1d0
test eax, eax
jne 0x42b0a6
mov ecx, 0x630b88
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42b04d
test dx, dx
je 0x42b049
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42b04d
add eax, 4
add ecx, 4
test dx, dx
jne 0x42b027
xor ecx, ecx
jmp 0x42b052
sbb ecx, ecx
or ecx, 1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
sete al
mov dword [ebx], eax
test esi, esi
je 0x42b092
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42b088
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b0f1
push ecx
push esi
call fcn.005b0fc9
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42b0dd
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42b0d3
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b0f1
push ecx
push esi
call fcn.005b0fc9
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005b7faf
int3
Function at 0x42c1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42c241
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x42c20f
cmp eax, 2
jne 0x42c22b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x42c23b
test ecx, ecx
je 0x42c236
test cl, 1
jne 0x42c22b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x42c23b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x435630
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2ab0
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x660ff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], edx
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43566d
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x4357ad
push ebx
call fcn.005bed9d
mov edi, eax
add esp, 4
test edi, edi
je 0x4357ad
cmp dword [esi + 0x14], 8
jb 0x43569d
mov esi, dword [esi]
push edi
push ebx
push dword [ebp - 0x30]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4357a4
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x630ca8
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4357a4
push ecx
lea ecx, [ebp - 0xe8]
call fcn.004156b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
lea ecx, [ebp - 0xd8]
push eax
call fcn.0042b9d0
mov edx, 0x62f21c
mov ecx, eax
call fcn.00411a00
mov ecx, eax
call fcn.0042b9d0
mov edx, 0x62f21c
mov ecx, eax
call fcn.00411a00
mov ecx, eax
call fcn.0042b9d0
mov edx, 0x62f21c
mov ecx, eax
call fcn.00411a00
mov ecx, eax
call fcn.0042b9d0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00416140
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
call fcn.0040a3db
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x43578c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x435782
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4357cb
push ecx
push edx
call fcn.005b0fc9
add esp, 8
push edi
call fcn.005bc852
add esp, 4
lea ecx, [ebp - 0xe8]
call fcn.00415590
mov al, 1
jmp 0x4357af
push edi
call fcn.005bc852
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b0d47
mov esp, ebp
pop ebp
ret
call fcn.005b7faf
int3
Function at 0x43e000
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e391d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x660ff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x43e1d9
cmp dword [esi + 0xc], 0
je 0x43e1d9
cmp dword [esi + 0x18], 0
je 0x43e1d9
cmp dword [esi + 0x10], 0
je 0x43e1d9
push 1
lea ecx, [ebp - 0x40]
call fcn.00461f70
mov dword [ebp - 4], 0
mov ecx, 0x62cfc8
cmp byte [ebp - 0x40], 0
mov eax, 0x6356b4
cmove eax, ecx
lea ecx, [ebp - 0x3c]
push eax
call fcn.0040d8d0
push dword [ebp - 0x3c]
mov ecx, dword [esi]
push 0
push 0x116fb
call fcn.0041a290
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 0x43dfb0
mov dword [ebp - 0x44], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x43e1b1
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x43e1b1
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x10028
push eax
push edi
mov dword [ebp - 0x34], 0x25
mov dword [ebp - 0x30], 0x1800
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x20000000
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
je 0x43e1b1
lea ecx, [ebp - 0x38]
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x43e1b1
mov eax, dword [esi + 0xc]
push edi
call eax
mov dword [esi + 8], eax
test eax, eax
je 0x43e1b1
push eax
mov eax, dword [esi + 0x10]
push edi
call eax
test eax, eax
je 0x43e1b1
mov eax, dword [esi + 0x18]
push str.glGetStringi
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x43e171
push str.glGetStringi
push dword [esi + 4]
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x18]
push str.glGetString
call eax
mov dword [esi + 0x24], eax
test eax, eax
jne 0x43e18f
push str.glGetString
push dword [esi + 4]
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x18]
push str.glGetIntegerv
call eax
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x43e1ad
push str.glGetIntegerv
push dword [esi + 4]
call edi
mov dword [esi + 0x1c], eax
mov bl, 1
jmp 0x43e1b3
xor bl, bl
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x3c]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43e1d5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x43e1db
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b0d47
mov esp, ebp
pop ebp
ret