joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428bf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
or ebp, 0xffffffff
jmp 0x428c12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x428c19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x428c08
mov eax, 1
add ebx, ebx
jne 0x428c2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x428c20
jne 0x428c3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428c20
xor ecx, ecx
sub eax, 3
jb 0x428c50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x428cc2
mov ebp, eax
add ebx, ebx
jne 0x428c5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428c68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428c8c
inc ecx
add ebx, ebx
jne 0x428c78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428c6d
jne 0x428c89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428c6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428cac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428c9d
jmp 0x428c0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428cac
add edi, ecx
jmp 0x428c0e
pop esi
mov edi, esi
mov ecx, 0xcd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428cca
cmp byte [edi], 1
jne 0x428cca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428ccf
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x428d47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3c8c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3c8fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x428cfc
mov ecx, edi
jns 0x428d2b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3c900]
or eax, eax
je 0x428d41
mov dword [ebx], eax
add ebx, 4
jmp 0x428d19
call dword [esi + 0x3c908]
mov ebp, dword [esi + 0x3c904]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x428d7b
sub esp, 0xffffff80
jmp 0x40188c
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4dd008], 0x8088405
inc edx
mov dword [ebx + 0x4dd008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cc40
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cc71
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc59
add dl, dl
jne 0x41cc7c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cccd
xor eax, eax
add dl, dl
jne 0x41cc89
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd6a
add dl, dl
jne 0x41cc98
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cca3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccb9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41ccc3
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cc68
mov eax, 1
add dl, dl
jne 0x41ccdb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cce6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccd2
sub eax, ebx
mov ebx, 1
jne 0x41cd19
mov ecx, 1
add dl, dl
jne 0x41ccff
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccf6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cd30
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd3b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cd27
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cd8b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cc68
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e214
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c66d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e2c5
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e2ae
test esi, esi
jbe 0x41e2c5
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088dc
test eax, eax
jne 0x41e2a0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e2c5
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e27d
jmp 0x41e2c5
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e2c5
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c66da
ret
Function at 0x41eb1c
Capabilities:
Parse pe header

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 - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x4c70cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eb57
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41eb70
lea eax, [ebp - 0x10]
mov edx, dword [0x4df258]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41eb83
lea eax, [ebp - 0x10]
mov edx, dword [0x4df258]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41eb8f
adc edx, 0
mov edx, dword [edx*4 + 0x4de0e8]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41ec9d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ec90
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dcc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ec90
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ec90
cmp dx, 0x150
ja 0x41ec90
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ec90
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41ecb5
inc ebx
cmp ebx, 0x19
jne 0x41eb49
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c70d2
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x403d89
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x426470]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x20
mov eax, 0x41f485
call fcn.00410bc7
mov edi, dword [ebp + 0x12c]
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp + 0x1c]
push ebx
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
call fcn.00410280
add esp, 0xc
push ebx
lea ecx, [ebp]
mov byte [ebp - 0xd], 1
mov dword [ebp + 0x18], 0xf
call fcn.00402c0f
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 4], ebx
jmp 0x403e67
cmp byte [ebp - 0xd], bl
je 0x403e21
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00403b44
mov byte [ebp - 0xd], bl
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x403e4c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00403b44
inc dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
push dword [ebp - 0x24]
call edi
test eax, eax
je 0x403e01
mov eax, dword [ebp - 0x14]
cmp dword [0x4277ac], eax
jne 0x403e8e
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x403e84
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ebx
push 1
lea ecx, [ebp]
call fcn.0040365f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.004102fa
add ebp, 0x124
leave
ret 4
Function at 0x407213
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x407261
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x407272
push 0xd
pop eax
jmp 0x40729c
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x407275
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x4078ee
Capabilities:
Create thread

Disassembly:
cmp byte [0x4277fe], 1
jne 0x40793b
push edi
xor edi, edi
cmp dword [0x427800], edi
jne 0x40793a
push esi
push 0x427800
push edi
push edi
push 0x40766b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
jne 0x407925
mov dword [0x427800], edi
jmp 0x407939
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x407939
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
ret

