joyce8/EMBER2024-capa huggingface dataset:
Function at 0x63410c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0
je 0x634122
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
cmp eax, dword [ecx]
je 0x634146
mov eax, dword [esi]
push dword [esi + 0xc]
mov eax, dword [eax + 0x18]
push eax
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 0x18]
push ecx
push eax
call dword [eax]
add esp, 0x10
mov dword [esi + 0xc], eax
test eax, eax
je 0x6341a3
cmp dword [esi + 4], 0
je 0x634156
mov ecx, dword [esi]
mov eax, dword [esi + 8]
cmp eax, dword [ecx + 4]
je 0x63417b
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x18]
push eax
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0x18]
push ecx
push eax
call dword [eax]
add esp, 0x10
mov dword [esi + 4], eax
test eax, eax
je 0x6341a3
and dword [esi + 0x34], 0
lea eax, [esi + 0x3c]
and dword [esi + 0x38], 0
push eax
call fcn.0063719c
pop ecx
test eax, eax
jne 0x63419f
lea eax, [esi + 0x40]
push eax
call fcn.0063719c
pop ecx
test eax, eax
je 0x6341a6
push 0xc
jmp 0x6341a5
push 2
pop eax
pop esi
pop ebp
ret

Function at 0x63420d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
and dword [esi + 0xc], 0
lea eax, [esi + 4]
push eax
call fcn.0063719c
pop ecx
test eax, eax
jne 0x634243
lea eax, [esi + 8]
push eax
call fcn.0063719c
pop ecx
test eax, eax
jne 0x634243
push esi
push 0x6341a9
push esi
call fcn.00637318
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x636f38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [ebp + 0xc]
xor cl, cl
xor eax, eax
mov dword [ebp - 4], esi
or dword [esi], 0xffffffff
mov byte [esi + 4], 0
test edi, edi
je 0x636fae
mov esi, dword [ebp + 8]
mov dl, byte [eax + esi]
mov ch, cl
xor cl, dl
inc eax
cmp eax, edi
jb 0x636f5b
mov esi, dword [ebp - 4]
cmp dl, ch
jne 0x636fae
test edi, edi
je 0x636fae
mov ecx, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov edx, edi
mov byte [esi + 4], bl
call fcn.0061fb56
mov edx, eax
xor eax, eax
xor ecx, ecx
cmp dword [ecx + 0x84cb7c], edx
jne 0x636f98
cmp dword [ecx + 0x84cb78], edi
je 0x636fa4
add ecx, 0xc
inc eax
cmp ecx, 0x48
jb 0x636f88
or eax, 0xffffffff
mov dword [esi], eax
test eax, eax
jns 0x636fae
mov byte [esi + 4], 0
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 8

