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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5a0800]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
xor bh, bh
push 0
push eax
call fcn.004ea040
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [0x5a34a4]
test esi, esi
jne 0x40dd50
push 0x400
call fcn.004e6c7e
mov esi, eax
add esp, 4
test esi, esi
je 0x40dd48
push 0x400
push 0
push esi
call fcn.004ea040
add esp, 0xc
jmp 0x40dd4a
xor esi, esi
mov dword [0x5a34a4], esi
push 0x400
push 0
push esi
call fcn.004ea040
mov edi, dword [0x5a34a4]
lea eax, [ebp - 0x20c]
add esp, 0xc
xor bl, bl
push 0
push 0
push 3
push 0
push 1
push 0x120089
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40de03
push 2
push 0
push 0xffffffffffffffff
push 0xfffffc00
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x40ddc8
push 0
lea eax, [ebp - 0x210]
push eax
push 0x400
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40ddc8
cmp dword [ebp - 0x210], 0x400
sete bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x40de03
mov ecx, dword [0x5a34a4]
cmp dword [ecx], 0x400
jne 0x40de03
mov edx, 1
movzx eax, bh
cmp dword [ecx + 0x3fc], edx
pop edi
pop esi
cmove eax, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6d11
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bh
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e6d11
mov esp, ebp
pop ebp
ret

Function at 0x40eee0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5a0800]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax + 4]
mov esi, dword [eax]
lea eax, [ebp - 0x20c]
push edi
push esi
push 0x55cda4
push 0x104
push eax
call fcn.00411760
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
mov dword [0x5a34ac], edi
xor ecx, ebp
pop edi
mov dword [0x5a34a8], esi
pop esi
call fcn.004e6d11
mov esp, ebp
pop ebp
ret 4
Function at 0x4115a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call fcn.0040a1e0
test eax, eax
jne 0x4115cc
push eax
push 0x55cb2c
push 0x55d33c
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop ebp
ret 0x10
push esi
mov esi, dword [ebp + 0x10]
push str._pack
push esi
call fcn.004ea1f0
add esp, 8
test eax, eax
je 0x411632
call fcn.0040dcd0
test al, al
je 0x411606
push 0x10
push 0x55d1a4
push str._g_vz
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
xor eax, eax
pop ebp
ret 0x10
push esi
call fcn.0040d1e0
add esp, 4
test al, al
je 0x411759
push 0x40
push 0x55d364
push 0x55d36c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
xor eax, eax
pop ebp
ret 0x10
call fcn.0040dcd0
test al, al
jne 0x411656
push 0x10
push 0x55d1a4
push 0x55d378
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
xor eax, eax
pop ebp
ret 0x10
push dword [ebp + 8]
call fcn.0041a280
add esp, 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x411688
push 0x10
push 0x55d1a4
push 0x55d38c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
xor eax, eax
pop ebp
ret 0x10
push 0x588
call fcn.004e6c7e
add esp, 4
test eax, eax
je 0x411745
mov ecx, eax
call fcn.00408e30
mov esi, eax
test esi, esi
je 0x411745
push 0
push 0x23c
push 0x320
push 0
push 0
push 0
push 0x10cf0000
push str.WeCatDN
push 0
mov ecx, esi
mov dword [0x5a3498], esi
call fcn.0041b890
push 0x40
push 0x23c
push 0x320
push 0
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041b680
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, esi
call fcn.0041b710
push 5
mov ecx, esi
call fcn.0041b680
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0041b680
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
call fcn.00418340
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, esi
call fcn.004096c0
push 0x588
push esi
call fcn.004e6cae
add esp, 8
xor eax, eax
pop esi
pop ebp
ret 0x10
push 0x10
push 0x55d1a4
push 0x55d3b4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
xor eax, eax
pop ebp
ret 0x10