Function at 0x407fa1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 1
push esi
push str.SoftwareIntelDisplayigfxcuiigfxcfg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407ffc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.DCRotationCaps
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0xc], 1
pop esi
sete al
leave
ret
Function at 0x40861d
Capabilities:
Get geographical location
Identify system language via api
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
movzx eax, ax
push esi
push 3
push eax
mov dword [ebp - 0xc], eax
call edi
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.0040e183
pop ecx
push ebx
push eax
push 3
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareIntelDisplayigfxcuihkcmd_resources
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4086a2
push ebx
push dword [ebp - 8]
push 1
push esi
push str.UserLangID
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
pop edi
pop esi
pop ebx
je 0x4086b3
push dword [ebp - 8]
call fcn.0040e3e0
pop ecx
leave
ret
Function at 0x4086b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push 0x4210c8
push 0x15
push edi
push 0x421128
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
push eax
mov ebx, str.SoftwareIntelDisplayigfxcui3D
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push SysReAllocString
call esi
cmp dword [ebp - 0x1c], edi
je 0x408723
cmp eax, edi
jne 0x40883e
cmp dword [ebp - 0x14], edi
je 0x40883e
cmp dword [ebp - 0x20], edi
jl 0x40883e
push 0x38
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00410280
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.Basic
push dword [ebp - 8]
call esi
xor ebx, ebx
inc ebx
test eax, eax
jne 0x408770
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
jmp 0x408773
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.VertexProcessing
push dword [ebp - 8]
call esi
test eax, eax
jne 0x408796
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
jmp 0x408799
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.TextureQuality
push dword [ebp - 8]
call esi
test eax, eax
jne 0x4087bc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
jmp 0x4087bf
mov dword [ebp - 0x38], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.AnisotropicFiltering
push dword [ebp - 8]
call esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.VSync
push dword [ebp - 8]
call esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x38
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x408824
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], edi
je 0x408834
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x18], edi
je 0x40883e
push dword [ebp - 0x18]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408ca5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x426470]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.004071d2
mov ebx, eax
cmp ebx, esi
je 0x408d15
lea ecx, [ebp - 0x70]
call fcn.0040715d
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004102fa
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x408d2d
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.00408ca5
cmp eax, esi
jne 0x408d5f
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x408d1d
lea ecx, [ebp - 0x70]
call fcn.0040715d
push dword [ebp - 0x78]
mov ecx, edi
call fcn.00407102
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040715d
mov eax, esi
jmp 0x408cfb
Function at 0x40c32e
Capabilities:
Check os version

Disassembly:
push 0xa0
mov eax, 0x41f96b
call fcn.00410c30
mov ebx, dword [ebp + 8]
and dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], ebx
xor edi, edi
lea eax, [ebp + 0xc]
inc edi
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00403b01
push 0x94
lea eax, [ebp - 0xa4]
push 0
push eax
mov dword [ebp - 0xa8], edi
call fcn.00410280
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x40c3be
cmp dword [ebp - 0xa0], 5
jne 0x40c3be
push str.Global_
mov ecx, ebx
call fcn.00403b44
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.00403847
push 0
push edi
lea ecx, [ebp + 0xc]
call fcn.0040365f
mov eax, ebx
call fcn.00410c7a
ret

Function at 0x40c6b8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov byte [ebp - 1], 1
cmp dword [0x42780c], ebx
jne 0x40c6f5
push 0x42780c
push ebx
push ebx
push 0x40c3d1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x40c6ee
mov dword [0x42780c], ebx
mov byte [ebp - 1], bl
jmp 0x40c6f5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x100033f3
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x100034a6
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x10008b56
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10008b78
mov eax, 0xfffffffd
jmp 0x10008c58
mov ebx, dword [0x10108a10]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10008c26
mov ebx, dword [0x10108a10]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10008bc7
mov ebx, dword [0x10108a10]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10008bc7
mov eax, 1
jmp 0x10008bcc
mov eax, 0
test eax, eax
je 0x10008bf8
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10008be1
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10108a10]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10008c4e
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10008c58
mov esp, ebp
pop ebp
ret 4

Function at 0x1000977e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100033f3
test eax, eax
je 0x100097c1
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x100097c1
cmp word [eax], 0x5a4d
jne 0x100097c1
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x100097c1
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100040f4
mov eax, dword [ebp + 8]
jmp 0x100097da
mov esp, ebp
pop ebp
ret 4

Function at 0x1000bb47
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100033f3
test eax, eax
je 0x1000bbb2
push ecx
push ebx
xor eax, eax
xchg dword [ebp + 0xc], eax
xchg dword [ebp + 0x10], eax
mov ebx, dword [ebp + 8]
cmp ebx, 0xffff
jle 0x1000bbb0
cmp word [ebx], 0x5a4d
jne 0x1000bbb0
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
cmp dword [ecx], 0x4550
jne 0x1000bbb0
cmp dword [ebp + 0x10], 0
je 0x1000bba4
movzx eax, word [ecx + 0x16]
and eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x10]
jne 0x1000bbb0
cmp dword [ecx + 0x28], 0
je 0x1000bbb0
add ebx, dword [ecx + 0x28]
mov dword [ebp + 0xc], ebx
pop ebx
pop ecx
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100040f4
mov eax, dword [ebp + 0xc]
jmp 0x1000bbcb
mov esp, ebp
pop ebp
ret 0xc