joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a970
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ab20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4b0070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea ebx, [edi + 0x44]
mov dword [edi], vtable.MessageLoop.0
xor esi, esi
lea ecx, [ebx + 4]
mov dword [ebp - 0x10], ecx
cmp dword [ebx + 0x10], esi
jne 0x41a9b8
or edi, 0xffffffff
jmp 0x41a9c2
mov edi, dword [ecx]
sub edi, dword [ebx]
sar edi, 2
mov dword [ebp - 0x10], ecx
inc dword [ebx + 0xc]
mov eax, dword [ecx]
mov edx, dword [ebx]
sub eax, edx
sar eax, 2
cmp edi, eax
cmovb eax, edi
cmp esi, eax
jae 0x41a9e7
mov ecx, dword [edx + esi*4]
inc esi
test ecx, ecx
jne 0x41ab7a
cmp esi, eax
jb 0x41a9d7
add dword [ebx + 0xc], 0xffffffff
mov edi, dword [ebp - 0x14]
jne 0x41a9f7
mov ecx, ebx
call fcn.0041b690
xor esi, esi
nop dword [eax]
mov ecx, edi
call fcn.0041aef0
mov ecx, edi
call fcn.0041ae70
mov ecx, edi
call fcn.0041aef0
test al, al
je 0x41aa1f
inc esi
cmp esi, 0x64
jl 0x41aa00
call fcn.0041b3c0
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x41aa89
mov ecx, dword [edi + 0xbc]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41aa61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab86
mov eax, edx
push ecx
push eax
call fcn.00467ca1
mov dword [edi + 0xb4], 0
add esp, 8
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
lea eax, [edi + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [edi + 0x74]
call fcn.0041b5d0
mov ecx, dword [edi + 0x70]
cmp ecx, 0x10
jb 0x41aad2
mov eax, dword [edi + 0x5c]
inc ecx
cmp ecx, 0x1000
jb 0x41aac8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab86
mov eax, edx
push ecx
push eax
call fcn.00467ca1
add esp, 8
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0xf
mov byte [edi + 0x5c], 0
mov eax, dword [ebx]
test eax, eax
je 0x41ab2c
mov ecx, dword [ebx + 8]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41ab0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab86
mov eax, edx
push ecx
push eax
call fcn.00467ca1
mov eax, dword [ebp - 0x10]
add esp, 8
mov dword [ebx], 0
mov dword [eax], 0
mov dword [ebx + 8], 0
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x41ab4a
lea edx, [ecx + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
jne 0x41ab4a
test edx, edx
je 0x41ab4a
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [edi + 0x2c]
call fcn.0041b5d0
lea ecx, [edi + 0x1c]
call fcn.0041b560
lea ecx, [edi + 8]
call fcn.0041b5d0
mov dword [edi], vtable.base::MessagePump::Delegate.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x10]
jmp 0x41a9c5
call fcn.0046c9ef
int3
Function at 0x41b3c0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ab8d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4b0070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4b30bc], 2
je 0x41b421
mov ecx, 1
mov edx, 0x4b30bc
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x41b438
cmp dword [0x4b30bc], 2
je 0x41b421
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
cmp dword [0x4b30bc], 2
jne 0x41b414
mov eax, dword [0x4b30c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x4b30c0], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, dword [0x4b3068]
mov dword [0x4b30c0], eax
mov dword [0x4b30c4], 0x4b30c0
mov dword [0x4b30bc], 2
test esi, esi
je 0x41b50a
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov edi, dword [0x4b3068]
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
add eax, ecx
test al, 1
jne 0x41b4a5
lea eax, [ecx + 2]
shr eax, 1
cmp dword [edi + 0x20], eax
ja 0x41b4a5
push ecx
lea ecx, [edi + 0x18]
call fcn.0041cad0
mov ecx, dword [edi + 0x20]
lea eax, [ecx*2 - 1]
dec ecx
and dword [edi + 0x24], eax
mov ebx, dword [edi + 0x28]
add ebx, dword [edi + 0x24]
mov eax, ebx
shr eax, 1
and ecx, eax
mov eax, dword [edi + 0x1c]
shl ecx, 2
mov dword [ebp - 0x10], ecx
cmp dword [ecx + eax], 0
jne 0x41b4e3
push 0x10
call fcn.00467c71
mov ecx, dword [edi + 0x1c]
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx], eax
mov ecx, edx
mov eax, dword [edi + 0x1c]
and ebx, 1
push esi
mov eax, dword [eax + ecx]
mov dword [eax + ebx*8], 0x41b680
mov dword [eax + ebx*8 + 4], 0x4b30c0
inc dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41b421
mov eax, 0x4b30c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41cca0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x41ccc5
or esi, 1
push 1
call edi
test ax, ax
jns 0x41ccd1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x41ccdd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x41cce9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x41d7f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0xd0]
call fcn.00420f80
mov edi, dword [ebp + 8]
test eax, eax
jle 0x41d845
nop
push esi
mov byte [ebp + 0xb], 0
call fcn.00422750
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 0x41d972
lea ecx, [ebx + 0xd0]
inc esi
call fcn.00420f80
cmp esi, eax
jl 0x41d810
sub edi, 0x100
je 0x41d907
sub edi, 4
je 0x41d8ac
sub edi, 2
jne 0x41d8fc
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.00473761
mov ecx, dword [ebx + 0x50]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x8000000a
push edx
push 0x4209f0
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x41d8fc
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x54], 0
je 0x41d8fc
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0x68]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x1c], 0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
call fcn.0041cca0
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41d8fc
mov ecx, dword [ebx + 0x54]
test ecx, ecx
je 0x41d959
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x41d959
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x41d959
mov ecx, dword [ebx + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00469064
add esp, 8
test eax, eax
je 0x41d959
mov ecx, dword [ebx + 0x54]
call fcn.004255d0
test al, al
jne 0x41d8fc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.0041f900
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41f430
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x41f458
cmp esi, dword [edi + 0x54]
je 0x41f458
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x54]
cmp esi, eax
je 0x41f542
test eax, eax
je 0x41f4bf
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x54]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push ecx
push 0
push 0
push str.killfocus
push dword [edi + 0x54]
mov ecx, edi
call fcn.0041fb80
mov dword [edi + 0x54], 0
test esi, esi
je 0x41f542
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x41f542
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x41f542
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x41f542
xorps xmm0, xmm0
mov dword [edi + 0x54], esi
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 8], 0x16
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x54]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push ecx
push 0
push 0
push str.setfocus
push dword [edi + 0x54]
mov ecx, edi
call fcn.0041fb80
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x421080
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 0x4210c5
cmp byte [ebp + 8], 0
je 0x4210b9
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 0x425970
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x4d4], 0
je 0x425a20
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x100
jne 0x4259d4
cmp word [ebp + 0xc], 0xd
jne 0x425a02
cmp byte [esi + 0x4da], 0
je 0x4259b5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x425a02
cmp byte [esi + 0x4db], 0
jne 0x425a02
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4259cc
push ecx
push 0
push 0
push str.return
push esi
call fcn.0041fb80
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp edi, 0x201
jne 0x4259e8
call fcn.00425870
or eax, 0x4000000
jmp 0x4259fa
cmp edi, 0x200
jne 0x425a02
call fcn.00425870
and eax, 0xfbffffff
push eax
mov ecx, esi
call fcn.00425890
mov eax, dword [esi + 0x4d4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
push dword [ebp + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
pop edi
pop esi
pop ebp
ret 0x10
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x42a0e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x4b0070]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov edi, edx
mov esi, ecx
mov edx, dword [ebp + 8]
cmp edx, 0xffffff
jbe 0x42a20d
cmp edx, 0xff000000
jb 0x42a157
movzx ecx, dx
movzx eax, dl
shr ecx, 8
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0046780a
mov esp, ebp
pop ebp
ret
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0x28
push eax
push 0
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x24]
movq qword [esp + 0x48], xmm0
movups xmmword [esp + 0x28], xmm0
push eax
movups xmmword [esp + 0x3c], xmm0
push esi
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0x200001
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 4
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x10], eax
test eax, eax
je 0x42a20d
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 8]
movaps xmm0, xmmword [0x4a6300]
push 0
push 0
push 0
mov dword [ecx], edx
lea ecx, [esp + 0x4c]
push 0xff
push 1
push ecx
lea ecx, [esp + 0x74]
mov edx, eax
push ecx
movups xmmword [esp + 0x78], xmm0
mov ecx, esi
xorps xmm0, xmm0
push edi
push edi
movaps xmmword [esp + 0x64], xmm0
call fcn.00428220
add esp, 0x24
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.0046780a
mov esp, ebp
pop ebp
ret

Function at 0x42daa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov edx, ecx
mov byte [edx + 0x195], al
test al, al
jne 0x42dacf
mov ecx, dword [edx + 0x40]
test ecx, ecx
je 0x42dacf
call fcn.0041f420
cmp eax, edx
jne 0x42dacf
mov dword [ebp + 8], 0
pop ebp
jmp fcn.0041f430
pop ebp
ret 4
Function at 0x431940
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x43194b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x431a07
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x497e68]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x497e68]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x497e68]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x497e68]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x497e68]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x497e68]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x497e68]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x497e68]
sub edi, 1
jne 0x431960
pop edi
test esi, esi
je 0x431a2a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x497e68]
sub esi, 1
jne 0x431a10
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x432350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov ebx, esi
mov dword [ebp - 8], esi
imul ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x432398
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43238a
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
mov esp, ebp
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 - 4]
call fcn.004696f0
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x433318
cmp dword [esi + 4], 0xffffffff
jne 0x433318
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 0x4332b0
cmp dword [ebp + 0x10], 1
mov eax, dword [0x49a83c]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x4332e3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4332e3
mov eax, 0x2000000
pop edi
pop esi
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00432100
add esp, 8
test eax, eax
jne 0x433304
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
mov ecx, eax
call fcn.00432700
mov dword [esi], eax
mov eax, dword [0x4b329c]
pop edi
pop esi
pop ebp
ret 0xc
pop edi
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc

Function at 0x433bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
shr edx, 0x10
mov esi, ecx
push edi
test edx, edx
je 0x433bf4
cmp word [eax], 0x3c
jne 0x433be7
push eax
call fcn.00436310
test al, al
jne 0x433c71
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push ecx
push eax
call fcn.00436410
test al, al
je 0x433bdc
jmp 0x433c71
mov ebx, dword [ebp + 0xc]
push ebx
push eax
call fcn.0041d370
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x433bdc
push edi
call fcn.0041d370
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x433c32
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
push ecx
push edi
mov dword [esi + 0x140], eax
call fcn.0041d370
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call fcn.00436370
test al, al
je 0x433bdc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [esi + 0x144], ebx
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00433c90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x441680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 8]
mov edi, ecx
and edi, 7
je 0x4416ad
cmp ecx, edi
jge 0x44169d
mov ecx, esi
call fcn.00440f80
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
xor eax, eax
mov edx, ecx
test ecx, ecx
jle 0x4416dd
mov ecx, dword [esi + 0xc]
push ebx
mov bl, cl
nop dword [eax + eax]
mov byte [ebp + eax - 4], bl
sub edx, 8
shr ecx, 8
inc eax
mov dword [esi + 0xc], ecx
mov bl, cl
test edx, edx
jg 0x4416c0
mov dword [esi + 8], edx
pop ebx
cmp eax, 4
jge 0x4416f9
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x4416ea
xor dl, dl
jmp 0x4416ef
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [ebp + eax - 4], dl
inc eax
cmp eax, 4
jl 0x4416e2
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x44172a
call fcn.0040a8f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x44171f
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x441750
mov edx, edi
mov ecx, esi
call fcn.00440fc0
test eax, eax
jne 0x441750
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004696f0
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44b960
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4b0070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xa4]
push esi
mov esi, ecx
push edi
push eax
mov dword [esi + 0x10], ebx
call fcn.0044bb10
mov ecx, dword [esi + 0x10]
call fcn.0044c460
movups xmm0, xmmword [ebp - 0xa4]
sub esp, 0x10
movzx eax, al
mov edx, esp
add eax, 0x2000004
shl eax, 5
push ecx
push 0
push eax
mov eax, dword [ecx]
push ecx
movups xmmword [edx], xmm0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0041d5b0
push eax
mov ecx, esi
call fcn.00420f90
mov ecx, dword [esi + 0x10]
call fcn.00438390
cmp eax, 0xffffffff
je 0x44b9e3
push eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00420350
test eax, eax
jne 0x44b9f4
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0041fec0
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0x10]
push 0
call fcn.0044c3a0
push eax
push 0xc5
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0x10]
call fcn.0044c460
test al, al
je 0x44ba3a
push 0
call fcn.0044c470
movzx eax, ax
push eax
push 0xcc
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
call fcn.0041d5b0
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x94]
call fcn.00409b60
push 0
push 0
push 0xb9
push dword [esi + 4]
call edi
push ecx
push 3
push 0xd3
mov ecx, esi
call fcn.00421560
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x10]
call fcn.0044c400
push 0
movzx eax, al
push eax
push 0xcf
push dword [esi + 4]
call edi
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, ebx
mov edx, eax
call fcn.0044c430
or edx, eax
mov ecx, esi
push edx
push 0xfffffffffffffff0
call fcn.00420f80
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 8]
pop edi
mov byte [esi + 0x18], 1
xor ecx, ebp
pop esi
pop ebx
call fcn.0046780a
mov esp, ebp
pop ebp
ret 4
Function at 0x44be10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4b0070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x44be7d
cmp dword [esi + 0x10], 0
je 0x44be7d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00468550
mov ebx, esp
test ebx, ebx
je 0x44be7d
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1b8
call fcn.004229f0
mov ecx, dword [esi + 0x10]
push ecx
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0041fb80
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046780a
mov esp, ebp
pop ebp
ret 0x10