joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d33c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x41d34f
add esp, 0xfffffff0
call fcn.00403d6c
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00403af4
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x41d375
cmp dword [esi + 0x58], 0x40
jb 0x41d55b
jmp 0x41d37b
jl 0x41d55b
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.00406e44
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.0041cef4
cmp word [ebx + 0xc], 0x5a4d
jne 0x41d55b
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x41d55b
cmp ecx, 0x10000
jge 0x41d55b
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d3d6
cmp eax, dword [esi + 0x58]
ja 0x41d55b
jmp 0x41d3dc
jg 0x41d55b
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.00406e44
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.0041cef4
cmp dword [ebx + 0x4c], 0x4550
jne 0x41d55b
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.00406e44
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.0041cef4
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x41d493
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d457
cmp eax, dword [esi + 0x58]
ja 0x41d4e4
jmp 0x41d45d
jg 0x41d4e4
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.00406e44
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.0041cef4
mov byte [ebx + 4], 1
jmp 0x41d4e4
cmp ax, 0x14c
jne 0x41d4e4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d4b4
cmp eax, dword [esi + 0x58]
ja 0x41d4e4
jmp 0x41d4b6
jg 0x41d4e4
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.00406e44
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.0041cef4
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x41d55b
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d515
cmp eax, dword [esi + 0x58]
ja 0x41d55b
jmp 0x41d517
jg 0x41d55b
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x1427e0c]
call fcn.00405b38
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0041cef4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41d572
call fcn.00403dc4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e270
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 0x142972f
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 0x41e321
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 0x41e30a
test esi, esi
jbe 0x41e321
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408868
test eax, eax
jne 0x41e2fc
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 0x41e321
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e2d9
jmp 0x41e321
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e321
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 0x1429736
ret
Function at 0x41eb80
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 0x142a12f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404c94
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41ebbb
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ebd4
lea eax, [ebp - 0x10]
mov edx, dword [0x143f188]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404cf4
jmp 0x41ebe7
lea eax, [ebp - 0x10]
mov edx, dword [0x143f188]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404cf4
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ebf3
adc edx, 0
mov edx, dword [edx*4 + 0x143dca8]
call fcn.00404ee4
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404ec8
push eax
call fcn.00406ab8
mov esi, eax
cmp esi, 0xffffffff
je 0x41ed01
mov eax, 0x40
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d00
test eax, eax
je 0x41ecf4
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ecf4
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d58
mov eax, edi
call fcn.00403270
mov eax, 0x18
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d00
test eax, eax
je 0x41ecf4
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ecf4
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ecf4
cmp dx, 0x150
ja 0x41ecf4
mov eax, edi
call fcn.00403270
mov eax, 0xe0
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d00
test eax, eax
je 0x41ecf4
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ecf4
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.00404cd0
mov eax, edi
call fcn.00403270
push esi
call fcn.00406a70
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404ff0
jne 0x41ed19
inc ebx
cmp ebx, 0x19
jne 0x41ebad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x142a136
lea eax, [ebp - 0x10]
call fcn.00404c94
ret
Function at 0x404c62
Capabilities:
Resume thread

Disassembly:
push 0xc
mov eax, 0x5c182c
call fcn.00596a85
mov esi, ecx
xor edi, edi
push edi
push 4
push edi
push edi
push esi
push 0x404ba8
call fcn.0045ef70
mov dword [esi], eax
test eax, eax
jne 0x404cb8
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x18]
push str.Thread_creation_failed
mov dword [ebp - 0x14], eax
call fcn.00402712
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x14]
push eax
call fcn.00402d0d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402cc8
jmp 0x404cc6
mov dword [eax + 0x28], edi
mov eax, dword [esi]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.00596a2f
ret