Function at 0x637318
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.006c870d
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x637344
call fcn.0063725c
mov esi, eax
mov eax, esi
pop esi
leave
ret
Function at 0x63ba45
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x200
jb 0x63baab
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x63baab
mov ecx, dword [edx + 0x3c]
cmp ecx, 0x1000
jae 0x63baab
lea eax, [ecx + 0x200]
cmp eax, dword [ebp + 0xc]
ja 0x63baab
test cl, 7
jne 0x63baab
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x63baab
movzx eax, word [ecx + 4]
sub eax, 0x14c
je 0x63bac4
sub eax, 0x74
je 0x63babd
dec eax
sub eax, 1
je 0x63babd
dec eax
sub eax, 1
je 0x63bab6
sub eax, 0x3c
je 0x63baaf
sub eax, 0x8464
je 0x63bac4
xor eax, eax
pop ebp
ret
mov edx, 0x3030401
jmp 0x63bac9
mov edx, 0x3030701
jmp 0x63bac9
mov edx, 0x3030501
jmp 0x63bac9
mov edx, 0x3030103
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x63baab
movzx eax, word [ecx + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x63baec
mov ecx, 0x20b
cmp ax, cx
jne 0x63baab
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
inc eax
pop ebp
ret
Function at 0x640e55
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x18], 0
and dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x641057
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 5
mov esi, ecx
push eax
push esi
mov dword [ebp - 0x88], esi
call fcn.0064049e
push 5
lea ecx, [ebp - 0x84]
lea eax, [esi + 0x60]
push ecx
push eax
mov dword [ebp - 0x8c], eax
call fcn.0064049e
add esp, 0x18
lea edi, [ebp - 0x44]
mov esi, ebx
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x6410fb
lea esi, [ebp - 0x44]
sub esi, ebx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x88]
call fcn.006405cd
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x8c]
call fcn.006405cd
add esp, 0x18
mov ecx, ebx
push 5
pop edx
mov eax, dword [esi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x6410e9
sub edi, 1
jne 0x6410b5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00478e38
leave
ret 8
Function at 0x64110c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x10
xor eax, eax
mov dword [ebp - 0xbc], ebx
pop ecx
lea edi, [ebp - 0x58]
mov dword [ebp - 0xc0], esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
cmp edi, 0x40
jbe 0x64118a
lea eax, [ebp - 0xb8]
push eax
call fcn.00640e55
push edi
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.00640e87
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0064053d
add esp, 0x18
xor esi, esi
mov ecx, esi
mov eax, dword [ebp + ecx - 0x18]
bswap eax
mov dword [ebp + ecx - 0x58], eax
add ecx, 4
cmp ecx, 0x14
jb 0x641176
jmp 0x6411c1
xor esi, esi
mov ebx, esi
test edi, edi
je 0x6411bb
mov esi, dword [ebp - 0xc0]
mov eax, ebx
mov edx, ebx
and eax, 3
shr edx, 2
push 3
pop ecx
sub ecx, eax
movzx eax, byte [esi + ebx]
shl ecx, 3
shl eax, cl
or dword [ebp + edx*4 - 0x58], eax
inc ebx
cmp ebx, edi
jb 0x641198
xor esi, esi
mov ebx, dword [ebp - 0xbc]
mov eax, esi
movups xmm0, xmmword [ebp + eax*4 - 0x58]
pxor xmm0, xmmword [0x8d1cd0]
movups xmmword [ebp + eax*4 - 0x58], xmm0
add eax, 4
cmp eax, 0x10
jb 0x6411c3
push ebx
call fcn.00640e55
push 0x10
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.006404ee
add esp, 0x10
movups xmm0, xmmword [ebp + esi*4 - 0x58]
pxor xmm0, xmmword [str.jjjjjjjjjjjjjjjj_]
movups xmmword [ebp + esi*4 - 0x58], xmm0
add esi, 4
cmp esi, 0x10
jb 0x6411f2
lea esi, [ebx + 0x60]
push esi
call fcn.00640e55
push 0x10
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.006404ee
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00478e38
leave
ret 8

Function at 0x641235
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov eax, ebx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0x40
jae 0x6412f6
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x641260
cmp edi, 0x40
jbe 0x64128e
push esi
call fcn.00640e55
push edi
push dword [ebp - 0x48]
push esi
call fcn.00640e87
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0064053d
add esp, 0x18
jmp 0x6412a0
test edi, edi
je 0x6412a0
push edi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.006b98d0
add esp, 0xc
mov eax, ebx
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x6412a2
push esi
call fcn.00640e55
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00640e87
add esp, 0x10
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x6412c2
add esi, 0x60
push esi
call fcn.00640e55
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00640e87
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00478e38
leave
ret 8
call fcn.00478f6a
int3
Function at 0x642213
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
xor eax, eax
mov word [esi], ax
cmp byte [edi + 1], al
je 0x642290
mov bl, byte [edi + 2]
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x24]
call fcn.005fd348
movzx eax, byte [edi + 4]
mov ecx, esi
push eax
push 0x800
call fcn.006422f5
mov eax, dword [edi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x7c], eax
mov al, byte [edi + 3]
mov byte [esi + 0x80], al
jmp 0x642299
mov ecx, esi
call fcn.0062dd70
mov bl, al
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x48], ecx
mov ecx, dword [edx + 0x3c]
mov dword [esi + 0x4c], ecx
xor ecx, ecx
mov dword [esi + 0x40], 0x3f
mov byte [esi + 5], cl
test bl, bl
jne 0x6422c4
mov eax, dword [ebp + 0xc]
mov byte [ebp + 0x14], 1
cmp byte [eax + 0x24], cl
jne 0x6422c7
mov byte [ebp + 0x14], cl
push dword [ebp + 0x14]
mov ecx, esi
push 1
call fcn.006422f5
test bl, bl
je 0x6422f0
xor eax, eax
mov byte [esi + 4], 0x14
mov word [esi + 2], ax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x644fcc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0x644fdf
xor eax, eax
jmp 0x645069
lea eax, [esi + 0x30]
push edi
push eax
call fcn.006371b0
pop ecx
test eax, eax
jne 0x645065
xor edi, edi
lea eax, [esi + 0x14]
inc edi
push eax
mov dword [esi + 0x28], edi
call fcn.0063719c
pop ecx
test eax, eax
jne 0x645065
lea eax, [esi + 0x18]
push eax
call fcn.0063719c
pop ecx
test eax, eax
jne 0x645065
lea eax, [esi + 0x1c]
push eax
call fcn.0063719c
pop ecx
test eax, eax
jne 0x645065
push dword [ebp + 0x14]
lea eax, [esi + 0x20]
push dword [ebp + 0x14]
push eax
call fcn.006372b9
add esp, 0xc
test eax, eax
jne 0x645065
push dword [ebp + 0x14]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.006372b9
add esp, 0xc
test eax, eax
jne 0x645065
push dword [ebp + 0x10]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
push dword [ebp + 0xc]
push eax
call fcn.00637318
add esp, 0xc
test eax, eax
jne 0x645065
mov dword [esi], edi
jmp 0x645068
push 0xc
pop eax
pop edi
pop esi
pop ebp
ret
Function at 0x645217
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x64522e
push ebx
call fcn.0063719c
pop ecx
test eax, eax
jne 0x645270
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x645242
push edi
call fcn.0063719c
pop ecx
test eax, eax
jne 0x64526f
push ebx
call fcn.00637224
push edi
call fcn.00637224
lea eax, [esi + 0xc]
mov byte [esi + 0x10], 0
cmp dword [eax], 0
pop ecx
pop ecx
je 0x645260
xor eax, eax
jmp 0x64526f
push esi
push 0x6451d9
push eax
call fcn.00637318
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x645218
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x64522e
push ebx
call fcn.0063719c
pop ecx
test eax, eax
jne 0x645270
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x645242
push edi
call fcn.0063719c
pop ecx
test eax, eax
jne 0x64526f
push ebx
call fcn.00637224
push edi
call fcn.00637224
lea eax, [esi + 0xc]
mov byte [esi + 0x10], 0
cmp dword [eax], 0
pop ecx
pop ecx
je 0x645260
xor eax, eax
jmp 0x64526f
push esi
push 0x6451d9
push eax
call fcn.00637318
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x655a40
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x655acc
push esi
call fcn.0066a030
add esp, 4
test al, al
jne 0x655acc
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x655a63
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.006731a0
add esp, 0xc
test eax, eax
je 0x655a97
sub eax, esi
push eax
push 0x2e
push esi
call fcn.006731a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x655a99
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x655ac5
mov al, byte [esi]
push eax
call fcn.00664f60
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x655aa7
pop edi
movzx eax, bl
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x661470
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0x6db], 0
je 0x66150d
cmp dword [esi + 0x1ac], 0
je 0x6614c7
push esi
call fcn.006507d0
push 1
push esi
mov byte [esp + 0x14], al
call fcn.00650a50
push dword [esi + 0x15c]
mov eax, dword [esi + 0x1ac]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call eax
push dword [esp + 0x28]
push esi
call fcn.00650a50
add esp, 0x28
pop esi
ret
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, 0
je 0x6614dc
sub eax, 1
je 0x6614dc
sub eax, 1
jne 0x66150d
push dword [esi + 0x158]
lea eax, [ecx*2 + 0x850890]
push 1
add eax, ecx
push 2
push eax
call fcn.006c365e
push dword [esi + 0x158]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.006c365e
add esp, 0x20
pop esi
ret
Function at 0x674370
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.006c870d
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x674396
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x6edf10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.0047a570
mov eax, dword [esp + 0x10]
push ebx
push esi
test byte [eax + 0x10], 4
mov esi, dword [eax + 4]
lea ebx, [esi - 1]
je 0x6edfb7
mov ecx, dword [eax + 8]
xor edx, edx
push ebp
xor ebp, ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x6edfa0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
push edi
push dword [ecx]
mov eax, ebp
xor eax, ebx
lea edi, [eax - 1]
not eax
shr edi, 0x1f
shr eax, 0x1f
and edi, eax
neg edi
mov esi, edi
or esi, dword [esp + 0x14]
call fcn.006edfe0
mov ecx, dword [esp + 0x18]
mov edx, esi
not edx
mov dword [esp + 0x14], esi
and edx, 0x20
and eax, edi
add edx, dword [esp + 0x24]
inc ebp
add edx, eax
add ecx, 4
add esp, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
cmp ebp, dword [esp + 0x18]
jl 0x6edf53
pop edi
mov eax, ebx
shr ebx, 0x1f
not eax
dec eax
shr eax, 0x1f
and eax, ebx
pop ebp
dec eax
pop esi
and eax, edx
pop ebx
add esp, 0xc
ret
test esi, esi
jne 0x6edfc3
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [eax]
push dword [eax + esi*4 - 4]
call fcn.006edfe0
add esp, 4
shl esi, 5
add esi, 0xffffffe0
add eax, esi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x70a4d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x70a4f7
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x70a4e6
pop edi
movzx eax, dl
pop esi
ret
Function at 0x7f27b0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.007f27c0

Function at 0x7f2a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.007f2a50
Function at 0x401070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42e720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x14], esi
mov byte [esi + 8], al
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x44], ebx
mov byte [esi + 0x18], cl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
lea ebp, [esi + 0xc0]
lea edi, [esi + 0x58]
push ebp
push edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x4c], 1
mov dword [esi + 0x28], ebx
call fcn.00412cb0
mov ecx, edi
mov byte [esp + 0x44], 2
call fcn.0040b8d0
push edi
mov ecx, ebp
mov byte [esp + 0x48], 3
call fcn.0040adf0
mov dl, byte [esp + 0x13]
push 0xc
mov byte [esp + 0x48], 4
mov byte [esi + 0x10e8], dl
call fcn.00421d0c
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0x10ec], eax
mov dword [esi + 0x10f0], ebx
mov dword [esi], 0x431278
mov eax, dword [0x43c8b8]
cmp eax, ebx
mov byte [esp + 0x44], 5
je 0x4011a5
mov al, byte [esp + 0x13]
mov edi, str.Application_can_have_only_one_instance
mov byte [esp + 0x18], al
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ebx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00403300
test al, al
je 0x401183
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, str.Application_can_have_only_one_instance
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 6
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040a3f0
lea edx, [esp + 0x28]
push 0x433938
push edx
call fcn.004220ee
mov ecx, dword [esp + 0x3c]
mov dword [0x43c8b8], esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x40a5b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ed93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x113c
call fcn.00422b20
push ebx
push esi
push edi
lea ecx, [ebp - 0x114c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.00401070
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov al, byte [ebp + 0x13]
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.00402f10
mov edx, dword [ebp + 0x10]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.00403240
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ecx
lea eax, [ebp - 0x20]
push edx
push eax
lea ecx, [ebp - 0x114c]
mov byte [ebp - 4], 2
call fcn.00401490
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00402f10
lea ecx, [ebp - 0x114c]
call fcn.004016e0
push 0x64
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x114c]
mov byte [ebp - 4], 0
call fcn.00401350
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40c1c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
lea eax, [esp]
push eax
push str.SoftwareMetasoft_PlusLPrint
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40c276
push esi
mov esi, dword [esp + 0x114]
test esi, esi
push edi
mov dword [esp + 0xc], 0x100
mov eax, 0x43127c
je 0x40c1ff
mov eax, esi
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
mov edi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x40c23b
lea edx, [esp + 0x10]
push edx
call fcn.00422c52
add esp, 4
mov edi, eax
jmp 0x40c242
mov edi, dword [esp + 0x124]
test esi, esi
je 0x40c26b
mov al, byte [esi - 1]
test al, al
je 0x40c261
cmp al, 0xff
je 0x40c261
dec al
mov byte [esi - 1], al
mov eax, edi
pop edi
pop esi
add esp, 0x108
ret
dec esi
push esi
call fcn.0041615c
add esp, 4
mov eax, edi
pop edi
pop esi
add esp, 0x108
ret
mov ecx, dword [esp + 0x110]
test ecx, ecx
je 0x40c2a9
mov al, byte [ecx - 1]
test al, al
je 0x40c29f
cmp al, 0xff
je 0x40c29f
dec al
mov byte [ecx - 1], al
mov eax, dword [esp + 0x11c]
add esp, 0x108
ret
dec ecx
push ecx
call fcn.0041615c
add esp, 4
mov eax, dword [esp + 0x11c]
add esp, 0x108
ret

Function at 0x40c2c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
push eax
push str.SoftwareMetasoft_PlusLPrint
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40c38a
push esi
mov esi, dword [esp + 0x11c]
test esi, esi
mov dword [esp + 8], 0x100
mov eax, 0x43127c
je 0x40c2fe
mov eax, esi
lea ecx, [esp + 8]
push edi
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
mov edi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x40c33e
lea edx, [esp + 0x14]
push edx
call fcn.00422c5d
fstp qword [esp + 0x10]
add esp, 4
jmp 0x40c354
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
test esi, esi
je 0x40c37e
mov al, byte [esi - 1]
test al, al
je 0x40c374
cmp al, 0xff
je 0x40c374
fld qword [esp + 0xc]
dec al
mov byte [esi - 1], al
pop esi
add esp, 0x110
ret
dec esi
push esi
call fcn.0041615c
add esp, 4
fld qword [esp + 0xc]
pop esi
add esp, 0x110
ret
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x40c3bd
mov al, byte [ecx - 1]
test al, al
je 0x40c3b3
cmp al, 0xff
je 0x40c3b3
fld qword [esp + 0x124]
dec al
mov byte [ecx - 1], al
add esp, 0x110
ret
dec ecx
push ecx
call fcn.0041615c
add esp, 4
fld qword [esp + 0x124]
add esp, 0x110
ret