joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00430d20
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x433179
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.0042e070
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.0042e060
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.004327d0
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x4764bc]
push 0
lea ecx, [esp + 0x4c]
call fcn.0046ca9d
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00441eb0
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00430780
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x476090]
mov ecx, ebx
call fcn.0042dfe0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x433244
push edi
mov ecx, esi
call fcn.00430890
push eax
push ebp
mov ecx, esi
call fcn.00430a50
cmp eax, dword [esp + 0x40]
jg 0x433240
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x43321e
mov eax, ebx
jmp 0x43324a
cmp edi, ebx
jl 0x433248
mov eax, ebx
jmp 0x43324a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x43325b
mov dword [esp + 0x30], eax
jmp 0x433266
cmp edi, ebx
jl 0x433261
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.0042dfa0
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x4332ad
push edi
mov ecx, esi
call fcn.004307b0
push eax
push ebx
mov ecx, esi
call fcn.00430b80
cmp eax, dword [esp + 0x44]
jg 0x4332a5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x43327f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4332b7
cmp edi, ebp
jl 0x4332b1
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4332b7
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x4332c0
mov ecx, eax
jmp 0x4332c9
cmp edi, ebp
jl 0x4332c6
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.004307a0
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0046cb0f
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x4392a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x474478
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4392d9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4393ec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4392ed
mov eax, 0xffffffc7
jmp 0x4393ee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4392fe
cmp dword [esi + 8], eax
jne 0x4392ed
cmp dword [esi + 8], eax
jne 0x439317
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x439317
mov eax, 0xffffffc7
jmp 0x4393ee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43932b
push eax
mov ecx, ebx
call fcn.00438ad0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00404430
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43935c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00404450
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00438240
test eax, eax
mov dword [esp + 0x38], eax
je 0x43938f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x57d938
call fcn.00404630
mov eax, dword [esp + 0x38]
jmp 0x4393ee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00439100
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4393d3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00439120
mov esi, eax
test esi, esi
jne 0x439403
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00439100
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4393a5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x57d938
call fcn.00404630
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x57d938
call fcn.00404630
mov eax, esi
jmp 0x4393ee
Function at 0x445a20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445a53
push esi
call fcn.00448b20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x445a4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x445ad9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x445ac2
mov eax, dword [esi + 8]
test eax, eax
je 0x445a77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x445abe
cmp eax, 2
je 0x445ac2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x445a6a
cmp eax, 3
je 0x445a9d
cmp eax, 1
jne 0x445a6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x445a6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x445a6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445b00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445ae8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445b00
add esp, 4
pop esi
ret

Function at 0x658a14
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x659567
mov byte [esp], bl
push dword [esp]
lea esp, [esp + 8]
ja 0x5b8a7e
cmp bl, dh
pushfd
cmp dword [ebp + 0x14], ecx
jmp 0x5b971f
pushfd
dec ecx
lea esp, [esp + 8]
jg 0x580403
pushal
lea esp, [esp + 0x20]
jne 0x5b8af1
or cx, 0x879
btc cx, di
mov ecx, dword [ebp - 4]
jmp 0x602963
mov byte [esp], bl
jmp 0x602bca
pushfd
pushfd
lea esp, [esp + 8]
jne 0x5b8af1
movzx cx, al
mov ecx, dword [ebp - 4]
test bh, ch
pushfd
stc
test cl, 0x67
cmp dword [ebp + 0x14], ecx
pushal
mov byte [esp], bh
push dword [esp]
lea esp, [esp + 0x28]
ja 0x5b8a7e
call fcn.0060df22
lodsd eax, dword [esi]
mov dl, 0x1a
cmp edx, 0x8fc05dac
adc al, 0xc5
inc ebp
inc ebx
std
inc ecx
mov ebx, 0xdd53e53f
pop ds
iretd

Function at 0x65b2c7
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp + 4], 0x70
jmp 0x65c9a3
push 0xdaec5620
inc edi
mov byte [esp], al
push 0x3a05916e
push dword [esp]
push dword [esp + 4]
lea esp, [esp + 0x3c]
jmp fcn.00603f6a

