joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4093f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
cmp byte [esi + 0xb], 0
je 0x409412
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x6e]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x409400
mov byte [esi + 0xb], 0
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.0040d760
mov eax, edi
pop edi
pop esi
ret

Function at 0x409430
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
cmp byte [esi + 9], 0
je 0x409452
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x6e]
inc eax
xor byte [edx], cl
cmp eax, 8
jb 0x409440
mov byte [esi + 9], 0
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.0040d760
mov eax, edi
pop edi
pop esi
ret
Function at 0x40a880
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6b40
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6817dc]
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
push 0x665030
push 0x8a
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40aa5b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40aa5b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x40aa5b
cmp dword [edi + 0x4cc], 8
lea edx, [edi + 0x4b8]
jb 0x40a910
mov edx, dword [edx]
lea ecx, [ebp - 0x28]
call fcn.004063f0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x34], 0x1f191f32
mov dword [ebp - 0x30], 0xc11185c
mov word [ebp - 0x2c], 0x100
lea eax, [ecx + 0x6e]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 8
jb 0x40a935
push 8
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2b], 0
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.004042b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
mov ebx, dword [ebp - 0x44]
cmp ebx, 0x10
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
cmovae edx, edi
mov esi, dword [ebp - 0x18]
sub eax, esi
mov ecx, dword [ebp - 0x48]
push ecx
push edx
cmp ecx, eax
ja 0x40a9af
cmp dword [ebp - 0x14], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
add esi, eax
push esi
call fcn.005c9d10
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x40a9c5
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004055c0
mov ebx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x58]
cmp ebx, 0x10
jb 0x40a9f5
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40a9eb
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa77
push ecx
push edi
call fcn.0055e71a
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x665040
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005d3db0
mov esi, eax
add esp, 8
test esi, esi
je 0x40aa2b
push esi
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.005cdbc8
push esi
call fcn.005cd62e
add esp, 0x14
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40aa5b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40aa51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa7c
push edx
push ecx
call fcn.0055e71a
add esp, 8
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.0055e6d4
mov esp, ebp
pop ebp
ret
call fcn.005ce7a3
call fcn.005ce7a3
int3
Function at 0x40e9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push dword [ebp + 8]
call fcn.00418cbb
push 0x528
call fcn.0055e6ea
push 0x528
mov esi, eax
push 0
push esi
call fcn.005c9930
add esp, 0x14
mov ecx, esi
call fcn.0041b3de
push 0x53
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], vtable.DuiLib::CNotifyPump.0
call fcn.0041a856
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x10], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x20], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x24], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x28], vtable.DuiLib::WindowImplBase.0
call fcn.00413db0
xor eax, eax
mov dword [esi], vtable.InstallWnd.1.0
lea ecx, [esi + 0x4b8]
mov dword [esi + 0x10], vtable.InstallWnd.0
mov dword [esi + 0x20], vtable.InstallWnd.2.0
mov dword [esi + 0x24], vtable.InstallWnd.4.0
mov dword [esi + 0x28], vtable.InstallWnd.3.0
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x664bac
mov word [ecx], ax
call fcn.00405d50
mov dword [esi + 0x4e0], 0
lea ecx, [esi + 0x510]
mov dword [esi + 0x4e4], 7
xor eax, eax
mov word [esi + 0x4d0], ax
mov dword [esi + 0x4f8], eax
mov dword [esi + 0x4fc], 7
mov word [esi + 0x4e8], ax
mov dword [esi + 0x500], eax
mov dword [esi + 0x504], eax
mov dword [esi + 0x508], eax
mov dword [esi + 0x50c], eax
push eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push 0x664bac
mov word [ecx], ax
call fcn.00405d50
mov dword [ebp - 0x14], 0xcf98e5b1
xor eax, eax
mov dword [ebp - 0x10], 0xc7f8efd9
mov dword [ebp - 0xc], 0xe67814b7
mov dword [ebp - 8], 0xc2fb
mov byte [ebp - 4], 1
nop
lea ecx, [eax - 0x6392]
xor word [ebp + eax*2 - 0x14], cx
inc eax
cmp eax, 7
jb 0x40eb10
push 0
push 0
push 0
push 0
push 0
push 0
push 0x96c80000
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0
push eax
push 0
mov ecx, esi
call fcn.0041b558
mov ecx, esi
call fcn.0041b3f7
push 1
push 1
mov ecx, esi
call fcn.0041b925
call fcn.00417a12
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x415802
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
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x415825
or esi, 2
push 1
call edi
test ax, ax
jns 0x415831
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x41583d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x415849
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x418a68
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 0x418aa3
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x418aa3
cmp esi, dword [edi + 0xe8]
je 0x418aa3
cmp byte [edi + 0xe0], 0
jne 0x418aa3
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x418b8d
test eax, eax
je 0x418b0c
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x14
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
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
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0xe8]
call fcn.0041871d
and dword [edi + 0xe8], 0
test esi, esi
je 0x418b8d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x418b8d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x418b8d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x418b8d
xorps xmm0, xmm0
mov dword [edi + 0xe8], esi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
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
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0xe8]
call fcn.0041871d
pop edi
pop esi
leave
ret 8

