joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409910
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push edi
push 0x98
push 0
lea eax, [esi + 0x110]
mov dword [ebp - 8], esi
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x30]
add esp, 0xc
add eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x40], eax
mov dword [esi + 0x2c], 0
lea edi, [eax + ecx]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
shr edx, 3
imul eax, edx, 0x54
mov edx, edi
sub edx, eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x44], edx
mov dword [esi + 0xc], eax
cmp eax, 0xc
jb 0x409970
mov eax, 0xc
not eax
mov dword [esi + 0x14], 0
lea ecx, [edi - 0xc]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
lea eax, [edx + 0x600]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
lea eax, [edx + 2]
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [ecx], 0x1010100
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0
xor ecx, ecx
jmp 0x4099b0
mov byte [eax - 2], cl
lea eax, [eax + 6]
xor edx, edx
mov byte [eax - 7], 1
inc ecx
mov dword [eax - 6], edx
cmp ecx, 0x100
jb 0x4099b0
lea eax, [esi + 0x9fc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
mov esi, eax
xor edi, edi
jmp 0x4099e0
movzx eax, word [edi + 0x4659f0]
lea ecx, [ebx + 2]
xor edx, edx
div ecx
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
lea ebx, [ebx]
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x409a00
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x4099e0
mov eax, dword [ebp - 4]
inc ebx
sub eax, 0xffffff80
mov dword [ebp - 4], eax
cmp ebx, 0x80
jb 0x4099d4
mov edi, dword [ebp - 8]
mov edx, 0x50
pop ebx
lea esi, [edi + 0x3bc]
jmp 0x409a40
mov eax, esi
mov ecx, 0x10
jmp 0x409a50
mov word [eax], dx
lea eax, [eax + 4]
mov word [eax - 2], 0x403
sub ecx, 1
jne 0x409a50
add edx, 0x28
add esi, 0x40
cmp edx, 0x438
jb 0x409a40
mov dword [edi + 0x3b8], 0x40070000
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410300
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebx]
mov dword [ebx + 4], 0
mov word [eax], dx
push dword [ecx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jne 0x41033b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
pop edi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, dword [ebx + 8]
jbe 0x410379
cmp edi, 0x3ffffffe
ja 0x4103bd
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e549
mov esi, eax
xor eax, eax
mov word [esi], ax
push dword [ebx]
call fcn.0045e2f3
add esp, 8
mov dword [ebx], esi
mov dword [ebx + 8], edi
pop esi
lea eax, [edi + 1]
push eax
mov eax, dword [ebp - 4]
push dword [ebx]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp edi, eax
jbe 0x410390
mov edi, eax
mov ecx, dword [ebx]
xor eax, eax
mov word [ecx + edi*2], ax
cmp word [ecx], ax
je 0x4103a8
lea ecx, [ecx]
inc eax
cmp word [ecx + eax*2], 0
jne 0x4103a0
mov dword [ebx + 4], eax
test edi, edi
je 0x410328
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x470de4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x13329ad
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x4197f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movzx eax, byte [ebx + 9]
push eax
lea ecx, [esi + 0x44]
mov dword [ebp - 4], esi
call fcn.0041a400
movzx eax, byte [ebx + 8]
lea ecx, [esi + 0x50]
push eax
call fcn.0041a400
lea ecx, [esi + 0x74]
call fcn.00402300
push 0x88
call fcn.0045e2c3
push 0x88
mov edi, eax
push 0
push edi
mov dword [ebp - 8], edi
call sub.msvcrt.dll_memset
mov dword [edi + 0x18], 0
add esp, 0x10
mov dword [edi + 0x1c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov byte [edi + 0x4c], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], vtable.NCoderMixer2::CCoderMT.0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov byte [edi + 0x68], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov ecx, dword [esi + 0x78]
lea eax, [ecx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x74]
mov dword [eax + ecx*4], edi
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x20], eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x419922
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4642a0]
call esi
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x419939
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4642a0]
call esi
mov dword [edi + 0x18], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x419956
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4642a0]
call esi
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x41996d
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4642a0]
call esi
mov eax, dword [ebp - 4]
mov dword [edi + 0x1c], ebx
mov al, byte [eax + 0x5c]
mov byte [edi + 0x68], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41cf50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
cmp eax, 0x400000
jbe 0x41cf7a
mov eax, 0x400000
push 0
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push eax
push ecx
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne cl
test esi, esi
je 0x41cfa0
mov eax, dword [ebp - 8]
mov dword [esi], eax
test cl, cl
je 0x41cfb8
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebx + 0x58]
test edi, edi
je 0x41cfed
mov edx, dword [edi]
push eax
push dword [ebx + 0x5c]
mov esi, dword [edx]
mov ecx, esi
call dword [0x4642a0]
mov ecx, edi
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 0x10
test eax, eax
jne 0x41d009
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 0x10
jle 0x41d013
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e090
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41d150
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461730
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push dword [eax + 0x14]
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41d1b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41d1b0
xor al, al
jmp 0x41d1c1
mov ecx, dword [ebp - 0x14]
xor eax, eax
add eax, edi
mov dword [esi], eax
mov al, 1
adc ecx, 0
mov dword [esi + 4], ecx
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x41d1d0
xor eax, eax
jmp 0x41d1eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41d1e1
mov eax, 0x80004005
jmp 0x41d1eb
jle 0x41d1eb
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 8
Function at 0x41d560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
lea esp, [esp]
mov eax, esi
cmp esi, 0x400000
jbe 0x41d59f
mov eax, 0x400000
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
push edi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add edx, ecx
mov dword [ebp - 0xc], edx
test eax, eax
je 0x41d5d4
test ecx, ecx
je 0x41d5d0
add edi, ecx
sub esi, ecx
jne 0x41d590
mov al, 1
jmp 0x41d5d6
xor al, al
add dword [ebx + 0x10], edx
mov ecx, dword [ebp - 0x10]
adc dword [ebx + 0x14], 0
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x41d5e9
mov dword [ecx], edx
test al, al
je 0x41d5ff
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41d61e
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 0x10
jle 0x41d628
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 0x10
Function at 0x423580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46195c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x472008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx], vtable.ICompressFilter.0
xor eax, eax
mov dword [ebx + 4], vtable.ICryptoSetPassword.0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0x10
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x70], eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x74], vtable.ICompressSetDecoderProperties2.0
push 0x30
mov dword [ebx], vtable.NCrypto::N7z::CDecoder.1.0
mov dword [ebx + 4], vtable.NCrypto::N7z::CDecoder.0
mov dword [ebx + 0x74], vtable.NCrypto::N7z::CDecoder.2.0
call fcn.0045e2c3
mov edi, eax
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
mov dword [edi + 4], vtable.ICryptoProperties.0
mov dword [edi + 8], 0
mov dword [edi], vtable.NCrypto::CAesCoder.0
mov dword [edi + 4], vtable.NCrypto::CAesCoder.1.0
mov dword [edi + 0x10], 0x20
mov word [edi + 0x14], 0
mov byte [edi + 0x16], 0
push 0x130
push 0x4659b0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
call fcn.00403870
add esp, 0xc
mov dword [edi + 0x18], eax
test eax, eax
je 0x423707
mov dword [edi + 0x1c], 0x130
xor eax, eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov eax, dword [0x475968]
mov dword [edi + 0xc], eax
mov dword [edi], vtable.NCrypto::CAesCbcDecoder.0
mov dword [edi + 4], vtable.NCrypto::CAesCbcDecoder.1.0
mov byte [ebp - 4], 0
mov esi, dword [method.NArchive::N7z::CHandler.1.virtual_4]
mov ecx, esi
push edi
call dword [0x4642a0]
call esi
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x4236f0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4642a0]
call esi
mov dword [ebx + 0x70], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x470de4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x426db0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4605f0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x472008]
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 edi, ecx
cmp dword [edi + 0xfc], 0
jne 0x426ded
xor eax, eax
jmp 0x426f57
cmp byte [edi + 0xe9], 0
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0x30], 0
mov esi, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
je 0x426e74
cmp dword [edi + 0xf4], ebx
jb 0x426e74
ja 0x426e1b
cmp dword [edi + 0xf0], esi
jbe 0x426e74
lea ecx, [ebp - 0x40]
add eax, 8
push ecx
push 0
push ebx
push esi
mov ecx, eax
mov dword [ebp - 0x34], eax
call fcn.0040ec90
test al, al
je 0x426e5a
cmp dword [ebp - 0x40], esi
jne 0x426e5a
cmp dword [ebp - 0x3c], ebx
jne 0x426e5a
mov eax, dword [ebp - 0x34]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
mov byte [edi + 0xe9], al
test al, al
jne 0x426e74
jmp 0x426e61
mov byte [edi + 0xe9], 0
lea eax, [edi + 0x6c]
mov ecx, edi
push eax
push str.Cannot_set_length_for_output_file
call fcn.00425210
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
mov dword [edi + 0xe0], esi
push eax
mov ecx, edi
mov dword [edi + 0xe4], ebx
mov byte [edi + 0xe8], 1
call fcn.00425610
mov bl, byte [ebp - 0x14]
mov cl, byte [ebp - 0x13]
mov al, bl
mov dl, byte [ebp - 0x12]
or al, cl
or al, dl
je 0x426ed9
mov esi, dword [edi + 0xf8]
lea eax, [ebp - 0x1c]
movzx edx, dl
neg edx
movzx ecx, cl
sbb edx, edx
and edx, eax
neg ecx
lea eax, [ebp - 0x24]
sbb ecx, ecx
and ecx, eax
movzx eax, bl
neg eax
lea ebx, [ebp - 0x2c]
push edx
sbb eax, eax
push ecx
and eax, ebx
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [edi + 0xf8]
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x426f04
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x426efd
xor al, al
jmp 0x426f06
mov dword [esi + 8], 0xffffffff
mov al, 1
mov dword [ebp - 4], 0xffffffff
test al, al
jne 0x426f30
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x426f22
mov eax, 0x80004005
jmp 0x426f2c
jle 0x426f2c
movzx eax, ax
or eax, 0x80070000
test eax, eax
jne 0x426f57
mov ecx, dword [edi + 0xfc]
test ecx, ecx
je 0x426f54
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4642a0]
call esi
mov dword [edi + 0xfc], 0
mov eax, dword [ebp - 0x30]
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.0045e090
mov esp, ebp
pop ebp
ret
Function at 0x426f80
Capabilities:
Set file attributes

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd7], 0
jne 0x426fe4
cmp dword [esi + 0x90], 0
je 0x426fe4
cmp byte [esi + 0x120], 0
jne 0x426fe4
cmp byte [esi + 0xa1], 0
je 0x426fe4
cmp byte [esi + 0xd0], 0
je 0x426fe4
mov eax, dword [esi + 0xcc]
push edi
lea edi, [esi + 0x8c]
test eax, 0xf0000000
je 0x426fc9
and eax, 0x3fff
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x426fe3
push edi
push str.Cannot_set_file_attribute
mov ecx, esi
call fcn.00425210
pop edi
pop esi
ret
Function at 0x42bef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4624bb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x472008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], vtable.IArchiveOpenVolumeCallback.0
mov dword [edi + 8], vtable.IArchiveOpenSetSubArchiveName.0
mov dword [edi + 0xc], vtable.ICryptoGetTextPassword.0
mov dword [edi + 0x10], 0
mov dword [edi], vtable.COpenCallbackImp.0
mov dword [edi + 4], vtable.COpenCallbackImp.1.0
mov dword [edi + 8], vtable.COpenCallbackImp.3.0
mov dword [edi + 0xc], vtable.COpenCallbackImp.2.0
push 8
mov dword [edi + 0x14], 0
call fcn.0045e549
xor ecx, ecx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 3
mov word [eax], cx
lea esi, [edi + 0x20]
mov dword [ebp - 4], ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov word [esi + 0x24], cx
push 8
mov dword [ebp - 0x14], esi
mov dword [esi + 0x28], ecx
call fcn.0045e549
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 3
mov word [eax], cx
mov byte [ebp - 4], 1
mov byte [edi + 0x58], cl
push 8
mov dword [edi + 0x5c], ecx
call fcn.0045e549
mov dword [edi + 0x5c], eax
add esp, 0xc
xor ecx, ecx
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 3
mov word [eax], cx
mov eax, edi
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], ecx
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], ecx
mov dword [edi + 0x78], ecx
mov dword [edi + 0x7c], ecx
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], ecx
mov dword [edi + 0x90], ecx
mov dword [edi + 0x94], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42f6d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4629fd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x472008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CBrowseDialog.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 2
mov byte [esi + 0x45], 0
push 8
mov dword [esi + 0x48], 0
call fcn.0045e549
xor ecx, ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 3
mov word [eax], cx
mov byte [ebp - 4], 3
push 8
mov dword [esi + 0x54], ecx
call fcn.0045e549
xor ecx, ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 3
mov word [eax], cx
mov byte [ebp - 4], 4
mov byte [esi + 0x60], cl
push 8
mov dword [esi + 0x64], ecx
call fcn.0045e549
xor ecx, ecx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 3
mov word [eax], cx
mov byte [ebp - 4], 5
push 8
mov dword [esi + 0x70], ecx
call fcn.0045e549
xor ecx, ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 3
mov word [eax], cx
mov byte [esi + 0x7c], 1
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ecx
mov byte [ebp - 4], 7
push 8
mov dword [esi + 0x8c], ecx
call fcn.0045e549
add esp, 0x14
mov dword [esi + 0x8c], eax
xor ecx, ecx
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 3
mov word [eax], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4309d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 8]
shr eax, 0xf
and al, 1
movzx ecx, word [edx + 0xc]
mov edx, ecx
cmp edx, 8
je 0x430a22
cmp edx, 0x52
je 0x430a09
cmp ecx, 0x76
jne 0x430a1b
mov ecx, esi
call fcn.00431de0
mov al, 1
pop esi
pop ebp
ret 4
test al, al
je 0x430a1b
mov ecx, esi
call fcn.00431a50
mov al, 1
pop esi
pop ebp
ret 4
xor al, al
pop esi
pop ebp
ret 4
mov ecx, esi
call fcn.00431be0
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x436020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
push 0xdac
mov edi, dword [esi + 4]
call fcn.004024d0
test eax, eax
je 0x436043
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 4]
mov edx, 0x465dbc
push 6
call fcn.00402070
add esp, 4
lea eax, [esi + 0x10]
mov ecx, esi
push eax
push 0x64
push 0x66
call fcn.00435b10
lea eax, [esi + 0x38]
mov ecx, esi
push eax
push 0x65
push 0x67
call fcn.00435b10
mov ecx, esi
call fcn.0040d3b0
cmp byte [esi + 9], 0
jne 0x4360c5
push 0x1b8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1b9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xdb1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0xa], 0
je 0x4360f6
push 0
push 7
push 0x401
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 7
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
push 0x28
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43a0b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp eax, dword [esi + 0xb4]
jne 0x43a0ec
cmp dword [ecx + 8], 0xffffff65
jne 0x43a0ec
movzx eax, word [ecx + 0xc]
sub eax, 0x2d
je 0x43a146
sub eax, 0x14
je 0x43a0ff
sub eax, 2
je 0x43a146
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x43a0ec
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x34], 2
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x43a0ec
mov ecx, esi
call fcn.0043a170
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0045e090
mov esp, ebp
pop ebp
ret 8