Function at 0x65b378
Capabilities:
Encode data using xor

Disassembly:
lea edx, [ebx + 4]
mov di, 0x9615
pop esi
movzx esi, word [edx + 0x1a]
movzx di, bl
mov edi, eax
jmp 0x580313
Function at 0x40f160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40f18d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f18d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x414000
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x414006
or ebp, 0xffffffff
xor ebx, ebx
pop esi
lea edi, [esi - 0x13006]
push edi
add word [edi + 0x126d0], 1
add esi, 0x1b3
jmp 0x41402e
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414028
mov eax, 1
add ebx, ebx
jne 0x41404b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x414040
jne 0x41405c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414040
xor ecx, ecx
sub eax, 3
jb 0x4140ca
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4140e6
mov ebp, eax
add ebx, ebx
jne 0x41407b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4140ac
inc ecx
add ebx, ebx
jne 0x414098
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x41408d
jne 0x4140a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41408d
add ecx, 2
cmp eax, 0xfffff300
adc ecx, 1
lea edx, [edi + eax]
cmp eax, 0xfffffffc
jle 0x4140d0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4140bc
jmp 0x41402e
mov eax, ebp
jmp 0x414070
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4140d0
add edi, ecx
jmp 0x41402e
pop esi
sub edi, dword [edi - 4]
push edi
lea edi, [esi]
mov ecx, 0x27b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4140f6
cmp byte [edi], 1
jne 0x4140f6
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 eax, ebx
loop 0x4140fb
pop edi
mov eax, dword [edi]
or eax, eax
je 0x414166
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1208c]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414123
push edx
mov ecx, edi
jns 0x414153
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [esi + 0x12090]
pop edx
mov dword [ebx], eax
add ebx, 4
jmp 0x414140
lea ebx, [esi - 4]
add edi, 4
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x414197
cmp al, 0xef
ja 0x41418a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41416c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x414179
popal
jmp section.UPX0
Function at 0x410b80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410bad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410bad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40b350
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
or ebp, 0xffffffff
jmp 0x40b372
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40b379
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40b368
mov eax, 1
add ebx, ebx
jne 0x40b38b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40b380
jne 0x40b39c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b380
xor ecx, ecx
sub eax, 3
jb 0x40b3b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40b422
mov ebp, eax
add ebx, ebx
jne 0x40b3bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40b3c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40b3ec
inc ecx
add ebx, ebx
jne 0x40b3d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40b3cd
jne 0x40b3e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b3cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40b40c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40b3fd
jmp 0x40b36e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40b40c
add edi, ecx
jmp 0x40b36e
pop esi
mov edi, esi
mov ecx, 0x125
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40b42a
cmp byte [edi], 1
jne 0x40b42a
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 eax, ebx
loop 0x40b42f
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x40b4a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb968]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb9f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40b45c
mov ecx, edi
jns 0x40b48b
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 + 0xb9f8]
or eax, eax
je 0x40b4a1
mov dword [ebx], eax
add ebx, 4
jmp 0x40b479
call dword [esi + 0xb9fc]
popal
jmp 0x4045b0
Function at 0x29b9e10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1703000]
push edi
or ebp, 0xffffffff
jmp 0x29b9e32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x29b9e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x29b9e28
mov eax, 1
add ebx, ebx
jne 0x29b9e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x29b9e5c
jne 0x29b9e7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x29b9e7b
dec eax
add ebx, ebx
jne 0x29b9e68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x29b9e40
add ebx, ebx
jne 0x29b9e77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x29b9ecd
xor ecx, ecx
sub eax, 3
jb 0x29b9e93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x29b9f02
sar eax, 1
mov ebp, eax
jmp 0x29b9e9e
add ebx, ebx
jne 0x29b9e9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x29b9e6c
inc ecx
add ebx, ebx
jne 0x29b9eac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x29b9e6c
add ebx, ebx
jne 0x29b9eb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x29b9eae
jne 0x29b9eca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x29b9eae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x29b9eec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x29b9ede
jmp 0x29b9e2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x29b9eec
add edi, ecx
jmp 0x29b9e2e
pop esi
mov edi, esi
mov ecx, 0xe7e3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x29b9f0a
cmp byte [edi], 0x2a
jne 0x29b9f0a
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 0x29b9f0f
lea edi, [esi + 0x25b5000]
mov eax, dword [edi]
or eax, eax
je 0x29b9f87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25bae48]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25bafec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x29b9f3c
mov ecx, edi
jns 0x29b9f6b
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 + 0x25baff4]
or eax, eax
je 0x29b9f81
mov dword [ebx], eax
add ebx, 4
jmp 0x29b9f59
call dword [esi + 0x25baff0]
mov ebp, dword [esi + 0x25baff8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x29b9fbb
sub esp, 0xffffff80
jmp 0x5c9b1e
Function at 0x401ea0
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x401f51
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x401f51
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x401f47
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
jne 0x401ee8
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x14]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x401f3e
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0x407144
push esi
mov dword [esp + 0x28], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x401f3e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401f3e
mov ecx, dword [eax + 8]
push esi
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx], edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
mov eax, 0x80004005
pop ebx
pop ecx
ret
pop edi
pop esi
mov eax, 0x80070057
pop ebx
pop ecx
ret