Function at 0x41b925
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 0x41b957
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x4275b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x694], edi
je 0x427620
cmp dword [ebp + 8], 0x100
jne 0x42760f
cmp word [ebp + 0xc], 0xd
jne 0x42760f
cmp byte [esi + 0x69a], 0
je 0x4275f4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x42760f
cmp byte [esi + 0x69b], 0
jne 0x42760f
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x42760b
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.0041871d
xor eax, eax
jmp 0x427623
mov eax, dword [esi + 0x694]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x4279fd
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6817dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x427ab7
movzx eax, word [esi]
test ax, ax
je 0x427ab7
push edi
mov edi, esi
mov ecx, esi
mov edx, eax
cmp dx, 0x2f
je 0x427a3f
cmp dx, 0x5c
jne 0x427a41
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x427a33
cmp edi, esi
je 0x427a8a
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.005d862a
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x427ac5
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.004279fd
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.005d8809
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.005d87d8
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
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.0055e6d4
leave
ret
call fcn.0055f22b
int3

Function at 0x428089
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x428105
cmp dword [edi + 4], 0xffffffff
jne 0x428105
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x664eb4
push esi
call fcn.005d87d8
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x4280d7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4280d7
mov eax, 0x2000000
jmp 0x42810a
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042a5c8
add esp, 0x10
test eax, eax
jne 0x4280f5
mov eax, dword [ebp - 4]
jmp 0x42810a
push eax
call fcn.0042acea
mov dword [edi], eax
mov eax, dword [0x68b598]
pop ecx
jmp 0x42810a
mov eax, 0x1000000
pop edi
leave
ret 0xc
Function at 0x42a6d5
Capabilities:
Read file on windows

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

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42a8ce
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x42a98d
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 + 0x5fff50]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5fff50]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5fff50]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5fff50]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5fff50]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5fff50]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5fff50]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5fff50]
sub edi, 1
jne 0x42a8e6
pop edi
test esi, esi
je 0x42a9a9
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5fff50]
inc edx
sub esi, 1
jne 0x42a991
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x430a3f
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x5f7de2
call fcn.0055ef38
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00430dcc
call fcn.0041550c
push eax
lea ecx, [ebp - 0x94]
call fcn.0041a7e5
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00415512
mov ecx, eax
call fcn.0041aee0
test al, al
je 0x430b55
push ebx
lea ecx, [ebp - 0x94]
call fcn.0041a9dc
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
call fcn.0041a9bc
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x430ac6
push str.Error_opening_file
jmp 0x430c36
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x430bcf
cmp edi, 0x400000
ja 0x430be0
and dword [ebp - 0x2c8], 0
push edi
call fcn.0055e74b
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x430b3e
push ebx
call fcn.0055e6e5
pop ecx
mov ecx, esi
call fcn.00430dcc
push 0
push str.Could_not_read_file
jmp 0x430c36
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00430c81
push dword [ebp - 0x2cc]
jmp 0x430c64
call fcn.00415512
push eax
lea ecx, [ebp - 0x94]
call fcn.0041a9bf
call fcn.004156d5
test al, al
je 0x430b76
call fcn.00415518
jmp 0x430b8d
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0041a9bc
push eax
call fcn.0042810f
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x430b9e
push eax
push str.Error_opening_zip_file
jmp 0x430c36
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00427b4f
add esp, 0x14
test eax, eax
je 0x430bc5
push 0
push str.Could_not_find_ziped_file
jmp 0x430c36
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x430bd8
push 0
push str.File_is_empty
jmp 0x430c36
cmp ebx, 0x400000
jbe 0x430be9
push 0
push 0x60104c
jmp 0x430c36
push ebx
call fcn.0055e74b
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.004284e6
add esp, 0x18
test eax, eax
je 0x430c41
cmp eax, 0x600
je 0x430c41
push dword [ebp - 0x2c8]
call fcn.0055e6e5
pop ecx
call fcn.004156d5
test al, al
jne 0x430c2f
push edi
call fcn.004279ab
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00430df4
mov bl, al
jmp 0x430c6c
call fcn.004156d5
test al, al
jne 0x430c51
push edi
call fcn.004279ab
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.00430c81
push edi
mov bl, al
call fcn.0055e6e5
pop ecx
lea ecx, [ebp - 0x94]
call fcn.0041a8bc
mov al, bl
call fcn.0055eee2
ret 8
Function at 0x4396ac
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
mov edx, eax
and edi, 7
je 0x4396da
cmp eax, edi
jge 0x4396ce
push esi
call fcn.00435ba2
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x4396fd
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4396e3
mov dword [esi + 8], edx
jmp 0x439712
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x439708
xor dl, dl
jmp 0x43970d
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4396fd
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 0x43974c
push str.zlib_corrupt
call fcn.00435acd
add esp, 4
jmp 0x43978c
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x43975c
push str.read_past_buffer
jmp 0x439742
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x439776
push edi
push ecx
push esi
call fcn.0043c1c8
add esp, 0xc
test eax, eax
je 0x43978c
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.005c93b0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x44b760
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6817dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041d6a1
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x44b7dc
lea eax, [ebp - 0x14]
push eax
call fcn.0044ada0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x44b7b8
push 0
call fcn.0041ad8b
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44b7dc
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.0041ad8b
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0055e6d4
leave
ret 0xc

Function at 0x44b7eb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6817dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x44b875
cmp dword [esi + 0x10], 0
je 0x44b875
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0055efe0
mov ebx, esp
test ebx, ebx
je 0x44b875
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.0041a950
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.0041871d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.004156e2
test al, al
je 0x44b875
mov ecx, dword [esi + 0x10]
call fcn.0041d5be
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e6d4
leave
ret 0x10

Function at 0x44becf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6817dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041ec0d
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x44bf53
lea eax, [ebp - 0x14]
push eax
call fcn.0044ada0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x44bf2f
push 0
call fcn.0041ad8b
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44bf53
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.0041ad8b
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055e6d4
leave
ret 0x14
Function at 0x44ce2c
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x5f8888
call fcn.0055ef38
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x6e8], ebx
cmp dword [edi + 4], ebx
jne 0x44cebe
lea eax, [ebp - 0xa8]
push eax
call fcn.0044ca97
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x24]
mov ecx, eax
call fcn.004154f0
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.0041b5c3
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0042be52
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.004150bc
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0041aee0
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0041a8bc
mov esi, 0x6d8
test bl, bl
je 0x44cef9
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
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
call fcn.0055eee2
ret 4

Function at 0x44cf2f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6817dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041d6a1
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x44cfab
lea eax, [ebp - 0x14]
push eax
call fcn.0044ca97
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6f0]
test eax, eax
je 0x44cf87
push 0
call fcn.0041ad8b
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44cfab
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.0041ad8b
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0055e6d4
leave
ret 0xc