joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443491
Capabilities:
Check if file exists

Disassembly:
push 0xbc
mov eax, 0x5db8e9
call fcn.00447fd9
mov ebx, ecx
mov ecx, dword [ebx + 0x540]
test ecx, ecx
je 0x4435db
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
call dword [eax + 0x28]
xor edi, edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0048d0ec
push eax
lea ecx, [ebp - 0x28]
call fcn.00401d40
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.00449699
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004a6baf
pop ecx
cmp eax, 3
jg 0x4434fb
mov esi, edi
jmp 0x44352e
push 3
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403830
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x40]
push edi
sbb esi, esi
push 1
and esi, 1
call fcn.00401de0
mov ecx, dword [ebx + 0x534]
test ecx, ecx
je 0x443544
call fcn.004570cc
xor ecx, ecx
test al, al
cmove esi, ecx
mov ecx, dword [ebx + 0x530]
test esi, esi
jne 0x44355d
test ecx, ecx
je 0x4435d0
mov eax, dword [ecx]
push edi
call dword [eax + 0xe4]
jmp 0x4435d0
test ecx, ecx
je 0x44356b
mov eax, dword [ecx]
push 1
call dword [eax + 0xe4]
mov eax, dword [ebx + 0x524]
mov ecx, edi
mov esi, dword [ebx + 0x520]
mov edi, eax
sub edi, esi
xor edx, edx
add edi, 3
shr edi, 2
cmp esi, eax
cmova edi, edx
test edi, edi
jmp 0x4435b3
mov edx, dword [esi]
test edx, edx
je 0x4435ad
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc8]
add esi, 4
inc ecx
cmp ecx, edi
mov dword [ebp - 0xc8], ecx
jne 0x44358e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00442cfe
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401de0
call fcn.00447f83
ret

Function at 0x44397d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6610e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0x208], ecx
push edi
mov edi, dword [ebp + 0xc]
cmp ebx, eax
je 0x4439bc
push 0xffffffffffffffff
push esi
push eax
mov ecx, ebx
call fcn.00422ec3
mov ecx, dword [ebp - 0x208]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x20c], 0x200
jb 0x4439ce
mov edi, dword [edi]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x443a12
cmp byte [ebp - 0x204], al
je 0x443a03
lea eax, [ebp - 0x204]
push eax
call fcn.004b0b60
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x204]
mov ecx, ebx
push eax
call fcn.00422f59
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447f5d
mov esp, ebp
pop ebp
ret
Function at 0x443c72
Capabilities:
Set registry value

Disassembly:
push 0x38
mov eax, 0x5db9bc
call fcn.00447fd9
mov esi, dword [ebp + 0x20]
xor ebx, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 4], ebx
mov edi, str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
mov dword [ebp - 0x18], ebx
push edi
mov word [ebp - 0x28], ax
call fcn.004a6baf
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00401ea0
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00403da0
add esp, 0xc
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ebx
push ecx
push ebx
push 0x20006
push 1
push ebx
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x443d23
push 4
lea eax, [ebp + 0x24]
push eax
push 4
push ebx
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x44]
xor ecx, ecx
inc ecx
movzx ebx, cl
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
xor eax, eax
lea ecx, [ebp - 0x40]
xor esi, esi
inc eax
push esi
push eax
call fcn.00401de0
xor eax, eax
lea ecx, [ebp - 0x28]
push esi
inc eax
push eax
call fcn.00401de0
xor eax, eax
lea ecx, [ebp + 8]
push esi
inc eax
push eax
call fcn.00401de0
mov al, bl
call fcn.00447f83
ret