Function at 0x402af0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 4]
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0x70]
shr ecx, 0x14
push ecx
push 0x407280
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, esi
push 0x3f5
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [edi]
mov ecx, eax
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
pop edi
pop esi
add esp, 0x20
ret

Function at 0x402b40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x6c
lea eax, [esp + 4]
push edi
push eax
push 1
push 0
push str.SoftwareMicrosoftInternet_Explorer
mov edi, ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402bb2
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.Version
push eax
mov dword [esp + 0x1c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402bb2
push esi
lea ecx, [esp + 0x10]
lea esi, [edi + 0x78]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
push 0x3f6
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esi]
mov ecx, eax
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
pop esi
pop edi
add esp, 0x6c
ret
Function at 0x403240
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
push 0x20019
push 0
push str.hardwareDeviceMapVideo
push 0x80000002
call esi
test eax, eax
je 0x40327a
pop edi
pop esi
mov eax, 0x80004005
pop ebp
add esp, 0x110
ret
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.DeviceVideo0
push ecx
mov dword [esp + 0x28], 0x104
call edi
test eax, eax
je 0x4032c3
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 0x80004005
pop ebp
add esp, 0x110
ret
mov eax, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebp
lea ecx, [esp + 0x18]
push str.System_
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x4032f6
pop edi
pop esi
mov eax, 0x80004005
pop ebp
add esp, 0x110
ret
lea edx, [esp + 0xc]
push edx
push 0x20019
push 0
push eax
push 0x80000002
call esi
test eax, eax
je 0x40331d
pop edi
pop esi
mov eax, 0x80004005
pop ebp
add esp, 0x110
ret
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x124]
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x1c]
push ebx
push ecx
push 0
push str.Device_Description
push edx
call edi
test eax, eax
je 0x403367
mov edi, str.Unknown_device
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call ebp
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
Function at 0x403380
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov ecx, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x128]
lea eax, [esp + 0xc]
push edi
push eax
xor edi, edi
push ecx
push 0x80000002
mov dword [esp + 0x18], edi
mov dword [esi], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4034b4
push ebx
mov ebx, dword [esp + 0x134]
lea edx, [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebp
mov ebp, dword [esp + 0x130]
push edx
push esi
push eax
mov byte [esi], al
push eax
mov eax, dword [esp + 0x28]
push ebp
push eax
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4033f4
mov dword [esp + 0x14], 1
jmp 0x40349a
lea ecx, [esp + 0x20]
push str.SystemCurrentControlSetServicesClass_
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
lea eax, [esp + 0x48]
push edx
push eax
push 0
push 0
push str.Driver
push ecx
mov dword [esp + 0x28], 0xdb
call edi
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x403454
lea edx, [esp + 0x20]
push 0x407144
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x12c]
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40349a
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push esi
push eax
push eax
push ebp
push edx
mov byte [esi], al
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x40348f
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x114
ret
mov eax, edi
pop edi
pop esi
add esp, 0x114
ret