Function at 0x409b32
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x409c9b
mov edx, 0x10000000
cmp eax, 0x7c
je 0x409c9b
cmp eax, 0x29
jne 0x409b6b
cmp dword [esi + 0x10], 0
jne 0x409c9b
test dword [esi + 0x50], edx
je 0x409ca1
cmp eax, 0x2e
jne 0x409b86
push 5
lea ecx, [esi + 0x24]
call fcn.00409e43
mov ecx, esi
call fcn.00409b07
jmp 0x409c85
cmp eax, 0x5c
jne 0x409be3
mov ecx, esi
call fcn.00409b07
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x409bb9
cmp word [esi + 0x48], 0x62
jne 0x409bb9
push 4
lea ecx, [esi + 0x24]
call fcn.00409e43
mov ecx, esi
call fcn.00409b07
jmp 0x409c8c
test eax, eax
je 0x409bd7
cmp word [esi + 0x48], 0x42
jne 0x409bd7
push 4
lea ecx, [esi + 0x24]
call fcn.00409e43
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x409bad
mov ecx, esi
call fcn.0040aa2e
jmp 0x409c85
cmp eax, 0x5b
jne 0x409c07
mov ecx, esi
call fcn.00409b07
mov ecx, esi
call fcn.0040a9e5
cmp dword [esi + 0x4c], 0x5d
je 0x409b7a
push 4
jmp 0x409ca3
cmp eax, 0x28
jne 0x409c2b
mov ecx, esi
call fcn.00409b07
mov ecx, esi
call fcn.0040aad4
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x409ca1
mov ecx, esi
call fcn.00409b07
jmp 0x409c81
cmp eax, 0x5e
jne 0x409c37
push 2
jmp 0x409ba5
cmp eax, 0x24
jne 0x409c43
push 3
jmp 0x409ba5
cmp eax, 0x2a
je 0x409c97
cmp eax, 0x2b
je 0x409c97
cmp eax, 0x3f
je 0x409c97
cmp eax, 0x7b
je 0x409c97
cmp eax, 0x7d
jne 0x409c61
test dword [esi + 0x50], edx
je 0x409c93
cmp eax, 0x5d
jne 0x409c6b
test dword [esi + 0x50], edx
je 0x409c00
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040ac1a
mov ecx, esi
call fcn.00409b07
mov bl, 1
test bl, bl
je 0x409c8c
mov ecx, esi
call fcn.0040ab6a
mov cl, 1
jmp 0x409b39
push 6
jmp 0x409ca3
push 0xa
jmp 0x409ca3
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.00597610
int3
Function at 0x415300
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x415373
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x41533e
mov edx, esi
push ebx
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x415322
sub edx, ebx
sar edx, 1
push 0
lea eax, [edx + edx]
push eax
push esi
call fcn.00415a00
pop ebx
cmp word [esi], 0
jne 0x415348
xor ecx, ecx
jmp 0x41535f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415350
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x48]
call fcn.004156b0
cmp word [esi], 0
je 0x415373
mov byte [edi + 0x60], 1
pop edi
pop esi
pop ebp
ret 4

Function at 0x41db20
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c45d4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x645154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0041a040
lea eax, [esi + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 8]
call fcn.0041a040
lea eax, [esi + 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x10]
call fcn.0041a040
lea eax, [esi + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x18]
call fcn.0041a040
lea eax, [esi + 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x20]
call fcn.0043c800
lea eax, [esi + 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x28]
call fcn.0043c800
lea eax, [esi + 0x30]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x30]
call fcn.0041a040
lea eax, [esi + 0x38]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x38]
call fcn.0043c800
lea eax, [esi + 0x40]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0x40]
call fcn.0043c800
lea eax, [esi + 0x48]
mov byte [ebp - 4], 8
push eax
lea ecx, [edi + 0x48]
call fcn.0043bb90
lea eax, [esi + 0x58]
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0x58]
call fcn.0043bb90
lea eax, [esi + 0x68]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x68]
call fcn.0043bb90
lea eax, [esi + 0x78]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [edi + 0x78]
call fcn.0043d2b0
lea eax, [esi + 0x94]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [edi + 0x94]
call fcn.004199e0
lea eax, [esi + 0x9c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [edi + 0x9c]
call fcn.004199e0
lea eax, [esi + 0xa4]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [edi + 0xa4]
call fcn.004199e0
lea eax, [esi + 0xac]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [edi + 0xac]
call fcn.004199e0
lea eax, [esi + 0xb4]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [edi + 0xb4]
call fcn.004199e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41dca0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c46b4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x645154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0041a280
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call fcn.0041a280
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.0041a280
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.0041a280
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
call fcn.0043c9b0
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 4
call fcn.0043c9b0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
call fcn.0041a280
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 6
call fcn.0043c9b0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 7
call fcn.0043c9b0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 8
call fcn.0043bc10
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 9
call fcn.0043bc10
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xa
call fcn.0043bc10
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0xb
call fcn.0043d450
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 0xc
call fcn.00419a10
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 0xd
call fcn.00419a10
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0xe
call fcn.00419a10
lea ecx, [esi + 0xac]
mov byte [ebp - 4], 0xf
call fcn.00419a10
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0x10
call fcn.00419a10
push 0
lea ecx, [esi + 0xa4]
call fcn.00419a90
mov edi, esi
push 0
lea ecx, [edi + 0x94]
call fcn.00419a90
push 0
lea ecx, [esi + 0x9c]
call fcn.00419a90
push 0
lea ecx, [esi + 0xb4]
call fcn.00419a90
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
Function at 0x421aa0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
push eax
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x421acc
fldz
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 8]
push edi
push eax
call esi
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], eax
rdtsc
mov edi, eax
mov ebx, edx
nop dword [eax]
lea eax, [ebp - 0x18]
push eax
call esi
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 4]
jb 0x421af0
ja 0x421b08
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
jb 0x421af0
rdtsc
mov ecx, eax
call fcn.005967e0
cvtsd2ss xmm0, xmm0
mov edx, ebx
mov ecx, edi
movss dword [ebp - 4], xmm0
call fcn.005967e0
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
pop edi
pop esi
pop ebx
subss xmm1, xmm0
divss xmm1, dword [0x5dbe50]
movss dword [ebp - 4], xmm1
fld dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x426860
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5558
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x645154]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x54]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
push 0x64
mov dword [ebp - 0x48], eax
call fcn.00425850
mov dword [ebp - 4], 0
xor edi, edi
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
sub eax, esi
sar eax, 1
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push esi
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x426a0e
cmp eax, 0xea
jne 0x4268fd
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x426a0e
push eax
lea ecx, [ebp - 0x54]
call fcn.0042aa20
jmp 0x4268ad
test eax, eax
jne 0x4268b0
inc edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x38]
push 0x20019
push esi
mov byte [ebp - 4], 1
push dword [eax]
call fcn.0042a080
test eax, eax
jne 0x4269e9
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00426d20
add esp, 8
test al, al
je 0x4269d9
cmp dword [ebp - 0x44], 0
jbe 0x4269d9
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
call fcn.00429410
add esp, 8
test al, al
je 0x42698f
cmp dword [ebp - 0x18], 0
je 0x42698f
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0042a930
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push str.release
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4269cd
cmp dword [ebp - 0x5c], 4
jne 0x4269cd
cmp dword [ebp - 0x2c], eax
jbe 0x4269cd
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
push eax
call fcn.0042a8c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00407001
push dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.00426860
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0
test eax, eax
je 0x426a02
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
jmp 0x4268b0
test esi, esi
je 0x426a23
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.0040745d
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.00595c5d
mov esp, ebp
pop ebp
ret
Function at 0x426d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [ebp + 8]
push eax
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 4], 4
push eax
push 0
push str.install
push dword [edi]
call esi
test eax, eax
jne 0x426d63
cmp dword [ebp - 8], 4
jne 0x426d6c
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd
jne 0x426e1f
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push str.install
push dword [edi]
call esi
test eax, eax
jne 0x426e1f
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x426da1
cmp eax, 2
jne 0x426e1f
mov eax, dword [ebp + 8]
shr eax, 1
mov dword [ebp + 8], eax
je 0x426e1f
inc eax
lea ecx, [ebp - 0x14]
push eax
call fcn.00425850
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push esi
push str.install
mov ecx, edi
call fcn.0042a130
test eax, eax
jne 0x426e17
mov eax, 0x5db760
mov cx, word [esi]
cmp cx, word [eax]
jne 0x426df8
test cx, cx
je 0x426df4
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x426df8
add esi, 4
add eax, 4
test cx, cx
jne 0x426dd2
xor ecx, ecx
jmp 0x426dfd
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
lea ecx, [ebp - 0x14]
sete al
mov dword [ebx], eax
call fcn.0040b45f
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
call fcn.0040b45f
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429260
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c592b
mov eax, dword fs:[0]
push eax
mov eax, 0x146c
call fcn.00596810
mov eax, dword [0x645154]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1474], eax
push 0x1450
mov dword [ebx], 0
mov dword [eax], 0
lea eax, [ebp - 0x1460]
push eax
mov dword [ebp - 0x1478], ecx
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4292d6
xor al, al
jmp 0x4293f0
lea eax, [ebp - 0x1460]
push eax
lea ecx, [ebp - 0x1464]
call fcn.0040d2c0
push 0x5dc3d4
lea ecx, [ebp - 0x1464]
mov dword [ebp - 4], 0
call fcn.0042a330
push eax
lea ecx, [ebp - 0x1464]
call fcn.0040269e
push 0xd
push str.kernel32.dll
lea ecx, [ebp - 0x1464]
call fcn.00404602
lea eax, [ebp - 0x1470]
push eax
push dword [ebp - 0x1464]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
push esi
call fcn.0044fc06
add esp, 4
mov edi, eax
push edi
push esi
push dword [ebp - 0x1470]
push dword [ebp - 0x1464]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4293be
lea eax, [ebp - 0x1468]
mov dword [ebp - 0x146c], 0
push eax
lea eax, [ebp - 0x146c]
mov dword [ebp - 0x1468], 0
push eax
push 0x5dc364
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4293b1
cmp dword [ebp - 0x1468], 0
je 0x4293b1
mov ecx, dword [ebp - 0x146c]
mov edx, dword [ebp - 0x1474]
movzx eax, word [ecx + 0x12]
mov dword [ebx], eax
movzx eax, word [ecx + 0x10]
mov dword [edx], eax
movzx eax, word [ecx + 0x16]
mov ecx, dword [ebp - 0x1478]
mov dword [ecx], eax
push edi
call fcn.0044fc01
add esp, 4
mov bl, 1
jmp 0x4293c9
push edi
call fcn.0044fc01
add esp, 4
xor bl, bl
mov esi, dword [ebp - 0x1464]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4293ee
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.00595c5d
mov esp, ebp
pop ebp
ret
Function at 0x429410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5968
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x645154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
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 [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4294e9
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x429470
cmp eax, 2
jne 0x4294e9
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp + 8], eax
je 0x4294e9
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.00425850
mov esi, dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
push esi
push str.version
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0042a130
test eax, eax
jne 0x4294d4
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00414590
test esi, esi
je 0x4294c1
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.0040745d
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4294e9
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.0040745d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42a130
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 0x42a1a1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x42a16f
cmp eax, 2
jne 0x42a18b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x42a19b
test ecx, ecx
je 0x42a196
test cl, 1
jne 0x42a18b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x42a19b
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