Function at 0x415da0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x11
call ebx
movsx esi, ax
sar esi, 0x1f
push 2
and esi, 8
call ebx
mov edi, esi
or edi, 2
test ax, ax
push 1
cmovns edi, esi
call ebx
mov esi, edi
or esi, 1
test ax, ax
push 0x10
cmovns esi, edi
call ebx
mov edi, esi
or edi, 4
test ax, ax
push 0x12
cmovns edi, esi
call ebx
mov ecx, edi
or ecx, 0x20
test ax, ax
cmovns ecx, edi
pop edi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x418400
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x2d8]
call fcn.00412770
mov edi, dword [ebp + 8]
test eax, eax
jle 0x41845b
nop
push esi
lea ecx, [ebx + 0x2d8]
mov byte [ebp + 0xb], 0
call fcn.00411e70
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x4185ac
lea ecx, [ebx + 0x2d8]
inc esi
call fcn.00412770
cmp esi, eax
jl 0x418420
sub edi, 0x100
je 0x418535
sub edi, 4
je 0x4184d1
sub edi, 2
jne 0x41852a
cmp dword [ebx + 0xe4], edi
je 0x41852a
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.00516336
mov ecx, dword [ebx + 0xe4]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_select
push edx
push 0x41b490
call dword [eax + 0x110]
mov esi, eax
test esi, esi
je 0x41852a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x104]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x41852a
mov ecx, dword [ebx + 0x100]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0xfc]
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
call fcn.00415da0
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41852a
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
je 0x418593
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x418593
mov ecx, dword [ebx + 0xe8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x418593
mov ecx, dword [ebx + 0xe8]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.004eacd9
add esp, 8
test eax, eax
je 0x418593
mov ecx, dword [ebx + 0xe8]
call fcn.00425970
test al, al
jne 0x41852a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr ax, 0xf
mov ecx, ebx
xor al, 1
movzx eax, al
push eax
call fcn.0041a450
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419ee0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x419f1b
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x419f1b
cmp esi, dword [edi + 0xe8]
je 0x419f1b
cmp byte [edi + 0xe0], 0
jne 0x419f1b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x41a016
test eax, eax
je 0x419f8a
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0xe8]
mov ecx, edi
call fcn.00419ae0
mov dword [edi + 0xe8], 0
test esi, esi
je 0x41a016
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x41a016
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x41a016
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x41a016
xorps xmm0, xmm0
mov dword [edi + 0xe8], esi
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0xe8]
mov ecx, edi
call fcn.00419ae0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x41c360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c3a5
cmp byte [ebp + 8], 0
je 0x41c399
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x428250
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x694], 0
je 0x4282bf
cmp dword [ebp + 8], 0x100
jne 0x4282af
cmp word [ebp + 0xc], 0xd
jne 0x4282af
cmp byte [esi + 0x69a], 0
je 0x42828e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4282af
cmp byte [esi + 0x69b], 0
jne 0x4282af
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4282a8
push 1
push 0
push 0
push 0
push str.return
push esi
call fcn.00419ae0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x694]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x42f3c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5a0800]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x42f4ba
movzx eax, word [ebx]
test ax, ax
je 0x42f4ba
push edi
mov edi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x42f402
cmp dx, 0x5c
jne 0x42f404
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x42f3f6
cmp edi, ebx
je 0x42f453
sub edi, ebx
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push ebx
push eax
call fcn.005136ba
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x42f4ca
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0042f3c0
add esp, 8
lea ecx, [ebp - 0x414]
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x42f460
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x42f472
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42f490
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e6d11
mov esp, ebp
pop ebp
ret
call fcn.004e7e32
int3

Function at 0x42ff40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x42ffd9
cmp dword [esi + 4], 0xffffffff
jne 0x42ffd9
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42ff70
cmp dword [ebp + 0x10], 1
mov eax, dword [0x560a54]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x42ffa3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x42ffa3
pop edi
mov eax, 0x2000000
pop esi
pop ebp
ret 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004329a0
add esp, 0x10
test eax, eax
jne 0x42ffc3
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.004333a0
add esp, 4
mov dword [esi], eax
mov eax, dword [0x5a3aa0]
pop edi
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x432ae0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, esi
imul ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x432b1e
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432b12
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp + 8]
call fcn.004e9540
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x432d30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x432d3e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x432dfd
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560318]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560318]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560318]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560318]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560318]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560318]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560318]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560318]
sub edi, 1
jne 0x432d56
pop edi
test esi, esi
je 0x432e1b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560318]
sub esi, 1
jne 0x432e01
not eax
pop esi
pop ebp
ret
Function at 0x446050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x44607f
cmp eax, edi
jge 0x44606f
push esi
call fcn.00441ae0
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, eax
test eax, eax
jle 0x4460ad
mov eax, dword [esi + 0xc]
push ebx
mov bl, al
nop dword [eax]
mov byte [ebp + ecx + 8], bl
sub edx, 8
shr eax, 8
inc ecx
mov dword [esi + 0xc], eax
mov bl, al
test edx, edx
jg 0x446090
mov dword [esi + 8], edx
pop ebx
cmp ecx, 4
jge 0x4460c9
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x4460ba
xor dl, dl
jmp 0x4460bf
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4460b0
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4460fe
pop edi
pop esi
mov dword [ebp + 8], str.zlib_corrupt
pop ebp
jmp fcn.00441a00
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x446116
pop edi
pop esi
mov dword [ebp + 8], str.read_past_buffer
pop ebp
jmp fcn.00441a00
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x446134
push edi
push ecx
push esi
call fcn.004499f0
add esp, 0xc
test eax, eax
jne 0x446134
pop edi
pop esi
pop ebp
ret
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004e9540
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret
Function at 0x45c3b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5a0800]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x45c43b
cmp dword [esi + 0x10], 0
je 0x45c43b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004e7720
mov ebx, esp
test ebx, ebx
je 0x45c43b
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.00411de0
mov ecx, dword [esi + 0x10]
push 1
push 0
push 0
mov eax, dword [ecx]
push 0
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.00419ae0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00415bd0
test al, al
je 0x45c43b
mov ecx, dword [esi + 0x10]
call fcn.0041d3f0
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6d11
mov esp, ebp
pop ebp
ret 0x10

Function at 0x45ce20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5a0800]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0041f6d0
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x45ceb5
lea eax, [ebp - 0x14]
push eax
call fcn.0045b660
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov esi, dword [esi + 0x6d8]
test eax, eax
je 0x45ce8f
push 0
mov ecx, esi
call fcn.0041bd60
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6d11
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0
mov ecx, esi
call fcn.0041bd60
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e6d11
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45e3e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554570
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5a0800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x10], eax
mov dword [eax + 0x6e8], 0
cmp dword [edi + 4], 0
jne 0x45e496
lea eax, [ebp - 0xa8]
push eax
call fcn.0045df10
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0xa8]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call fcn.00415630
push eax
mov ecx, edi
call fcn.0041b900
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00421480
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call fcn.00414f80
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00412970
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x95], al
call fcn.00411c90
cmp byte [ebp - 0x95], 0
je 0x45e4de
mov eax, dword [edi + 0x10]
add eax, 0x6d8
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x6d8
push eax
push 0
push 0x1002
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
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.004e6d11
mov esp, ebp
pop ebp
ret 4

Function at 0x45e6d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5a0800]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0041f6d0
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x45e765
lea eax, [ebp - 0x14]
push eax
call fcn.0045df10
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov esi, dword [esi + 0x6f0]
test eax, eax
je 0x45e73f
push 0
mov ecx, esi
call fcn.0041bd60
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6d11
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0
mov ecx, esi
call fcn.0041bd60
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e6d11
mov esp, ebp
pop ebp
ret 0x14
Function at 0x47034f
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x10], 0
jne 0x47035c
xor al, al
ret
cmp dword [eax + 0x14], 7
jbe 0x470364
mov eax, dword [eax]
push dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret
Function at 0x47e2d0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x1505
lea ebx, [esi + eax]
cmp esi, ebx
jae 0x47e306
mov al, byte [esi]
push eax
call fcn.0048d4a0
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x47e2e8
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret