joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466558
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4665f7
cmp dword [ebx + 0x94], 0
jne 0x4665f1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4664e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4665f1
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4665b7
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4665f1
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415b3c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4665c6
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x466810
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4f1ca0]
cmp dword [eax + 0x30], 0
je 0x46696d
test bl, bl
jne 0x4668be
cmp dword [esi + 0x9c], 0
jne 0x4668b3
mov eax, esi
call fcn.00469160
push eax
push 0x46673c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x466884
mov eax, dword [0x4f1ca0]
call fcn.00469840
test al, al
je 0x466884
mov eax, dword [0x4f1cc4]
call fcn.00405ccc
mov edi, eax
cmp edi, 0
jl 0x466884
push 0
mov eax, dword [0x4f1cc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46686e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4668b3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415b3c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x466893
inc dword [esi + 0x9c]
jmp 0x46696d
cmp dword [esi + 0x9c], 0
jle 0x46696d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46696d
cmp dword [esi + 0x44], 0
je 0x466919
mov eax, dword [0x4f1ca0]
call fcn.00469840
test al, al
je 0x466919
mov eax, dword [0x4f1cc4]
call fcn.00405ccc
mov edi, eax
cmp edi, 0
jl 0x466919
push 5
mov eax, dword [0x4f1cc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x466903
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x466948
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415b3c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x466928
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4f1cc4
mov ecx, 1
mov edx, dword [0x46671c]
call fcn.00405e80
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x467454
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4674be
mov eax, ebx
call fcn.00469840
test al, al
jne 0x4674be
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404c7c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4674ab
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4674cb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404be0
jmp 0x4674cb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404be0
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x468964
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4689d2
mov eax, esi
call fcn.004511b8
test al, al
je 0x4689d2
mov eax, dword [ebx + 0x84]
call fcn.00450e18
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4689d2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4689c6
push 0
mov eax, dword [ebx + 0x84]
call fcn.00450e18
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00448c88
jmp 0x4689d2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004687a0
pop esi
pop ebx
ret

Function at 0x471f50
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4f1d48], 0
jne 0x471f73
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x471ec4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f1d48], eax
ret
Function at 0x4801b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0048083c
test al, al
je 0x4802c4
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa2], 0
jne 0x48020b
mov edx, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov ecx, ebx
call fcn.0047f698
test al, al
je 0x4801f9
mov dword [ebp - 8], ebx
jmp 0x4802c4
mov edx, 0x4802d8
mov eax, dword [ebp - 4]
call fcn.0047faa0
jmp 0x4802c4
mov eax, dword [ebp - 4]
call fcn.0047f97c
xor eax, eax
push ebp
push 0x4802bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x14
call fcn.0040354c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x48026f
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
je 0x48026f
mov edx, 0x480314
mov eax, dword [ebp - 4]
call fcn.0047faa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.0047d894
test al, al
je 0x480291
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4802a7
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_GetOverlappedResult
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4802c4
mov eax, dword [ebp - 4]
call fcn.0047f98c
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48032c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0048083c
test al, al
je 0x480404
mov eax, dword [ebp - 4]
call fcn.0047f99c
xor eax, eax
push ebp
push 0x4803fd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x14
call fcn.0040354c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x4803af
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
je 0x4803af
mov edx, 0x480418
mov eax, dword [ebp - 4]
call fcn.0047faa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.0047d894
test al, al
je 0x4803d1
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4803e7
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_GetOverlappedResult
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480404
mov eax, dword [ebp - 4]
call fcn.0047f9ac
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487794
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4877c2
mov eax, ebx
call fcn.00488248
cmp dword [ebx + 0x40], 0
je 0x4877bb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x487833
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x487825
cmp dword [ebx + 8], 0
je 0x4877e4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4877f6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x487825
cmp dword [ebx + 8], 0
je 0x4877d7
cmp eax, 3
je 0x487809
dec eax
jne 0x4877d7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4877d7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4877d7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x487851
cmp dword [ebx + 0x14], 0xcc
je 0x487851
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048785c
pop ebx
ret
Function at 0x4a2d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a2ed1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, edi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x250]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x138]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], eax
mov eax, dword [ebx + 0x4e4]
push eax
lea eax, [ebp - 0x20]
push eax
mov edx, edi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, dword [eax + 0xb0]
xor edx, edx
mov eax, ebx
call fcn.004a43cc
add esi, eax
mov dl, 2
mov eax, ebx
call fcn.004a43cc
mov ecx, esi
sub ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406c18
mov eax, dword [ebp - 0x10]
push edi
lea esi, [ebp - 0x20]
lea edi, [eax + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov edx, edi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x58]
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, ebx
call fcn.004a41dc
mov byte [ebp - 9], al
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x118]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, ebx
mov si, 0xffab
call fcn.00403e88
mov eax, dword [ebp - 0x10]
add eax, 0x1c
mov edx, dword [ebp - 4]
call fcn.004053a8
mov eax, dword [ebp - 4]
push eax
movzx eax, byte [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x15c]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ebx, dword [ebp - 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2ed8
lea eax, [ebp - 4]
call fcn.0040536c
ret
Function at 0x4a6394
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov ebx, eax
xor esi, esi
test byte [ebx + 0x52c], 8
je 0x4a646c
mov edi, dword [ebx + 0x2c8]
test edi, edi
jl 0x4a649c
cmp dword [ebx + 0x2cc], 0
jl 0x4a649c
mov edx, edi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebx + 0x2cc]
mov edx, dword [ebx + 0x2c8]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x1dc]
mov edx, dword [ebx + 0x2cc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x138]
mov edx, eax
lea ecx, [ebp - 0x10]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x64]
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004a6a24
test byte [ebx + 0x4d8], 0x20
jne 0x4a6424
dec dword [ebp - 8]
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.004a3fa4
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xc]
jle 0x4a6448
xor edx, edx
mov eax, dword [ebx + 0x31c]
call fcn.00448c88
jmp 0x4a6553
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.004a3fa4
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10]
jle 0x4a649c
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.004a3fa4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
jmp 0x4a649c
test byte [ebx + 0x52c], 0x40
je 0x4a6553
mov edx, dword [ebx + 0x324]
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x324]
mov eax, ebx
call fcn.004a4514
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_InflateRect
cmp dword [ebp - 0x10], 0
jge 0x4a64b4
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.004a3fa4
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10]
jle 0x4a64d6
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.004a3fa4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov ebx, dword [ebx + 0x31c]
push 0
mov eax, ebx
call fcn.00450e18
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x40]
test al, 0x10
setne al
and eax, 0x7f
mov eax, dword [eax*4 + 0x4e6ff8]
or eax, 0x40
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
sub eax, edi
push eax
mov eax, dword [ebp - 0xc]
push eax
push edi
push 0
mov eax, ebx
call fcn.00450e18
push eax
call sub.user32.dll_SetWindowPos
mov eax, ebx
call fcn.00450e18
push eax
call sub.user32.dll_SetFocus
lea edx, [ebp - 0x20]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, ebx
call fcn.00450e18
push eax
call sub.user32.dll_InvalidateRect
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a9210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a938e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x94]
mov eax, dword [ebx + 0x250]
call fcn.00424468
mov dword [ebp - 8], eax
mov edx, esi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x94]
mov eax, dword [ebx + 0x250]
call fcn.0042444c
mov edi, eax
mov edx, esi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
movzx eax, byte [eax + 0x98]
sub al, 1
jb 0x4a92d5
jne 0x4a9324
mov edx, esi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
add eax, 2
mov dword [ebp - 0x18], eax
add edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.004a4298
mov edi, eax
mov eax, dword [ebp - 8]
add eax, 2
sub edi, eax
mov dword [ebp - 0x14], edi
add edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
jmp 0x4a9324
mov edx, esi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
lea edx, [edi + 2]
sub eax, edx
mov dword [ebp - 0x18], eax
add edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.004a4298
mov dword [ebp - 0x14], eax
mov edx, esi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x250]
mov eax, dword [edi + 0xc]
movzx edx, byte [0x4a939c]
call fcn.00423850
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 0x514]
call fcn.004234bc
mov edx, esi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x94]
lea eax, [ebp - 0x1c]
call fcn.004054d4
mov eax, dword [ebp - 0x1c]
push eax
push 0
xor ecx, ecx
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x250]
call fcn.00498b44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9395
lea eax, [ebp - 0x1c]
call fcn.0040536c
ret
Function at 0x4b64f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b664c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, edi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, ebx
call fcn.004a41dc
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x250]
mov dword [eax + 0x20], edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x1dc]
mov eax, dword [ebp - 0x10]
push edi
lea esi, [ebp - 0x20]
lea edi, [eax + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x118]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, ebx
mov si, 0xffab
call fcn.00403e88
mov eax, dword [ebp - 0x10]
add eax, 0x1c
mov edx, dword [ebp - 4]
call fcn.004053a8
mov edx, edi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x58]
mov eax, dword [ebx + 0x250]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
movzx eax, byte [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x15c]
mov esi, dword [ebx + 0x250]
test byte [ebp - 9], 1
je 0x4b65f2
mov eax, dword [esi + 0xc]
call fcn.00423844
mov edx, eax
or dl, byte [0x4b665c]
mov eax, dword [esi + 0xc]
call fcn.00423850
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
movzx eax, byte [ebx + 0x304]
sub al, 1
jae 0x4b661c
mov edx, edi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0xb0]
jmp 0x4b662e
mov edx, edi
mov eax, dword [ebx + 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
call fcn.004ada74
add esi, 5
cmp eax, esi
setge bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6653
lea eax, [ebp - 4]
call fcn.0040536c
ret
Function at 0x4bc308
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
jmp 0x4bc335
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4bc3b4
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004bb380
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4bc382
mov cx, word [esp]
sub cx, si
jmp 0x4bc384
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4bc36b
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4bc3aa
mov cx, word [esp]
sub cx, si
jmp 0x4bc3ac
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4bc393
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4bc411
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004bc004
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4bc3fc
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4bc411
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4bc312
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4c17a4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4f39d0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4c17c6
shr eax, 1
xor eax, 0xedb88320
jmp 0x4c17c8
shr eax, 1
dec edx
jne 0x4c17b4
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4c17ad
mov byte [0x4f3dd0], 1
pop esi
pop ebx
ret

Function at 0x4c17e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4f3dd0], 0
jne 0x4c17fb
call fcn.004c17a4
mov eax, edi
dec eax
test eax, eax
jl 0x4c1823
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f39d0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4c1805
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4c3c2c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x45d]
movzx ecx, dl
cmp ecx, 6
ja case.0x4c3cc6.0
jmp dword [ecx*4 + 0x4c3c5f]
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x4c3c91
sub dl, 8
je 0x4c3ca0
jmp case.0x4c3cc6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4c39bc
jmp case.0x4c3cc6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4c3a08
jmp case.0x4c3cc6.0
movzx ecx, byte [eax + 0x45c]
cmp ecx, 0x10
ja case.0x4c3cc6.0
movzx ecx, byte [ecx + 0x4c3ccd]
jmp dword [ecx*4 + 0x4c3cde]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4c3a58
jmp case.0x4c3cc6.0
cmp dl, 3
jne 0x4c3d0b
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4c3aac
jmp case.0x4c3cc6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4c3a68
jmp case.0x4c3cc6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4c3af0
jmp case.0x4c3cc6.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x4c3d36
sub dl, 8
je 0x4c3d42
jmp case.0x4c3cc6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4c3b0c
jmp case.0x4c3cc6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4c3b70
jmp case.0x4c3cc6.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x4c3d61
sub dl, 8
je 0x4c3d6d
jmp case.0x4c3cc6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4c3bd8
jmp case.0x4c3cc6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4c3c00
mov esi, dword [eax + 0x448]
mov edx, dword [ebx + 0x1c]
dec edx
imul esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0xc], esi
mov eax, dword [eax + 0x450]
mov dword [ebp - 8], eax
mov esi, edx
test esi, esi
jb 0x4c3dfd
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004c2fd8
test eax, eax
je 0x4c3dfd
mov eax, ebx
call fcn.004c3e08
mov eax, dword [ebp - 8]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x448]
sub dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x4c3d9d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8