joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005685
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x100056ac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10006539
jmp 0x1000577b
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x100056ce
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x100056d0
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x1000576f
jg 0x100056ed
test esi, esi
je 0x1000576f
test ecx, ecx
jl 0x1000573a
jg 0x100056f7
test eax, eax
je 0x1000573a
cmp ebx, ecx
jg 0x1000570b
jl 0x10005701
cmp esi, eax
jae 0x1000570b
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.10013820
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x10005741
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x1000576f
jg 0x1000574b
test esi, esi
je 0x1000576f
cmp dword [edi + 0x4c], 0
je 0x1000576f
mov ecx, edi
call fcn.100074ca
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.1001f240
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100059a6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1004b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x100059cc
xor eax, eax
jmp 0x10005a8e
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x100059f5
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x100059f5
dec dword [edx]
mov eax, ebx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x10005a8e
cmp dword [esi + 0x4c], 0
je 0x10005a8c
mov ecx, esi
call fcn.100074ca
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x10005a21
push dword [esi + 0x4c]
push eax
call fcn.10002e96
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x10005a8c
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x10005a8c
cmp eax, 1
jle 0x10005a5b
cmp eax, 3
jne 0x10005a8c
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x10005a13
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x10005a7e
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.1001e7fc
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x10005a8c
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x10005a8e
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f0cf
leave
ret 4

Function at 0x10007518
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1004b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x1000759a
cmp byte [esi + 0x3d], 0
je 0x1000759a
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000756c
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10007570
sub eax, 1
je 0x10007574
dec eax
sub eax, 1
je 0x1000759a
xor al, al
jmp 0x1000759c
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10007591
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1001e7fc
add esp, 0x10
cmp edi, eax
jne 0x1000756c
cmp byte [esi + 0x3d], 0
sete al
jmp 0x1000759c
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000f0cf
leave
ret
Function at 0x1000bbc2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
test dl, dl
je 0x1000bc0d
xor edx, edx
inc edx
push esi
movzx esi, cx
push edi
lea eax, [edx + 0x7f]
mov dword [ebp - 4], eax
mov cx, ax
or eax, edx
movzx edi, ax
mov eax, edi
and eax, esi
movzx eax, ax
cmp ax, cx
je 0x1000bbf1
cmp ax, dx
jne 0x1000bbf3
xor esi, edi
shr cx, 1
add edx, edx
mov word [ebp - 4], cx
cmp cx, dx
jbe 0x1000bc06
mov eax, dword [ebp - 4]
jmp 0x1000bbdb
pop edi
movzx eax, si
pop esi
leave
ret
movzx eax, cx
leave
ret

Function at 0x1000efc2
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
push edi
mov dword [ebp - 8], edx
mov edi, ecx
jbe 0x1000f02d
push ebx
push esi
movzx esi, byte [edi + 1]
movzx ecx, byte [edi]
movzx eax, byte [esi + edi + 2]
add ecx, eax
movzx eax, cl
mov al, byte [eax + edi + 2]
mov byte [edi], al
mov cl, byte [esi + edi + 2]
movzx eax, al
mov dl, byte [eax + edi + 2]
movzx eax, dl
movzx eax, byte [eax + edi + 2]
inc eax
movzx eax, al
mov bl, byte [eax + edi + 2]
mov byte [esi + edi + 2], dl
movzx eax, byte [edi]
mov byte [eax + edi + 2], cl
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
inc byte [edi + 1]
xor byte [eax + ecx], bl
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jb 0x1000efd9
pop esi
pop ebx
pop edi
leave
ret
Function at 0x10011512
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1004b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x10011537
xor eax, eax
jmp 0x10011593
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x10011564
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x10011564
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x10011618
cmp dword [edi + 0x4c], 0
je 0x1001158d
mov ecx, edi
call fcn.10010f75
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x100115a3
push dword [edi + 0x4c]
push ebx
call fcn.100107b8
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x10011592
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000f0cf
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x10037188]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x1001158d
cmp eax, 1
jle 0x100115eb
cmp eax, 3
jne 0x1001158d
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x1001157f
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x10011608
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.1001e7fc
add esp, 0x10
cmp esi, eax
jne 0x1001158d
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x1001158d
mov ax, bx
jmp 0x10011592