Function at 0x444230
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dba83
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6610e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x670c38
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x670c38
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x64aa0f
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00447d90
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44b3a2
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 0x44b3c5
or esi, 1
push 1
call edi
test ax, ax
jns 0x44b3d1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x44b3dd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x44b3e9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x44c915
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0xd0]
call fcn.004024e0
mov edi, dword [ebp + 8]
test eax, eax
jle 0x44c96b
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp + 0xb], 0
call fcn.00449761
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 0x44c9c8
lea ecx, [esi + 0xd0]
inc ebx
call fcn.004024e0
cmp ebx, eax
jl 0x44c934
sub edi, 0x100
je 0x44ca22
sub edi, 4
je 0x44c9cc
dec edi
sub edi, 1
jne 0x44ca17
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.004b165e
pop ecx
mov ecx, dword [esi + 0x50]
lea edx, [ebp + 8]
push reloc.WS2_32.dll_ioctlsocket
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x44dac5
call dword [eax + 0x10c]
mov esi, eax
test esi, esi
je 0x44ca17
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xfc]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x44ca19
cmp dword [esi + 0x54], 0
je 0x44ca17
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.0044b3a2
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x44ca17
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x44ca6f
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x44ca6f
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xe0]
test al, al
je 0x44ca6f
mov ecx, dword [esi + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004a4c0d
pop ecx
pop ecx
test eax, eax
je 0x44ca6f
mov ecx, dword [esi + 0x54]
call fcn.0045e237
test al, al
jne 0x44ca17
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0044d46e
jmp 0x44c9c8
Function at 0x44d26b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x44d293
cmp esi, dword [ebx + 0x54]
je 0x44d355
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x54]
je 0x44d355
cmp dword [ebx + 0x54], 0
push edi
je 0x44d2e6
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
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 + 0x118]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x54]
call fcn.0044d045
mov dword [ebx + 0x54], edi
test esi, esi
je 0x44d354
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x44d354
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x44d354
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe0]
test al, al
je 0x44d354
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x54], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
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 + 0x118]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x54]
call fcn.0044d045
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44e12c
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 0x44e15e
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 0x452ff4
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x5dc4c0
call fcn.00447fd9
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00453383
call fcn.0044b1c9
push eax
lea ecx, [ebp - 0x94]
call fcn.0044955e
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0044b1cf
mov ecx, eax
call fcn.00449ca7
test al, al
je 0x45310a
push ebx
lea ecx, [ebp - 0x94]
call fcn.0044978d
push edi
push 0x80
push 3
push edi
push 1
push connect
lea ecx, [ebp - 0x94]
call fcn.0048d0ec
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x45307b
push str.Error_opening_file
jmp 0x4531eb
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x453184
cmp edi, 0x400000
ja 0x453195
and dword [ebp - 0x2c8], 0
push edi
call fcn.004482ea
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 0x4530f3
push ebx
call fcn.004482f3
pop ecx
mov ecx, esi
call fcn.00453383
push 0
push str.Could_not_read_file
jmp 0x4531eb
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00453236
push dword [ebp - 0x2cc]
jmp 0x453219
call fcn.0044b1cf
push eax
lea ecx, [ebp - 0x94]
call fcn.00449770
call fcn.0044b292
test al, al
je 0x45312b
call fcn.0044b1d5
jmp 0x453142
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0048d0ec
push eax
call fcn.00460036
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x453153
push eax
push str.Error_opening_zip_file
jmp 0x4531eb
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0045fa77
add esp, 0x14
test eax, eax
je 0x45317a
push 0
push str.Could_not_find_ziped_file
jmp 0x4531eb
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x45318d
push 0
push str.File_is_empty
jmp 0x4531eb
cmp ebx, 0x400000
jbe 0x45319e
push 0
push 0x5e8cec
jmp 0x4531eb
push ebx
call fcn.004482ea
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.004603f6
add esp, 0x18
test eax, eax
je 0x4531f6
cmp eax, 0x600
je 0x4531f6
push dword [ebp - 0x2c8]
call fcn.004482f3
pop ecx
call fcn.0044b292
test al, al
jne 0x4531e4
push edi
call fcn.0045f8d1
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004533ab
mov bl, al
jmp 0x453221
call fcn.0044b292
test al, al
jne 0x453206
push edi
call fcn.0045f8d1
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.00453236
push edi
mov bl, al
call fcn.004482f3
pop ecx
lea ecx, [ebp - 0x94]
call fcn.00449699
mov al, bl
call fcn.00447f83
ret 8
Function at 0x45f5df
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x4ec], edi
je 0x45f649
cmp dword [ebp + 8], 0x100
jne 0x45f638
cmp word [ebp + 0xc], 0xd
jne 0x45f638
cmp byte [esi + 0x4f2], 0
je 0x45f61f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45f638
cmp byte [esi + 0x4f3], 0
jne 0x45f638
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x45f634
push edi
push edi
push edi
push str.return
push esi
call fcn.0044d045
xor eax, eax
jmp 0x45f64c
mov eax, dword [esi + 0x4ec]
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 0x45f923
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6610e4]
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 0x45f9d9
movzx eax, word [esi]
test ax, ax
je 0x45f9d9
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x45f963
cmp ax, 0x5c
jne 0x45f965
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x45f957
cmp edi, esi
je 0x45f9ac
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.004b4bc6
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x45f9e9
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0045f923
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004a6b8d
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004b0beb
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.00447f5d
mov esp, ebp
pop ebp
ret
call fcn.0044820e
int3

Function at 0x45ffae
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x46002a
cmp dword [edi + 4], 0xffffffff
jne 0x46002a
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x64a880
push esi
call fcn.004b0beb
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x45fffc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x45fffc
mov eax, 0x2000000
jmp 0x46002f
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004624c9
add esp, 0x10
test eax, eax
jne 0x46001a
mov eax, dword [ebp - 4]
jmp 0x46002f
push eax
call fcn.00462bd1
mov dword [edi], eax
mov eax, dword [0x671578]
pop ecx
jmp 0x46002f
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4625d6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x46260a
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x462605
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x462631
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x46261a
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.004a2340
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4627b2
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x462871
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 + 0x5ea588]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5ea588]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5ea588]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5ea588]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5ea588]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5ea588]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5ea588]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5ea588]
sub edi, 1
jne 0x4627ca
pop edi
test esi, esi
je 0x46288d
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5ea588]
inc edx
sub esi, 1
jne 0x462875
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x4706dd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6610e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x47074a
cmp dword [esi + 0x10], 0
je 0x47074a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0050a050
mov ebx, esp
test ebx, ebx
je 0x47074a
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1bc
call fcn.00449729
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044d045
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f5d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47139f
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2cc
mov eax, 0x5dd1c9
call fcn.00447fd9
mov dword [ebp - 0x2d8], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2cc], ebx
call fcn.0044b1c9
push eax
lea ecx, [ebp - 0x94]
call fcn.0044955e
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0044b1cf
mov ecx, eax
call fcn.00449ca7
test al, al
je 0x47148d
push ebx
lea ecx, [ebp - 0x94]
call fcn.0044978d
push edi
push 0x80
push 3
push edi
push 1
push connect
lea ecx, [ebp - 0x94]
call fcn.0048d0ec
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x471430
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00449699
jmp 0x47156e
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x47141c
push esi
mov dword [ebp - 0x2c8], edi
call fcn.004482ea
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2c8]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], esi
je 0x471559
push edi
call fcn.004482f3
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00449699
jmp 0x47156c
call fcn.0044b1cf
push eax
lea ecx, [ebp - 0x94]
call fcn.00449770
call fcn.0044b292
test al, al
je 0x4714ae
call fcn.0044b1d5
jmp 0x4714c5
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0048d0ec
push eax
call fcn.00460036
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x47141c
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push 1
push dword [ebp - 0x2cc]
push ebx
call fcn.0045fa77
add esp, 0x14
test eax, eax
jne 0x47141c
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x47141c
push esi
call fcn.004482ea
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x2d4]
push ebx
call fcn.004603f6
add esp, 0x18
test eax, eax
je 0x471549
cmp eax, 0x600
je 0x471549
push edi
call fcn.004482f3
pop ecx
call fcn.0044b292
test al, al
jne 0x471479
push ebx
call fcn.0045f8d1
jmp 0x471478
call fcn.0044b292
test al, al
jne 0x471559
push ebx
call fcn.0045f8d1
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00449699
test edi, edi
jne 0x4715e0
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push connect
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4715dc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4715dc
push esi
mov dword [ebp - 0x2d0], edi
call fcn.004482ea
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2d0]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d0], esi
je 0x4715d8
push edi
call fcn.004482f3
pop ecx
xor edi, edi
test edi, edi
jne 0x4715e0
xor eax, eax
jmp 0x4715fb
mov ecx, dword [ebp - 0x2d8]
push esi
push edi
call fcn.00471603
push 1
push edi
mov esi, eax
call fcn.004480dd
pop ecx
pop ecx
mov eax, esi
call fcn.00447f83
ret 4
Function at 0x47a3f5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x47a419
cmp dword [esi + 8], edi
jge 0x47a411
push esi
call fcn.00478696
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x47a442
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 0x47a425
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x47a45f
mov edx, dword [esi]
cmp edx, dword [esi + 4]
jb 0x47a44d
xor eax, eax
jmp 0x47a455
mov al, byte [edx]
inc edx
mov dword [esi], edx
movzx eax, al
mov byte [ebp + ecx + 8], al
inc ecx
cmp ecx, 4
jl 0x47a444
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 0x47a494
push str.zlib_corrupt
call fcn.00478551
add esp, 4
jmp 0x47a4d1
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x47a4a4
push str.read_past_buffer
jmp 0x47a48a
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x47a4bb
push edi
push esi
call fcn.00478560
pop ecx
pop ecx
test eax, eax
je 0x47a4d1
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004a2340
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret