joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cfd0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, eax
push edi
lea edi, [esi - 0x7ff80000]
cmp esi, 0x7ff80000
ja 0x41cfe8
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
cmp esi, 0x80000000
jb 0x41cffb
mov ebx, 0xfff80000
mov eax, dword [0x4b60b4]
mov edx, dword [0x4b60b0]
test eax, eax
jne 0x41d015
test edx, edx
je 0x41d028
mov eax, edx
mov dword [0x4b60b4], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x41d028
cmp ecx, edi
jb 0x41d028
cmp ecx, ebx
jbe 0x41d127
mov eax, edx
mov dword [0x4b60b4], eax
test edx, edx
je 0x41d056
test eax, eax
je 0x41d04a
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x41d04a
cmp ecx, edi
jb 0x41d04a
cmp ecx, ebx
jbe 0x41d122
mov eax, dword [eax + 4]
test eax, eax
jne 0x41d037
mov dword [0x4b60b4], eax
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, 0x40000000
jbe 0x41d080
lea eax, [esi - 0x40000000]
push edi
call fcn.0041cf20
add esp, 4
test eax, eax
jne 0x41d0e9
cmp esi, 0x40000000
jae 0x41d095
push ebx
lea eax, [esi + 0x40000000]
call fcn.0041ce60
add esp, 4
test eax, eax
jne 0x41d0e9
cmp esi, 0x40000000
jbe 0x41d0b6
push esi
lea eax, [esi - 0x40000000]
call fcn.0041ce60
add esp, 4
test eax, eax
jne 0x41d0e9
cmp esi, 0x40000000
jae 0x41d0cb
lea eax, [esi + 0x40000000]
push esi
call fcn.0041cf20
add esp, 4
test eax, eax
jne 0x41d0e9
push edi
mov eax, esi
call fcn.0041cf20
add esp, 4
test eax, eax
jne 0x41d0e9
push ebx
mov eax, esi
call fcn.0041ce60
add esp, 4
test eax, eax
je 0x41d14e
xor edx, edx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov ecx, dword [0x4b60b0]
mov dword [eax + 4], ecx
mov dword [0x4b60b4], eax
mov dword [0x4b60b0], eax
lea ecx, [eax + 0xffa8]
mov esi, 0x38b
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x48
dec esi
jne 0x41d112
mov dword [eax + 8], edx
jmp 0x41d127
mov dword [0x4b60b4], eax
mov esi, dword [eax + 8]
cmp esi, edi
jb 0x41d14e
cmp esi, ebx
ja 0x41d14e
mov edx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [eax + 8], edx
call fcn.00480950
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x41d190
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov eax, dword [0x4b60b0]
push ebx
mov ebx, 0x4b60b0
test eax, eax
je 0x41d1fb
push esi
push edi
cmp dword [eax], 0x52727464
jne 0x41d1f0
lea edi, [eax + 0x10000]
xor edx, edx
lea esi, [eax + 0x88]
mov ecx, dword [esi]
test ecx, ecx
je 0x41d1c5
cmp ecx, eax
jb 0x41d1f0
cmp ecx, edi
jae 0x41d1f0
inc edx
add esi, 0x48
cmp edx, 0x38d
jb 0x41d1b7
mov ecx, dword [eax + 4]
push 0x8000
push 0
push eax
mov dword [ebx], ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x4b60b4], 0
jmp 0x41d1f3
lea ebx, [eax + 4]
mov eax, dword [ebx]
test eax, eax
jne 0x41d1a1
pop edi
pop esi
pop ebx
ret
Function at 0x41d200
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x4b60c0], ebx
je 0x41d219
mov eax, 0x10dd
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x4b60c0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x41d20f
push esi
mov esi, dword [0x4b60b0]
mov dword [0x4b60d0], ebx
mov dword [0x4b60cc], ebx
mov dword [0x4b60c4], ebx
mov dword [0x4b60c8], ebx
cmp esi, ebx
je 0x41d276
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ebx, [ebx]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x41d260
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41d280
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4b60c0], eax
je 0x41d29b
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [0x4b60d0]
push edi
test esi, esi
je 0x41d30d
jmp 0x41d2b0
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 4]
push eax
movzx eax, byte [edx + 0x36]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], 0
jne 0x41d2fc
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x41d2fc
push 0x48
push 0
mov edi, ebx
push ebx
and edi, 0xffff0000
call fcn.00480950
mov edx, dword [edi + 8]
mov dword [ebx + 0x40], edx
mov dword [edi + 8], ebx
add esp, 0xc
mov dword [esi + 0x10], 0
mov edi, dword [esi]
push esi
call fcn.0047659a
add esp, 4
mov esi, edi
test edi, edi
jne 0x41d2b0
mov dword [0x4b60d0], 0
call fcn.0041ce10
mov esi, dword [0x4b60cc]
test esi, esi
je 0x41d347
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
lea esp, [esp]
mov eax, dword [esi + 4]
push eax
call ebx
mov edi, dword [esi]
push esi
call fcn.0047659a
add esp, 4
mov esi, edi
test edi, edi
jne 0x41d330
pop edi
xor eax, eax
pop esi
mov dword [0x4b60cc], eax
mov dword [0x4b60c0], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d6b0
Capabilities:
Suspend thread

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x4b60c4]
test eax, eax
jne 0x41d725
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp edi, eax
jne 0x41d6ca
xor eax, eax
pop edi
ret
push esi
push 8
call fcn.004765f6
mov esi, eax
add esp, 4
test esi, esi
jne 0x41d6e0
lea edi, [eax + 8]
jmp 0x41d6fd
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x41d712
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.0047659a
add esp, 4
pop esi
mov dword [0x4b60c4], edi
mov eax, edi
mov dword [0x4b60c8], 0
pop edi
ret
mov eax, dword [0x4b60cc]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x4b60cc], esi
xor eax, eax
pop esi
pop edi
ret
Function at 0x4239f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4b04dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
push ebx
mov dword [eax + 0x2fc], 0
cmp dword [edi + 4], 0
push esi
jne 0x423a88
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 0x1c]
call edx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax]
sub ebx, edx
push ebx
sub esi, ecx
push esi
push edx
push ecx
push 0
push 0x40000000
push 0
push eax
mov eax, edi
call fcn.004355b0
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x2d0]
call eax
mov esi, eax
mov eax, ebx
call fcn.00440530
mov ecx, dword [eax]
mov edx, dword [edi + 4]
push 1
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x50]
push edx
call eax
mov ecx, dword [eax]
cmp byte [ecx], 0
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
sete bl
cmp eax, edx
je 0x423ab1
push eax
call fcn.00476c90
add esp, 4
test bl, bl
je 0x423ac4
mov eax, dword [edi + 0x10]
add eax, 0x2ec
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 4]
add ecx, 0x2ec
push ecx
push 0
push 0x1002
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov byte [edi + 0x18], 1
pop ebx
call fcn.00475dcc
mov esp, ebp
pop ebp
ret 4
Function at 0x424110
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4b04dc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x58], eax
mov dword [edi + 0x10], eax
push esi
lea eax, [ebp - 0x68]
push eax
mov eax, edi
call fcn.004242c0
mov ecx, dword [edi + 0x10]
cmp byte [ecx + 0x2f5], 0
mov esi, 0x40000080
je 0x42414c
mov esi, 0x400000a0
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
mov eax, dword [eax]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x68]
sub ebx, edx
push ebx
push ecx
push edx
push 0
push esi
push 0
push eax
mov eax, edi
call fcn.004355b0
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x2d0]
call eax
mov esi, eax
mov eax, ebx
call fcn.00440530
mov ecx, dword [eax]
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 1
push ebx
push ecx
push 0x30
push edx
call esi
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x2f0]
mov edx, dword [edi + 4]
push 0
push ecx
push 0xc5
push edx
call esi
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x2f5], 0
je 0x4241de
movsx eax, byte [eax + 0x2f6]
mov ecx, dword [edi + 4]
push 0
push eax
push 0xcc
push ecx
call esi
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x54]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
cmp eax, edx
je 0x42420c
push eax
call fcn.00476c90
add esp, 4
mov eax, dword [edi + 4]
push 0
push 0
push 0xb9
push eax
call esi
mov ecx, dword [edi + 4]
push 0
push 3
push 0xd3
push ecx
call esi
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
call eax
mov edx, dword [edi + 4]
xor ecx, ecx
cmp al, bl
sete cl
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
xor ecx, ecx
cmp byte [eax + 0x2f4], bl
push 0
sete cl
push ecx
push 0xcf
push edx
call esi
mov eax, dword [edi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x410]
or edx, eax
mov eax, dword [edi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [edi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 8]
pop esi
mov byte [edi + 0x18], bl
xor ecx, ebp
pop ebx
call fcn.00475dcc
mov esp, ebp
pop ebp
ret 4
Function at 0x424590
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4b04dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x10], 0
je 0x4245ff
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea esi, [eax + 1]
mov eax, esi
call fcn.00485890
mov ebx, esp
test ebx, ebx
je 0x4245ff
mov ecx, dword [edi + 4]
push esi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, dword [edi + 0x10]
add esi, 0x138
push ebx
or eax, 0xffffffff
call fcn.004543b0
mov esi, dword [edi + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push 0
push 0
push str.textchanged
mov ecx, esi
call eax
mov ecx, esi
mov edi, eax
call fcn.0043fde0
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475dcc
mov esp, ebp
pop ebp
ret
Function at 0x42d0e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x2fc], 0
je 0x42d164
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x100
jne 0x42d143
cmp bl, 0xd
jne 0x42d143
cmp byte [esi + 0x302], 0
je 0x42d123
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x42d143
cmp byte [esi + 0x303], 0
jne 0x42d143
mov edi, dword [esi + 0x40]
test edi, edi
je 0x42d13a
push 0
push 0
push str.return
mov ecx, esi
call fcn.0043fde0
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x2fc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ebx
push edi
call edx
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x43c400
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jns 0x43c418
mov esi, 8
push 2
call edi
test ax, ax
jns 0x43c424
or esi, 1
push 1
call edi
test ax, ax
jns 0x43c430
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x43c43c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x43c448
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x43cfc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov ebx, eax
cmp dword [edi + 0xd8], esi
jle 0x43d013
jmp 0x43cfe0
mov eax, dword [edi + 0xd4]
mov byte [ebp - 1], 0
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 1]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ebx
push eax
call edx
cmp byte [ebp - 1], 0
jne 0x43d14b
inc esi
cmp esi, dword [edi + 0xd8]
jl 0x43cfe0
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x43d0e3
sub eax, 4
je 0x43d080
sub eax, 2
jne 0x43d0d8
push ebx
mov word [ebp + 8], ax
call fcn.00479ae0
mov ecx, dword [edi + 0x54]
add esp, 4
push reloc.WS2_32.dll_ioctlsocket
mov byte [ebp + 8], al
mov eax, dword [ecx]
mov eax, dword [eax + 0xf4]
lea edx, [ebp + 8]
push edx
push 0x440b80
call eax
mov esi, eax
test esi, esi
je 0x43d0d8
mov edx, dword [esi]
mov eax, dword [edx + 0xe8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0x58], 0
je 0x43d0d8
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x6c]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 6
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
call fcn.0043c400
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [edi + 0x58]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x100]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, edi
call edx
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ebx, 9
jne 0x43d0d8
cmp dword [edi + 0x58], 0
je 0x43d138
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x43d138
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
call edx
test al, al
je 0x43d138
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
push str.RichEditUI
push eax
call fcn.004797a5
add esp, 8
test eax, eax
je 0x43d138
mov eax, dword [edi + 0x58]
cmp byte [eax + 0x301], 0
jne 0x43d0d8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns bl
call fcn.0043f910
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43f420
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push edi
mov edi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
cmp eax, ecx
je 0x43f445
cmp esi, dword [edi + 0x58]
je 0x43f445
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x58]
cmp esi, eax
je 0x43f53f
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x43f4b4
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
lea edx, [esp + 8]
push edx
call eax
mov ecx, dword [edi + 0x58]
push 0
push 0
push str.killfocus
call fcn.0043fde0
mov dword [edi + 0x58], 0
test esi, esi
je 0x43f53f
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, edi
jne 0x43f53f
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
test al, al
je 0x43f53f
mov edx, dword [esi]
mov eax, dword [edx + 0xcc]
mov ecx, esi
call eax
test al, al
je 0x43f53f
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [edi + 0x58], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 8]
push eax
call edx
mov ecx, dword [edi + 0x58]
push 0
push 0
push str.setfocus
call fcn.0043fde0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x44e184
cmp eax, edi
jge 0x44e17c
call fcn.0044d8c0
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor eax, eax
test edi, edi
jle 0x44e1af
mov ecx, dword [esi + 0xc]
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + eax - 4], dl
shr ecx, 8
mov ebx, edi
inc eax
mov dword [esi + 0xc], ecx
test ebx, ebx
jg 0x44e190
mov dword [esi + 8], ebx
cmp eax, 4
jge 0x44e1ce
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x44e1bc
xor ecx, ecx
jmp 0x44e1c4
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
movzx ecx, dl
mov byte [ebp + eax - 4], cl
inc eax
cmp eax, 4
jl 0x44e1b2
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 2]
movzx ebx, ah
movzx eax, al
shl ebx, 8
add ebx, eax
shl ecx, 8
mov eax, ebx
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x44e207
mov dword [0x4b5f60], str.zlib_corrupt
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
add ecx, ebx
cmp ecx, dword [esi + 4]
jbe 0x44e223
pop edi
pop esi
mov dword [0x4b5f60], 0x4a0560
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
add edx, ebx
cmp edx, dword [esi + 0x18]
jbe 0x44e23a
mov ecx, ebx
mov edi, esi
call fcn.0044d900
test eax, eax
je 0x44e1fe
mov edi, dword [esi]
mov eax, dword [esi + 0x10]
push ebx
push edi
push eax
call fcn.0047b540
mov eax, dword [esi + 0x10]
add edi, ebx
add esp, 0xc
add eax, ebx
mov dword [esi], edi
pop edi
mov dword [esi + 0x10], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457760
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x457767
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x45783d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x499860]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x499860]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x499860]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x499860]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x499860]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x499860]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x499860]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x499860]
add ecx, 8
sub edx, 8
dec esi
jne 0x457780
pop edi
test edx, edx
je 0x45785a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x499860]
inc ecx
dec edx
jne 0x457841
not eax
pop esi
ret

Function at 0x457ff0
Capabilities:
Read file on windows

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x458287
cmp byte [esi + 1], 0
je 0x45828f
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x4582a1
cmp byte [esi + 1], 0
je 0x458295
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
sub ebx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
jmp 0x4582a9
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x458261
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x4582a9
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x4582bb
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.00479b0c
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4582d5
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0
cmp edi, eax
jbe 0x4583e9
jmp 0x4582f9
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x458308
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x45831f
mov ebx, 0x404
cmp byte [esi], 0
je 0x458344
cmp byte [esi + 1], 0
je 0x4583e9
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x458347
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebx
je 0x458370
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45836b
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x458399
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x458381
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.0047b540
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x4583e9
lea eax, [ebx - 3]
test eax, eax
jle 0x4583dd
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x4583cf
cmp byte [eax + ecx + 1], 0x4b
jne 0x4583cf
cmp byte [eax + ecx + 2], 5
jne 0x4583cf
cmp byte [eax + ecx + 3], 6
je 0x4583d5
test eax, eax
jg 0x4583b0
jmp 0x4583dd
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jne 0x4583e9
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x4582f0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00476c90
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret