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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1007f038
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 0x10041a69
inc eax
mov dword [esi + 0x10], eax
jmp 0x10041b7c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x10041a7d
mov eax, 0xffffffc7
jmp 0x10041b7e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x10041a8e
cmp dword [esi + 8], eax
jne 0x10041a7d
cmp dword [esi + 8], eax
jne 0x10041aa7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x10041aa7
mov eax, 0xffffffc7
jmp 0x10041b7e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x10041abb
push eax
mov ecx, ebx
call fcn.10041260
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.1000f0d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x10041aec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.1000f0f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.100409d0
test eax, eax
mov dword [esp + 0x38], eax
je 0x10041b1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1012eb48
call fcn.1000f2d0
mov eax, dword [esp + 0x38]
jmp 0x10041b7e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.10041890
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x10041b63
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.100418b0
mov esi, eax
test esi, esi
jne 0x10041b93
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.10041890
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x10041b35
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1012eb48
call fcn.1000f2d0
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], 0x1012eb48
call fcn.1000f2d0
mov eax, esi
jmp 0x10041b7e

Function at 0x10044cb0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x10044d10
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x10044d10
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x10044d10
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x10044d10
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x10044d50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x1004ae80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1007f668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.10077fe2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.1004a820
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10077f10
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.100747bf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.100747bf
push 1
push 0
push 0
mov ecx, esi
call fcn.10074767
push 1
push 0
push 1
mov ecx, esi
call fcn.10074767
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10078054
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x1004b000
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1007f688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.10077fe2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.1004a820
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.10077f10
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x1004b0c4
cmp dword [esp + 0x40], 1
jne 0x1004b0c2
cmp ecx, eax
jge 0x1004b0c4
mov eax, ecx
cmp eax, 0xc8
jge 0x1004b0d0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.1004ae80
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10078054
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x1004b840
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1007f6f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10072bd7
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1007828a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100797a6
test eax, eax
je 0x1004b95c
mov ecx, dword [esp + 0x3c]
call fcn.100782b7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1004b920
push edi
mov ecx, esi
call fcn.10075906
mov ecx, esi
call fcn.1004bac0
cmp dword [esp + 0x38], 1
jne 0x1004b955
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.10075a41
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x1004e390
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1004e3c3
push esi
call fcn.100514a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1004e3bc
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 0x1004e449
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1004e432
mov eax, dword [esi + 8]
test eax, eax
je 0x1004e3e7
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 0x1004e42e
cmp eax, 2
je 0x1004e432
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004e3da
cmp eax, 3
je 0x1004e40d
cmp eax, 1
jne 0x1004e3da
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 0x1004e3da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1004e3da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1004e470
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1004e458
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1004e470
add esp, 4
pop esi
ret

Function at 0x1005b5f0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x1005b693
test eax, eax
jbe 0x1005b693
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x1005b693
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x1005b63e
xor esi, esi
jmp 0x1005b644
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x1005b66f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.1000fac0
add esi, eax
push esi
mov ebx, esi
call fcn.1000fac0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x1005b650
pop ebp
test edi, edi
pop edi
jne 0x1005b693
test ebx, ebx
je 0x1005b693
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.10062250
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x1005b7d0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1005b8ed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1005b8ed
mov eax, dword [esi + 0x3c]
push eax
call fcn.10073029
mov esi, eax
test esi, esi
je 0x1005b8ed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x1005b8ed
mov ecx, esi
call fcn.1005b740
cmp edi, eax
jge 0x1005b8ed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x1005b873
mov dword [esp + 0x34], 1
jmp 0x1005b8ce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x1005b8ed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.10059f00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x100739cd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10073a05
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10071a84
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10071a5c
jmp 0x10073a11
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100750c3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10075105
call fcn.1007ab91
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10075105
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100750fc
xor eax, eax
jmp 0x1007510d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10075113
pop edi
pop esi
pop ebx
ret 4
Function at 0x413172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4131a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4131a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x413dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00413f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00413f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00413eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00413f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00413ecb
push ecx
push dword [ebp + 8]
call fcn.00413f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00413f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00413ecb
push ecx
push dword [ebp + 8]
call fcn.00413f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00413f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00413ecb
push ecx
push dword [ebp + 8]
call fcn.00413f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00413f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00413ecb
cmp ecx, 0x2b
jne 0x413e0f
leave
ret 0xc

Function at 0x4154b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x415544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x7b90
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4155d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x7b90
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x7b90
call fcn.004153fa
push 0x7b90
push dword [ebp + 0xc]
call fcn.004131a8
test eax, eax
jne 0x4155b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x7b90
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004155dd
test eax, eax
je 0x4155d6
jmp 0x415574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4155d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x41560b
Capabilities:
Terminate process

Disassembly:
call fcn.00415618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40be91
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x58c
call fcn.004138d0
mov dword [ebp - 8], eax
mov dword [ebp - 4], 1
jmp 0x40bebd
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x574]
jg 0x40bf00
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x58c
call fcn.004138f0
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x40beb4
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x574], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x58c
call fcn.00402fe0
mov esp, ebp
pop ebp
ret
Function at 0x40c453
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ebd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 0x20]
push ecx
call sub.SATWAIN.dll_PMScan_UnDoInit
mov ecx, dword [ebp - 0x120]
add ecx, 0x2f0
call fcn.00413440
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x40c4e2
push 0x42a9c0
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x120]
add ecx, 0x2f0
call sub.MFC42.DLL_CListBox::GetText
mov ecx, 0x42a9c0
call fcn.00401ea0
test eax, eax
jne 0x40c4e2
mov ecx, 0x42a9c0
call fcn.00401ec0
push eax
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 0x20]
push ecx
call sub.SATWAIN.dll_PMScan_SetDefaultDriver
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov ecx, 0x42a98c
call fcn.00401ec0
push eax
push 0x104
lea edx, [ebp - 0x11c]
push edx
push 0x428b04
push 0x428b0c
mov ecx, 0x42a9c0
call fcn.00401ec0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x11c]
push eax
push 0x428b1c
lea ecx, [ebp - 0x18]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, dword [ebp - 0x120]
call fcn.0040ef00
test eax, eax
je 0x40c569
push 0x3f4
mov ecx, dword [ebp - 0x120]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x14], eax
push 1
mov ecx, dword [ebp - 0x14]
call sub.MFC42.DLL_CWnd::EnableWindow
jmp 0x40c586
push 0x3f4
mov ecx, dword [ebp - 0x120]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
call sub.MFC42.DLL_CWnd::EnableWindow
cmp dword [ebp - 0x10], 0xffffffff
je 0x40c5a9
push 0x3f2
mov ecx, dword [ebp - 0x120]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x14], eax
push 1
mov ecx, dword [ebp - 0x14]
call sub.MFC42.DLL_CWnd::EnableWindow
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40de6e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ee76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov dword [ebp - 0x118], ecx
push 0x40
push 0xfd
push 0x10a
push 0x2710
push 0x2710
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTop]
push eax
mov ecx, dword [ebp - 0x118]
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, 0x42a9c0
call fcn.00401ec0
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x20]
push edx
call sub.SATWAIN.dll_PMScan_SetDefaultDriver
mov ecx, 0x42a9c0
call fcn.00401ea0
test eax, eax
jne 0x40defb
mov ecx, 0x42a9c0
call fcn.00401ec0
push eax
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x20]
push ecx
call sub.SATWAIN.dll_PMScan_SetDefaultDriver
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov ecx, 0x42a98c
call fcn.00401ec0
push eax
push 0x104
lea edx, [ebp - 0x114]
push edx
push 0x428e48
push 0x428e50
mov ecx, 0x42a9c0
call fcn.00401ec0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x114]
push eax
push 0x428e60
lea ecx, [ebp - 0x10]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0x428e64
lea edx, [ebp - 0x10]
push edx
call fcn.00401610
and eax, 0xff
test eax, eax
je 0x40dfad
mov ecx, 0x42a984
call fcn.00401ec0
push eax
push 0x428e6c
push 0x428e70
push 0x428e78
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, 0x42a984
call fcn.00401ec0
push eax
push 0x428e80
push 0x428e84
push 0x428e8c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x40dfed
mov ecx, 0x42a984
call fcn.00401ec0
push eax
push 0x428e90
push 0x428e94
push 0x428e9c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, 0x42a984
call fcn.00401ec0
push eax
push 0x428ea4
push 0x428ea8
push 0x428eb0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, 0x42a984
call fcn.00401ec0
push eax
push 0x428eb4
push 0x428ebc
push 0x428ec8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, 0x42a984
call fcn.00401ec0
push eax
push 0x428ecc
push 0x428ed0
push 0x428ed8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x118]
mov dword [eax + 0x584], 0
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0x580], 1
mov ecx, dword [ebp - 0x118]
call fcn.0040bf1f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret