joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46aa20
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x220
push esi
push edi
push str.shell32
mov dword [esp + 0x20], 0
mov edi, 0x1a
call fcn.00519c5e
mov esi, eax
add esp, 4
test esi, esi
je 0x46aa8e
xor eax, eax
push str.DllGetVersion
push esi
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46aa87
lea ecx, [esp + 8]
push ecx
call eax
test eax, eax
jne 0x46aa87
cmp dword [esp + 0xc], 5
jb 0x46aa87
lea edi, [eax + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test byte [0x6b2cd4], 1
jne 0x46aab2
or dword [0x6b2cd4], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
shr eax, 0x1f
not al
and al, 1
mov byte [0x6b2cd0], al
jmp 0x46aab7
mov al, byte [0x6b2cd0]
test al, al
push 0
push edi
je 0x46ab0e
lea edx, [esp + 0x28]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov esi, dword [esp + 0x22c]
jne 0x46aaea
push esi
call fcn.0051ef2f
add esp, 4
pop edi
mov eax, esi
pop esi
add esp, 0x220
ret
mov eax, 0x6575cc
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004039e0
pop edi
mov eax, esi
pop esi
add esp, 0x220
ret
lea ecx, [esp + 0x28]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
mov esi, dword [esp + 0x22c]
je 0x46aad6
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push edx
push esi
call fcn.0051b593
add esp, 0xc
pop edi
mov eax, esi
pop esi
add esp, 0x220
ret

Function at 0x46ab50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x6160a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [esp], 0
push esi
mov esi, dword [esp + 0x18]
mov eax, 0x6575cc
push edi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov edi, dword [esp + 0x20]
mov eax, edi
shr eax, 4
add eax, 1
push 0
movzx ecx, ax
push ecx
push 6
push 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x46abeb
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46abeb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x46abeb
and edi, 0xf
je 0x46abdc
lea ecx, [ecx]
sub edi, 1
movzx edx, word [eax]
lea eax, [eax + edx*2 + 2]
jne 0x46abd0
movzx ecx, word [eax]
push ecx
add eax, 2
push eax
mov ecx, esi
call fcn.0046a630
cmp byte [esp + 0x24], 0
je 0x46abfb
push esi
call fcn.0046a750
add esp, 4
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46e5e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x619eb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov edx, dword [esp + 0x30]
push ebx
push ebp
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
push edi
push edx
call eax
cmp eax, esi
mov ebp, 0x6575cc
je 0x46e635
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call edx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], esi
lea ebx, [esi + 1]
jmp 0x46e654
mov edi, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x34], 1
mov ebx, 2
mov esi, dword [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
call fcn.00403990
or ebx, 4
test bl, 2
je 0x46e684
and ebx, 0xfffffffd
cmp edi, ebp
je 0x46e684
push edi
call fcn.005f7371
add esp, 4
test bl, 1
je 0x46e69a
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x46e69a
push eax
call fcn.005f7371
add esp, 4
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x470e80
Capabilities:
Open clipboard

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61cd5b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x84
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x470fb6
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x470fac
mov ebx, dword [esp + 0xa8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
xor esi, esi
push esi
push esi
push 7
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.005d9840
mov ebp, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push esi
push ecx
push edx
push esi
lea eax, [esp + 0x38]
push 7
push eax
mov dword [esp + 0xcc], esi
call fcn.005d9400
mov edi, dword [esp + 0x40]
add esp, 0x30
lea ecx, [edi + ebp]
push ecx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
cmp ebp, esi
je 0x470f9f
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x470f98
mov edx, dword [esp + 0x14]
push edi
push edx
push esi
call fcn.005f7b00
add esi, edi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00423170
lea edx, [esp + 0x5c]
mov esi, eax
push ebx
mov ecx, 0xa
lea edi, [esp + 0x60]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0055a310
mov eax, dword [esp + 0x38]
add esp, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005f7a6f
add esp, 4
jmp 0x470fb2
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x14]
push edx
call fcn.005f7a6f
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
add esp, 0x90
ret
Function at 0x472380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x619ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0044c5f0
lea ecx, [esi + 0x18]
mov eax, 0x6575cc
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
lea eax, [edi + 0x18]
push eax
mov dword [esp + 0x18], 0
call fcn.00403990
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x478830
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, dword [esp + 8]
cmp ebp, 7
push esi
mov esi, ecx
ja case.default.0x478841
jmp dword [ebp*4 + 0x47893c]
push 0xff
push str.Seeking:_hold_SHIFT_to_snap_to_keyframes
call fcn.0044cd70
mov ecx, dword [esi + 0x1bc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
add esp, 8
push 0
call edx
mov byte [esi + 0x243], 1
pop esi
pop ebp
ret 4
push 0xff
push 0x62aa66
call fcn.0044cd70
mov ecx, dword [esi + 0x1bc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
add esp, 8
push 1
call edx
mov byte [esi + 0x243], 0
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x1bc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
push ebx
push edi
call edx
cmp dword [0x6b2d30], 0
mov edi, eax
mov ebx, edx
je 0x478933
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x47890d
cmp ebp, 3
push ebx
mov ecx, esi
push edi
jne 0x4788db
call fcn.00471690
jmp 0x4788e0
call fcn.00471660
mov ecx, esi
call fcn.00470c20
test ebp, ebp
mov ecx, dword [esi + 0x1bc]
mov esi, dword [ecx]
push edx
push eax
jne 0x478901
mov eax, dword [esi + 0x24]
call eax
pop edi
pop ebx
pop esi
pop ebp
ret 4
mov edx, dword [esi + 0x20]
call edx
pop edi
pop ebx
pop esi
pop ebp
ret 4
test ebx, ebx
jl 0x478933
jg 0x478917
test edi, edi
jb 0x478933
test ebp, ebp
jne 0x47892a
mov ecx, dword [esi + 0x1bc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push ebx
push edi
call edx
push ebx
push edi
mov ecx, esi
call fcn.004714c0
pop edi
pop ebx
pop esi
pop ebp
ret 4
Function at 0x478963
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
mov eax, dword [esi + 0x244]
cmp eax, 2
mov ecx, dword [0x6b2d30]
push edi
mov dword [esp + 0xc], esi
mov edx, 1
je 0x478989
test ecx, ecx
mov byte [esp + 0xa], dl
jne 0x47898e
mov byte [esp + 0xa], 0
cmp eax, edx
je 0x47899a
test ecx, ecx
mov byte [esp + 0xb], dl
jne 0x4789a7
test ecx, ecx
mov byte [esp + 0xb], 0
je 0x478af7
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
test eax, eax
je 0x478af7
mov ecx, dword [0x6b2d30]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push ebx
push ebp
call edx
mov ecx, dword [0x6b2d30]
mov edi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
mov ebp, dword [edi + 8]
mov ebx, dword [edi + 0xc]
lea edx, [esp + 0x28]
push edx
call eax
mov ecx, dword [esi + 0x1c4]
push ecx
call fcn.004c5c20
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
add esp, 4
push ebx
push ebp
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, 0x6b2f58
mov dword [esp + 0x20], eax
call fcn.00437cc0
test al, al
jne 0x478ac1
mov ecx, 0x6b2f68
call fcn.00447df0
test al, al
jne 0x478a93
mov ecx, dword [0x6b2d30]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov edi, dword [edi + 0x14]
test edi, edi
mov esi, eax
jne 0x478a54
mov edi, 8
mov ecx, dword [0x6b2d30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x18]
push eax
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call edx
push eax
push edi
push ebx
push ebp
push 0x6b2f58
mov ecx, 0x6b2f68
call fcn.00449b10
mov ecx, 0x6b2f68
call fcn.00447de0
mov ebp, dword [eax + 8]
mov edi, dword [eax + 0xc]
lea eax, [esp + 0x30]
push eax
mov ecx, 0x6b2f68
call fcn.00447ed0
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
jmp 0x478ac3
mov edi, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1c8]
push ecx
call fcn.004c5c20
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
add esp, 4
push edi
push ebp
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
mov esi, dword [esp + 0x14]
pop ebp
pop ebx
cmp byte [esp + 0xa], 0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x478b0f
mov eax, dword [esi + 0x1c4]
push 4
push eax
jmp 0x478b18
mov ecx, dword [esi + 0x1c4]
push 0
push ecx
call edi
cmp byte [esp + 0xb], 0
je 0x478b32
mov edx, dword [esi + 0x1c8]
push 4
push edx
call edi
pop edi
pop esi
add esp, 0x28
ret
mov eax, dword [esi + 0x1c8]
push 0
push eax
call edi
pop edi
pop esi
add esp, 0x28
ret
Function at 0x47b070
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x619df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0x1dc]
push edi
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
je 0x47b0ab
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x2b0]
cmp ecx, edi
je 0x47b241
mov eax, dword [ecx]
mov edx, dword [eax]
push esi
push 0x6c697374
call edx
mov esi, eax
cmp esi, edi
je 0x47b240
mov ecx, dword [ebp + 0x2b0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc4]
push ebx
push 0xffffffffffffffff
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [0x6b2f5c]
mov dword [esp + 0x14], edi
mov edi, dword [0x6b2f58]
xor dl, dl
or ebx, 0xffffffff
cmp edi, eax
mov byte [esp + 0x20], dl
mov dword [esp + 0x10], 1
mov dword [esp + 0x28], eax
je 0x47b1c4
jmp 0x47b120
mov ecx, dword [edi]
mov ecx, dword [ecx + 8]
mov ebp, dword [ecx + 0x37c]
test ebp, ebp
je 0x47b1a8
call fcn.0043c2c0
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push 2
lea ecx, [esp + 0x38]
push str.Video_filter__d:__hs__Opacity_curve_
push ecx
call fcn.0051c148
add esp, 0x14
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x48], 0
call edx
mov eax, dword [esp + 0x2c]
cmp eax, 0x6575cc
mov dword [esp + 0x40], 0xffffffff
je 0x47b18b
push eax
call fcn.005f7371
add esp, 4
cmp ebp, dword [esp + 0x18]
mov dl, 1
jne 0x47b199
mov ebx, dword [esp + 0x14]
jmp 0x47b19f
test ebx, ebx
jge 0x47b19f
xor ebx, ebx
add dword [esp + 0x14], 1
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], 1
add edi, 4
cmp edi, eax
jne 0x47b120
test dl, dl
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x20], dl
jne 0x47b1d4
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 0
push str.There_are_no_video_filters_with_parameter_curves.
mov ecx, esi
call edx
mov ecx, dword [ebp + 0x2b0]
mov eax, dword [ecx]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x40]
push edx
call eax
test ebx, ebx
jl 0x47b1fd
mov ecx, dword [ebp + 0x2b0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc4]
push ebx
call eax
jmp 0x47b220
mov ecx, dword [ebp + 0x1dc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push 0
call eax
mov ecx, dword [ebp + 0x2b0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc4]
push 0
call eax
xor ebx, ebx
mov eax, dword [ebp + 0x2b0]
mov edx, dword [ebp + 0x1ac]
mov edx, dword [edx + 4]
push ebx
push 3
push 0x64
lea ecx, [ebp + 0x1ac]
push eax
push 0
call edx
pop ebx
pop esi
mov ecx, dword [esp + 0x30]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x47f620
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61aaa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x6b2d1c]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, ecx
sete cl
cmp eax, ebx
push edi
mov edi, dword [ebp + 8]
setne byte [ebp - 0x11]
test cl, cl
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
je case.0x47f69a.40512
cmp edi, 0x9d2f
ja 0x47f688
cmp edi, 0x9d2e
jae case.0x47f69a.40512
lea eax, [edi - 0x9ccd]
cmp eax, 0x4e
ja case.0x47f69a.40514
movzx eax, byte [eax + 0x480650]
jmp dword [eax*4 + 0x480648]
lea eax, [edi - 0x9e40]
cmp eax, 0x10
ja case.0x47f69a.40514
movzx ecx, byte [eax + 0x4806a8]
jmp dword [ecx*4 + 0x4806a0]
mov ecx, esi
call fcn.00471a30
cmp byte [ebp - 0x11], bl
jne 0x47f6bd
call fcn.00458290
mov edx, dword [esi + 8]
push ebx
push edx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
lea eax, [edi - 0x9c41]
cmp eax, 0x227
mov dword [ebp - 4], ebx
ja 0x480568
movzx eax, byte [eax + 0x48090c]
jmp dword [eax*4 + 0x4806bc]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x11], 0
jne 0x480527
call fcn.004582a0
mov ecx, dword [esi + 8]
push 1
push ecx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [edi - 0xc3b4]
cmp ecx, 0x63
ja 0x480583
add edi, 0xffff3c4c
push edi
mov ecx, esi
call fcn.00472230
jmp 0x480509
lea edx, [edi - 0xc350]
cmp edx, 3
ja 0x480509
lea eax, [edi - 0xc350]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x250]
call fcn.00462780
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
mov bl, 5
mov byte [ebp - 4], bl
je 0x480609
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setl cl
mov byte [ebp + 8], cl
lea ecx, [ebp - 0x40]
call fcn.0044d680
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x6b48a0]
push 0
push 0
push 1
push 0
push edx
push 0
push eax
mov byte [ebp - 4], 6
call fcn.00476220
mov ecx, dword [esi + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0044e5b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.0044d690
mov eax, dword [ebp - 0x28]
cmp eax, 0x6575cc
je 0x480509
push eax
call fcn.005f7371
jmp 0x480506
Function at 0x483590
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x483661
push ebx
mov bl, byte [esp + 0xc]
push ebp
push edi
mov edi, dword [esp + 0x18]
lea esp, [esp]
cmp esi, 1
mov al, byte [edi]
jle 0x4835c6
cmp esi, 2
mov bl, byte [edi + 1]
jle 0x4835c6
mov dl, byte [edi + 2]
mov byte [esp + 0x14], dl
movzx eax, al
mov edx, eax
shr edx, 2
cmp esi, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jge 0x4835f4
and eax, 3
shl eax, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
mov byte [ecx + 3], 0x3d
mov byte [ecx + 2], 0x3d
jmp 0x48364d
movzx edx, bl
mov ebp, edx
shr ebp, 4
shl eax, 4
or ebp, eax
and ebp, 0x3f
cmp esi, 3
mov al, byte [ebp + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
jge 0x483625
and edx, 0xf
mov dl, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
jmp 0x48364d
movzx eax, byte [esp + 0x14]
mov ebp, eax
add edx, edx
shr ebp, 6
add edx, edx
or ebp, edx
and ebp, 0x3f
mov dl, byte [ebp + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 0x3f
mov byte [ecx + 2], dl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 3], al
sub esi, 3
add ecx, 4
add edi, 3
test esi, esi
jg 0x4835b0
pop edi
pop ebp
pop ebx
mov byte [ecx], 0
pop esi
ret
Function at 0x489b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61b030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x6385f8
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0xd0]
mov dword [esp + 0x18], ebx
mov dword [esi], 0x63a63c
mov dword [esi + 0x10], eax
call fcn.0044bac0
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x108], ebx
lea edi, [esi + 0x148]
mov ecx, edi
mov byte [esp + 0x18], 3
call fcn.0047b970
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esi + 0x160]
mov byte [esp + 0x1c], 4
call fcn.0044c5f0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x140], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x48b370
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
jbe 0x48b409
push ebp
mov dword [esp + 0x18], ebx
push edi
xor ecx, ecx
test eax, eax
jbe 0x48b3ea
xor edi, edi
lea ebx, [ebx]
lea ebx, [eax - 1]
mov eax, dword [esp + 0x1c]
xor edx, edx
div ebx
mov ebx, dword [esi + 8]
sub ebx, 1
xor edx, edx
mov ebp, eax
mov eax, edi
div ebx
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
shl ebp, 0x10
add ebp, eax
mov eax, ecx
xor eax, ebx
and al, 1
neg al
sbb eax, eax
and eax, 0xff00
add ebp, eax
mov dword [edx + ecx*4], ebp
mov eax, dword [esi + 0xc]
add ecx, 1
add edi, 0xff
cmp ecx, eax
jb 0x48b3a0
add edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
add dword [esp + 0x1c], 0xff
add ebx, 1
cmp ebx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
jb 0x48b392
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret
Function at 0x493170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61b658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push esi
push edi
push eax
call fcn.005371e5
mov edi, eax
mov dword [esp + 0xc], edi
push edi
push 0x834
mov dword [esp + 0x30], 0
call fcn.00533a05
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], 0x63b740
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
je 0x4931dd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 0x62617365
call eax
mov esi, eax
jmp 0x4931df
xor esi, esi
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
push 0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
mov ecx, esi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 1
mov ecx, edi
mov dword [esp + 0x28], 0xffffffff
call edx
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x4943a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61c1b8
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
call fcn.0053c938
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
push str.Video_levels
mov ecx, esi
call edx
push 0xc
call fcn.005f7f03
add esp, 4
test eax, eax
je 0x4943ef
mov ecx, dword [esp + 0x30]
mov dword [eax], 0x63b758
mov dword [eax + 8], ecx
mov ebx, eax
jmp 0x4943f1
xor ebx, ebx
mov edx, dword [esi]
mov eax, dword [edx]
push 0x62617365
mov ecx, esi
call eax
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
push 1
push ebx
mov ecx, edi
call eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push esi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 8]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0x63908c
call fcn.0047b970
mov dword [esp + 0x14], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], eax
mov dword [esp + 0x18], 0
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.004895c0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005f7e65
mov ecx, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x494c50
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
cmp eax, 3
ja case.default.0x494c5b
jmp dword [eax*4 + 0x494cb8]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je case.0x494c5b.0
mov eax, dword [esi + 0x40]
mov edx, dword [ecx]
push edi
mov edi, dword [eax]
mov eax, dword [edx + 0x18]
push 0
push 1
call eax
mov ecx, dword [esi + 0x40]
mov edx, dword [edi + 0x10]
push eax
push 1
call edx
mov eax, dword [esi + 8]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 8]
or eax, 0xffffffff
push 0
push ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret