joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x43ffc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3a000]
push edi
jmp 0x43ffda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43ffe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43ffd0
mov eax, 1
add ebx, ebx
jne 0x43fff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43ffe8
jne 0x440004
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43ffe8
xor ecx, ecx
sub eax, 3
jb 0x440018
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44008a
mov ebp, eax
add ebx, ebx
jne 0x440023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x440030
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x440054
inc ecx
add ebx, ebx
jne 0x440040
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x440035
jne 0x440051
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440035
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x440074
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x440065
jmp 0x43ffd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x440074
add edi, ecx
jmp 0x43ffd6
pop esi
mov edi, esi
mov ecx, 0x33a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x440092
cmp byte [edi], 0
jne 0x440092
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x440097
lea edi, [esi + 0x3d000]
mov eax, dword [edi]
or eax, eax
je 0x440106
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6e42c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6e498]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4400c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6e4a0]
or eax, eax
je 0x440100
mov dword [ebx], eax
add ebx, 4
jmp 0x4400e1
call dword [esi + 0x6e49c]
mov ebp, dword [esi + 0x6e4a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x44013a
sub esp, 0xffffff80
jmp 0x408cb8
Function at 0x409690
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x1c8], edi
jle 0x4096df
nop dword [eax + eax]
mov eax, dword [esi + 0x1c4]
lea edx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + edi*4]
push dword [ebp + 0xc]
push ebx
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp + 0xb], 0
jne 0x409877
inc edi
cmp edi, dword [esi + 0x1c8]
jl 0x4096b0
sub ebx, 0x100
je 0x409800
sub ebx, 4
je 0x40974f
sub ebx, 2
jne 0x4097f5
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.005eb96f
mov ecx, dword [esi + 0x144]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_ioctlsocket
push edx
push 0x40d130
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x4097f5
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 [esi + 0x148], 0
je 0x4097f5
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
xor edi, edi
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x158]
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x15c]
push 0x11
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call ebx
test ax, ax
mov ecx, 8
push 2
cmovs edi, ecx
call ebx
test ax, ax
jns 0x4097b2
or edi, 1
push 1
call ebx
test ax, ax
jns 0x4097be
or edi, 2
push 0x10
call ebx
test ax, ax
jns 0x4097ca
or edi, 4
push 0x12
call ebx
test ax, ax
jns 0x4097d6
or edi, 0x20
mov word [ebp - 0xa], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x148]
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 0x4097f5
mov ecx, dword [esi + 0x148]
test ecx, ecx
je 0x40985e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x40985e
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x40985e
mov ecx, dword [esi + 0x148]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.005d995d
add esp, 8
test eax, eax
je 0x40985e
mov eax, dword [esi + 0x148]
cmp byte [eax + 0x10a1], 0
jne 0x4097f5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0040bea0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40f450
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x631ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x6ce8d4]
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 esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 4]
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.00408e20
mov ecx, esi
lea eax, [esi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, edi
call fcn.0040c050
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1ec]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov ecx, esi
mov byte [ebp - 4], 1
mov edx, dword [eax]
neg ecx
push 0
sbb ecx, ecx
lea eax, [esi + 0x28]
and ecx, eax
push edi
push ecx
push 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x168]
mov dword [eax], edx
call fcn.0041eb10
mov ebx, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1e8]
cmp eax, ecx
je 0x40f57a
push eax
call fcn.005e0510
add esp, 4
test ebx, ebx
jne 0x40f599
push 0x10
push str.Duilib
push 0x6b4e10
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
mov ecx, edi
call fcn.0040b530
mov edx, esi
lea eax, [esi + 0x20]
neg edx
mov ecx, edi
sbb edx, edx
and edx, eax
push edx
call fcn.0040bf60
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x40f5ce
push eax
call fcn.005e0510
add esp, 4
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x40f5e1
push eax
call fcn.005e0510
add esp, 4
xor eax, eax
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.005bcf27
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411ff0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x631b9b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x6ce8d4]
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 ebx, edx
mov esi, ecx
lea eax, [ebp - 0x90]
push 0xffffffffffffffff
push dword [0x6d4098]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x94]
xor eax, eax
mov word [ebp - 0x90], ax
call fcn.0040d840
mov dword [ebp - 4], 0
test esi, esi
je 0x412061
push esi
lea ecx, [ebp - 0x94]
call fcn.0040d710
push 0
push 0x80
push 3
push 0
push 1
push bind
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4120d7
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx], eax
test eax, eax
je 0x4120d7
push eax
mov dword [ebp - 0x98], 0
call fcn.005bccb1
add esp, 4
mov esi, eax
lea eax, [ebp - 0x98]
push 0
push eax
push dword [ebx]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebx]
je 0x4120d9
push esi
call fcn.005bccba
add esp, 4
xor esi, esi
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x4120f2
push eax
call fcn.005e0510
add esp, 4
mov eax, esi
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.005bcf27
mov esp, ebp
pop ebp
ret

Function at 0x412260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6dc408]
test eax, eax
push edi
cmove eax, dword [0x6dc40c]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x412284
pop edi
pop ebp
ret
mov eax, dword [0x6dc408]
test eax, eax
push ebx
cmove eax, dword [0x6dc40c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push edi
test ebx, ebx
jne 0x4122ae
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
xor eax, eax
pop edi
pop ebp
ret
mov eax, dword [0x6dc408]
test eax, eax
cmove eax, dword [0x6dc40c]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x4122a8
push esi
push eax
call fcn.005bccb1
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call fcn.005d7410
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x412300
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0
push 0x80
push 3
push 0
push 1
push bind
push ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x412330
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx], eax
test eax, eax
je 0x412328
push esi
push eax
mov dword [ebp - 4], 0
call fcn.005bccb1
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebx]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp eax, dword [ebx]
je 0x41237b
push esi
call fcn.005bccba
add esp, 4
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413990
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 0x4139be
mov ecx, dword [edx + 0x40]
test ecx, ecx
je 0x4139be
cmp dword [ecx + 0x148], edx
jne 0x4139be
mov dword [ebp + 8], 0
pop ebp
jmp fcn.0040b960
pop ebp
ret 4
Function at 0x4295b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 8]
mov ebx, ecx
and ebx, 7
je 0x4295fb
cmp ecx, ebx
jge 0x4295f3
mov edx, dword [esi]
mov edi, dword [esi + 0xc]
nop dword [eax]
cmp edx, dword [esi + 4]
jb 0x4295d9
xor al, al
jmp 0x4295de
mov al, byte [edx]
inc edx
mov dword [esi], edx
movzx eax, al
shl eax, cl
add ecx, 8
or edi, eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
cmp ecx, 0x18
jle 0x4295d0
mov ecx, ebx
shr dword [esi + 0xc], cl
sub dword [esi + 8], ebx
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x42962d
mov edi, dword [esi + 0xc]
nop word [eax + eax]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x429610
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x429649
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x42963a
xor dl, dl
jmp 0x42963f
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x429632
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx ebx, ah
movzx eax, al
shl ebx, 8
add ebx, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, ebx
xor eax, 0xffff
cmp ecx, eax
je 0x429678
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
add eax, ebx
cmp eax, dword [esi + 4]
ja 0x42966f
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
lea eax, [ecx + ebx]
cmp eax, edi
jbe 0x4296c9
cmp dword [esi + 0x1c], 0
je 0x42966f
mov edx, dword [esi + 0x14]
sub ecx, edx
sub edi, edx
mov dword [ebp - 4], ecx
lea eax, [ecx + ebx]
cmp eax, edi
jle 0x4296ab
add edi, edi
cmp eax, edi
jg 0x4296a5
push edi
push edx
call fcn.005e5d68
add esp, 8
test eax, eax
je 0x42966f
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [esi + 0x14], eax
add eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x18], eax
push ebx
push dword [esi]
push dword [esi + 0x10]
call fcn.005d7410
add dword [esi], ebx
add esp, 0xc
add dword [esi + 0x10], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431bf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x431bfb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x431cb7
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 + 0x6b35c8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6b35c8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6b35c8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6b35c8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6b35c8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6b35c8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6b35c8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6b35c8]
sub edi, 1
jne 0x431c10
pop edi
test esi, esi
je 0x431cda
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 + 0x6b35c8]
sub esi, 1
jne 0x431cc0
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4324a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x4324e3
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4324d5
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x4324f4
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.005d7410
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x43255b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432556
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x432588
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x43256c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x10]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.005d7410
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x18], eax
cmp edi, 1
jne 0x43259c
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x432593
cmp byte [esi + 8], 0
je 0x432593
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4326f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x432724
cmp byte [edi + 1], 0
je 0x43271d
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x43272a
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
cmp byte [edi], 0
push ebx
je 0x43274d
cmp byte [edi + 1], 0
je 0x432746
push 1
push 0
push 0
push dword [edi + 4]
call ecx
sub eax, dword [edi + 0xc]
jmp 0x432750
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x43275f
mov eax, dword [edi + 0x18]
mov ebx, 0xffff
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ebx
cmp eax, ebx
jae 0x432764
mov ebx, eax
mov dword [ebp - 0xc], eax
push esi
push 0x404
call fcn.005e5d5d
mov esi, eax
add esp, 4
test esi, esi
jne 0x43277f
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x10], 0
cmp ebx, eax
jbe 0x43287a
mov edx, dword [ebp - 4]
add eax, 0x400
cmp eax, ebx
mov ecx, eax
mov eax, 0x404
cmova ecx, ebx
sub edx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x404
mov dword [ebp - 0x18], edx
mov ebx, ecx
cmova ebx, eax
cmp byte [edi], 0
je 0x4327de
cmp byte [edi + 1], 0
je 0x43287a
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, edx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4327e1
mov dword [edi + 0x18], edx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 8], ebx
je 0x432809
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432804
mov byte [edi + 8], 1
mov eax, dword [ebp - 0x14]
jmp 0x432832
mov edx, dword [edi + 0x18]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
jbe 0x43281c
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 8], ecx
push ecx
mov ecx, dword [edi + 0x10]
add ecx, edx
push ecx
push esi
call fcn.005d7410
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [edi + 0x18], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x43287a
lea eax, [ebx - 3]
test eax, eax
jle 0x43286c
dec eax
cmp byte [eax + esi], 0x50
jne 0x43285e
cmp byte [eax + esi + 1], 0x4b
jne 0x43285e
cmp byte [eax + esi + 2], 5
jne 0x43285e
cmp byte [eax + esi + 3], 6
je 0x432864
test eax, eax
jg 0x432842
jmp 0x43286c
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jne 0x43287a
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
jb 0x432793
push esi
call fcn.005e0510
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x433840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x4338d8
cmp dword [esi + 4], 0xffffffff
jne 0x4338d8
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 0x433870
cmp dword [ebp + 0x10], 1
mov eax, dword [0x6b6864]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x4338a3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4338a3
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.00432350
add esp, 8
test eax, eax
jne 0x4338c4
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
mov ecx, eax
call fcn.00432890
mov dword [esi], eax
mov eax, dword [0x6dc45c]
pop edi
pop esi
pop ebp
ret 0xc
pop edi
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x43bee0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6ce8d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x43bf4d
cmp dword [esi + 0x10], 0
je 0x43bf4d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.005bdc30
mov ebx, esp
test ebx, ebx
je 0x43bf4d
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.0040d920
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.0040c3b0
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bcf27
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44b730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x6ce8d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esi + 0x10], eax
mov dword [eax + 0x14dc], 0
cmp dword [esi + 4], 0
jne 0x44b7d5
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x98], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x94], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
movups xmm0, xmmword [ebp - 0xa0]
sub esp, 0x10
mov ecx, esp
push ecx
push 0
push 0x40000000
push ecx
push dword [eax]
movups xmmword [ecx], xmm0
mov ecx, esi
call fcn.0040e650
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0x106c]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0040cbd0
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x8c]
mov eax, dword [eax]
movzx ebx, word [eax]
mov eax, dword [ebp - 0x90]
cmp eax, ecx
je 0x44b802
push eax
call fcn.005e0510
add esp, 4
test bx, bx
jne 0x44b816
mov eax, dword [esi + 0x10]
add eax, 0x14cc
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x10]
add eax, 0x14cc
push eax
push 0
push 0x1002
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
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 - 4]
mov byte [esi + 0x18], 1
xor ecx, ebp
pop esi
pop ebx
call fcn.005bcf27
mov esp, ebp
pop ebp
ret 4