Function at 0x10027576
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10027239

Function at 0x10027581
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100273ba
Function at 0x10003892
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10087004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10089468], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov ebx, 0x10089468
jne 0x1000392c
push 0x3e8
push ebx
push 0x31
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [0x10089468], 0
je 0x10003943
push 7
push str.http:__
push ebx
call fcn.10046116
add esp, 0xc
test eax, eax
je 0x1000392c
push 8
push str.https:__
push ebx
call fcn.10046116
add esp, 0xc
test eax, eax
je 0x1000392c
call fcn.1000383c
test eax, eax
jne 0x1000392c
lea ecx, [ebp - 0x108]
call fcn.10017060
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.100452d0
lea eax, [ebp - 0x108]
push eax
push ebx
call fcn.100452c0
add esp, 0x10
call fcn.1000383c
test eax, eax
je 0x1000394c
push edi
push 0xf
push ebx
push esi
call fcn.1002969d
test esi, esi
jne 0x10003947
xor eax, eax
jmp 0x1000395f
xor eax, eax
inc eax
jmp 0x1000395f
push 5
xor eax, eax
push eax
push eax
push ebx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029e88
leave
ret
Function at 0x10003e66
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], ecx
xor ebx, ebx
mov dword [ebp - 8], esi
test eax, eax
je 0x10003e99
push 4
push str.Tab:
push eax
call fcn.1002b959
add esp, 0xc
test eax, eax
je 0x10003fa9
jmp 0x10003edb
cmp dword [esi + 0x18], ebx
je 0x10003fa9
push 0x104
call fcn.10029ea7
mov ebx, eax
pop ecx
test ebx, ebx
je 0x10003fa9
push 0x100
push ebx
mov byte [ebx], 0
push dword [esi + 0x18]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebx], 0
mov dword [ebp + 0xc], eax
je 0x10003f9b
mov dword [ebp + 8], ebx
push edi
push 0x5c
call fcn.10029ea7
mov edi, eax
mov dword [ebp - 0x10], edi
pop ecx
test edi, edi
je 0x10003f9a
push 0x3c
call fcn.100455ea
mov esi, eax
mov dword [ebp - 0xc], esi
pop ecx
test esi, esi
je 0x10003f8c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 4]
call fcn.10003376
add esp, 0x10
cmp byte [esi], 0
jne 0x10003f85
push 0x5c
push 0
push edi
call fcn.1002b060
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov byte [edi + 0xc], 1
mov dword [edi + 8], eax
mov dword [edi], 0x40
mov eax, dword [esi + 4]
mov dword [edi + 0x24], eax
movzx eax, byte [esi + 8]
add esi, 0xc
mov dword [edi + 0x28], eax
add edi, 0x2c
mov ecx, dword [ebp - 8]
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + 0x1c]
mov dword [edx + 0x38], eax
mov al, byte [esi + 0x18]
mov byte [edx + 0x21], al
mov eax, dword [esi + 0x38]
mov dword [edx + 0x58], eax
call fcn.10009609
add esp, 0x10
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
push esi
call fcn.100455e5
pop ecx
test edi, edi
je 0x10003f9a
push 0x5c
push edi
call fcn.10029e99
pop ecx
pop ecx
pop edi
test ebx, ebx
je 0x10003fa9
push 1
push ebx
call fcn.10029e99
pop ecx
pop ecx
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x100050b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x100050d5
cmp byte [edi], 0x23
jne 0x100050d5
lea eax, [edi + 1]
push eax
call fcn.1003802c
pop ecx
movzx edi, ax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100050ec
cmp byte [eax], 0x23
jne 0x100050ec
inc eax
push eax
call fcn.1003802c
pop ecx
movzx eax, ax
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x100051c4
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x100051c4
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x100051c4
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x100051c4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x100051b6
push ebx
push dword [ebp + 0x10]
push eax
call fcn.1002b2f0
add esp, 0xc
lea eax, [ebp + 8]
xor ebx, ebx
mov dword [ebp + 8], ebx
push eax
push ebx
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x100051b6
mov eax, dword [ebp + 8]
push ebx
push ebx
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebp + 8]
call fcn.10004697
mov ecx, dword [ebp + 8]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
je 0x100051b6
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebx
test ecx, ecx
je 0x100051ab
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov esi, ebx
test esi, esi
je 0x100051b6
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
jmp 0x100051c4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x10007795
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x10087004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
mov edi, edx
push dword [ebp + 8]
push 0xc
push esi
push dword [0x100899c8]
test edi, edi
jne 0x100077cd
call dword [sym.imp.USER32.dll_CallWindowProcA]
jmp 0x100078c1
xor ebx, ebx
call dword [sym.imp.USER32.dll_CallWindowProcA]
push esi
mov dword [ebp - 0x11c], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ecx, 0x100
mov dword [ebp - 0x114], eax
cmp eax, ecx
jle 0x10007823
add eax, 0x10
push eax
call fcn.100455ea
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1000781b
mov ecx, dword [ebp - 0x114]
inc ecx
push ecx
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, ebx
mov dword [ebp - 0x118], ebx
jmp 0x10007844
mov ecx, dword [ebp - 0x11c]
jmp 0x1000783e
push ecx
lea eax, [ebp - 0x110]
mov byte [ebp - 0x110], bl
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], ecx
lea eax, [edi + 0x39]
mov edx, ecx
push eax
push edi
push dword [ebp - 0x114]
mov ecx, esi
call fcn.10008a0c
add esp, 0xc
cmp byte [edi + 0x27], 0
je 0x1000787b
push 6
push dword [edi + 0x96]
xor eax, eax
push dword [edi + 0x92]
push eax
push eax
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [edi + 1], 0x20
jne 0x10007887
cmp byte [edi + 0x1f], 0
je 0x100078a5
mov edx, dword [ebp - 0x118]
lea eax, [edi + 0x9e]
push eax
push edi
push dword [ebp - 0x114]
mov ecx, esi
call fcn.10008a0c
add esp, 0xc
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
test ebx, ebx
je 0x100078bb
push ebx
call fcn.100455e5
pop ecx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029e88
leave
ret
Function at 0x100094c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0xc], edx
mov esi, ecx
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
call fcn.1000396e
push 0x198
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x10], edi
push ebx
test edi, edi
je 0x100095f2
mov edx, esi
mov ecx, edi
call fcn.10009481
pop ecx
push edi
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp byte [0x10088f40], 0
jne 0x10009534
push 0x3e8
push 0x10088f40
push 0x32
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x400
mov byte [ebp + 0xb], 0
call fcn.10029ea7
mov edi, eax
pop ecx
test edi, edi
je 0x100095f1
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x100
push edi
push esi
mov byte [edi], 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [edi], 0x5b
jne 0x100095ad
lea eax, [edi + 1]
cmp byte [eax], 0x5b
je 0x100095ad
push 0x5d
push eax
call fcn.1002b1c0
pop ecx
pop ecx
test eax, eax
je 0x100095ad
lea ecx, [eax + 1]
mov byte [eax], 0
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp + 0xb]
push ecx
push ecx
lea ecx, [edi + 1]
sub eax, ecx
inc eax
push eax
push ecx
push dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.1000288e
add esp, 0x18
cmp byte [ebp + 0xb], 0
jne 0x100095e7
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x100095d1
mov ecx, dword [ebp - 4]
lea edx, [eax + 1]
call fcn.10003a34
mov eax, dword [0x1008943c]
add eax, dword [ebp - 4]
push eax
jmp 0x100095d6
push 0x1007efc0
push 0
push 0xc
push esi
push dword [0x100899e4]
call dword [sym.imp.USER32.dll_CallWindowProcA]
push 1
push edi
call fcn.10029e99
pop ecx
pop ecx
push ebx
push dword [ebp - 0xc]
push 1
push esi
push dword [0x100899e4]
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000bf60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test edx, edx
je 0x1000bf83
movzx eax, byte [ecx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x1007f220]
sub edx, 1
jne 0x1000bf6b
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1000c751
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10087004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10c], edx
xor ebx, ebx
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 0x108], bl
call fcn.10017060
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push 0x10081250
push eax
call esi
push str.K7CmnRes.dat
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1000c817
lea eax, [ebp - 0x108]
push eax
push 0x40
push edi
push 0x1007efc0
push str.FontName
mov edi, str.MessageBoxResource
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea eax, [ebp - 0x108]
push eax
push 9
push str.FontSize
push edi
call esi
mov ecx, dword [ebp - 0x10c]
mov dword [ecx], eax
lea eax, [ebp - 0x108]
push eax
push ebx
push str.TxtBkTransparent
push edi
call esi
mov ecx, dword [ebp - 0x110]
inc ebx
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029e88
leave
ret
Function at 0x1000d7d0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 0
push 0
push 3
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], edx
push 0
mov dword [ebp - 0x18], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 0xc0000000
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000d85a
nop word [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1000d855
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000d820
jmp 0x1000d85a
cmp esi, 0xffffffff
je 0x1000d8b9
push 0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x1000d8aa
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 4
lea eax, [ebp - 4]
push eax
push 0x14
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x1000d8aa
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
cmp dword [ebp - 8], 4
cmovne eax, ecx
mov dword [ebp - 4], eax
jmp 0x1000d8ad
mov eax, dword [ebp - 4]
cmp esi, 0xffffffff
je 0x1000d8bc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000e480
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10087004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x10c], edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
test eax, eax
jns 0x1000e4b2
push str._s_FeatureInfo1.0
jmp 0x1000e4c4
cmp byte [ebp + 0xc], 0
je 0x1000e4bf
push str.Global_s_FeatureInfo1.0
jmp 0x1000e4c4
push str.Local_s_FeatureInfo1.0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
test esi, esi
je 0x1000e54e
push edi
push ebx
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x1000e51a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029e88
mov esp, ebp
pop ebp
ret
push ebx
push edi
push dword [ebp - 0x10c]
call fcn.1002b2f0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029e88
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10029e88
mov esp, ebp
pop ebp
ret
Function at 0x1000ff00
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push 0x4000
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x10010070
push esi
lea esi, [edi + 0x14]
mov dword [edi], 0x2b47
push str.K7PwdMgr_MasterPasswordState
mov dword [edi + 8], esi
push dword [ebp - 4]
push str.getpmsetting.htm_t_u_n_s_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
push 9
push dword [edi + 8]
mov dword [edi + 4], eax
call fcn.1002b1c0
add esp, 0x18
mov dword [ebp - 8], 0
inc esi
mov dword [ebp - 0xc], 2
mov byte [eax], 0
mov eax, dword [edi + 4]
push 0
push 0
push 3
push 0
add eax, esi
mov dword [edi + 0xc], 0x2000
push 0
push 0xc0000000
mov dword [edi + 0x10], eax
push str..pipeK7SiteRatePipeV1
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000fff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1000fff3
push 0xffffffffffffffff
push str..pipeK7SiteRatePipeV1
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeK7SiteRatePipeV1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000ffb6
jmp 0x1000fff8
cmp esi, 0xffffffff
je 0x10010037
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x1001002b
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [edi + 0xc]
push dword [edi + 0x10]
push 0x4000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
cmp esi, 0xffffffff
je 0x10010037
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0xc], 0
pop esi
jbe 0x10010055
mov eax, dword [edi + 0x10]
cmp byte [eax], 0
je 0x10010055
push 0xa
push 0
push eax
call fcn.10045f8a
add esp, 0xc
mov dword [ebx], eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret