joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fb10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x511ecf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
mov ebp, ecx
push esi
mov esi, edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0
call fcn.0046e990
lea eax, [esp + 0x10]
mov dword [esp + 0x28], 1
push eax
push 0x20019
push 0
push esi
push 0x80000002
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49fbd7
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call edi
test eax, eax
jne 0x49fbcb
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x49fbcb
cmp dword [esp + 0x18], 1
jne 0x49fbcb
push eax
lea ecx, [esp + 0x10]
call fcn.00470850
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push esi
push eax
call edi
lea ecx, [esp + 0xc]
push 0xffffffffffffffff
call fcn.004708f0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
lea edx, [esp + 8]
mov ecx, ebp
push edx
call fcn.0046eaf0
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0046ebb0
mov ecx, dword [esp + 0x20]
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x49fc10
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
lea eax, [esp + 4]
push esi
push eax
push ecx
mov esi, edx
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x49fc5d
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 1
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop edi
jne 0x49fc52
mov bl, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
pop ecx
ret 4

Function at 0x49fc70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push esi
push eax
push 0x20019
push 0
push ecx
mov esi, edx
push 0x80000002
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49fcca
lea ecx, [ebp - 0xc]
lea edx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x10]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49fcc0
nop
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49fce0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
lea eax, [esp + 4]
push esi
push eax
push ecx
mov esi, edx
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x49fd23
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x49fd18
mov bl, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
pop ecx
ret 4

Function at 0x4a24d0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x5120b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push 0x34
call fcn.004fff6b
add esp, 4
mov dword [esp], eax
test eax, eax
mov dword [esp + 0xc], 0
je 0x4a2509
mov ecx, eax
call fcn.004b5300
jmp 0x4a250b
xor eax, eax
push 0x2d8
mov dword [esp + 0x10], 0xffffffff
mov dword [0x5e154c], eax
call fcn.004fff6b
add esp, 4
mov dword [esp], eax
test eax, eax
mov dword [esp + 0xc], 1
je 0x4a2545
mov ecx, dword [0x5e154c]
push ecx
mov ecx, eax
call fcn.004a25a0
jmp 0x4a2547
xor eax, eax
mov ecx, dword [0x5e154c]
mov dword [0x5e1544], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
mov dword [esp + 0x10], 0xffffffff
call dword [edx + 8]
mov ecx, str._exit
call fcn.00465850
test al, al
push 0
je 0x4a2577
call fcn.005009bb
mov ecx, dword [0x5e1544]
call fcn.004a6240
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4a8cf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51267b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
mov eax, dword [esp + 0x118]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x124]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.004678a0
xor ebx, ebx
mov dword [esi], 0x51cab0
mov dword [esp + 0x11c], ebx
call fcn.004b4cf0
mov edi, eax
push 0xffffffffffffffff
push str.Ricochet_Webform
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0xc]
mov ecx, dword [edi + 0x30]
cmp ecx, ebx
je 0x4a8d80
cmp eax, dword [edi + 0x34]
jb 0x4a8d5e
xor eax, eax
mov ebp, eax
shl ebp, 7
cmp byte [ecx + ebp + 0x7f], bl
jne 0x4a8d80
cmp dword [ecx + ebp + 0x78], ebx
jne 0x4a8d77
push eax
mov ecx, edi
call fcn.00409ac0
mov eax, dword [edi + 0x30]
mov ebp, dword [eax + ebp + 0x78]
jmp 0x4a8d82
xor ebp, ebp
push ebp
mov ecx, esi
call fcn.00474de0
push 0x1e0
push 0x280
mov ecx, esi
call fcn.00477020
mov edx, dword [0x5cf4f0]
push 0xffffffffffffffff
push str.Sell
mov ecx, 0x5cf4f0
call dword [edx + 0xc]
mov ecx, dword [0x5cf520]
cmp ecx, ebx
je 0x4a8e8e
cmp eax, dword [0x5cf524]
jb 0x4a8dc8
xor eax, eax
mov edi, eax
shl edi, 7
cmp byte [edi + ecx + 0x7f], bl
lea edx, [edi + ecx + 0x7f]
jne 0x4a8e8e
cmp dword [edi + ecx + 0x78], ebx
jne 0x4a8e88
cmp ecx, ebx
je 0x4a8e88
cmp byte [edx], bl
jne 0x4a8e88
mov byte [edx], 1
push eax
mov eax, dword [0x5cf4f0]
mov ecx, 0x5cf4f0
call dword [eax + 4]
push eax
mov edx, 0x5cf528
lea ecx, [esp + 0x18]
call fcn.00452030
lea ecx, [esp + 0x14]
call fcn.004522c0
lea ecx, [esp + 0x14]
cmp eax, ecx
jne 0x4a8e4a
mov edx, dword [0x5cf520]
lea ecx, [edi + edx + 0x78]
mov edx, dword [0x5cf4f0]
push ecx
push eax
push 0x5413c8
mov ecx, 0x5cf4f0
call dword [edx + 0x94]
jmp 0x4a8e6e
mov byte [eax - 1], bl
mov edx, dword [0x5cf520]
lea ecx, [edi + edx + 0x78]
lea edx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x5cf4f0]
push edx
mov ecx, 0x5cf4f0
call dword [eax + 0x94]
mov ecx, dword [0x5cf520]
mov dword [edi + ecx + 0x78], eax
mov edx, dword [0x5cf520]
mov byte [edi + edx + 0x7f], bl
mov ecx, dword [0x5cf520]
mov ecx, dword [edi + ecx + 0x78]
jmp 0x4a8e90
xor ecx, ecx
mov dword [esi + 0x7c], ecx
push 0xffffffffffffffff
push str.Purchase_Screen
mov ecx, 0x5d0b60
call fcn.004c7640
mov ecx, 0x138
mov dword [esi + 0x134], eax
call fcn.00488280
cmp eax, ebx
je 0x4a8ec8
push ebx
push 0x52e0bc
push esi
mov ecx, eax
call fcn.00479a30
jmp 0x4a8eca
xor eax, eax
push 0x5e1568
mov ecx, eax
mov dword [esi + 0x138], eax
call fcn.0047a1c0
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 8]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [ecx]
sar eax, 1
add eax, 4
push eax
push eax
call dword [edx + 0xfc]
mov eax, dword [esi + 0x138]
push ebx
push 0xfffffc18
push 0xfffffc18
push ebx
push 3
push eax
mov ecx, esi
call fcn.00476110
mov ecx, dword [esp + 0x114]
mov dword [esi + 0x13c], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 8
Function at 0x4aeeca
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x5e1974]
sub esp, 8
test eax, eax
push esi
mov esi, ecx
je 0x4aef7c
mov ecx, dword [0x5e1958]
test ecx, ecx
jne 0x4aef7c
mov cl, byte [0x536558]
mov dword [0x5e1958], 1
test cl, cl
je 0x4aef7c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
je 0x4aef7c
mov al, byte [0x536558]
test al, al
je 0x4aef7c
call fcn.0044a860
mov eax, dword [0x5d1264]
test eax, eax
je 0x4aef7c
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4aef7c
call fcn.004ae9c0
mov byte [0x536558], 0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov dword [esp + 4], eax
call fcn.0049f1f0
push eax
lea ecx, [esp + 8]
push 8
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004af210
test al, al
jne 0x4aef7c
mov edx, str.Couldnt_set_the_screen_full_screen.
mov ecx, str.FATAL_ERROR
call fcn.00465a30
push 0xffffffffffffffff
call fcn.005009bb
pop esi
add esp, 8
ret
mov eax, dword [0x5d1264]
mov ecx, dword [eax + 4]
jmp 0x4aeec0
Function at 0x4b0a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4b0a6c
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esi]
mov dword [esp + 8], 0
sub eax, ecx
mov dword [esp + 4], eax
fild qword [esp + 4]
fmul dword [0x5172b8]
jmp 0x4b0a72
fld dword [0x5158dc]
fadd dword [esi + 4]
mov dword [esi], 0
fst dword [esi + 4]
call fcn.004fff44
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
call fcn.0049fce0
call sub.KERNEL32.dll_GetTickCount
mov dword [esi], eax
pop esi
add esp, 8
ret

Function at 0x4b1a59
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x512fb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.00488f00
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
call fcn.0046e990
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
push edi
push ebp
lea eax, [esp + 0x14]
push str._s___s_Properties.txt
push eax
mov byte [esp + 0x50], 1
call fcn.00470090
add esp, 0x10
lea ecx, [esp + 0xc]
push 1
push 0x204
call fcn.00470660
push eax
lea ecx, [esp + 0x1c]
call fcn.004890c0
test al, al
je 0x4b1b08
push 0x5e2130
lea ecx, [esp + 0x50]
call fcn.0046eaf0
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 2
call fcn.00470660
push eax
mov ecx, 0x5e2130
call fcn.00470b50
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004877d0
lea edx, [esp + 0x4c]
mov ecx, 0x5e2130
push edx
call fcn.00470b10
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 1
call fcn.0046ebb0
jmp 0x4b1b3f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
push 1
push 3
lea ecx, [esp + 0x14]
call fcn.00470660
push eax
lea ecx, [esp + 0x1c]
call fcn.004890c0
test al, al
je 0x4b1b72
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00487580
lea ecx, [esp + 0x10]
call fcn.00489130
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 0
call fcn.0046ebb0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.00488fb0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x38
ret 8
lea ecx, [esp + 0x4c]
call fcn.0046e990
push edi
push ebp
lea edx, [esp + 0x54]
push str.The_sequence___s__s__has_no_Properties.txt_or_it_is_unreadable_and_one_cannot_be_created__nIt_has_most_likely_been_zipped_without_first_being_tested_in_the_game._nUnzip_it_and_test_it__then_zip_it_back_up.__Or_delete_the_properties.txt_and_let_the_game_build_a_new_one.
push edx
mov byte [esp + 0x50], 3
call fcn.00470090
add esp, 0x10
lea ecx, [esp + 0x4c]
call fcn.00470660
mov edx, eax
mov ecx, str.Cant_Read_Or_Save_Properties
call fcn.00465a30
push 0xffffffffffffffff
call fcn.005009bb
Function at 0x4b59e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov ecx, 0x5d1750
call fcn.0047e200
call sub.KERNEL32.dll_GetTickCount
mov ecx, 0x5df438
mov edi, eax
call fcn.00485090
mov ebx, dword [esi]
mov ebp, eax
test ebx, ebx
je 0x4b5a7e
fld dword [esi + 4]
fmul dword [0x51910c]
call fcn.004fff44
mov ecx, edi
mov dword [esp + 0x10], eax
sub ecx, ebx
cmp ecx, eax
jae 0x4b5a7e
call fcn.004d0ca0
call sub.KERNEL32.dll_GetTickCount
mov ecx, 0x5d1750
mov edi, eax
call fcn.0047e310
test eax, eax
jne 0x4b5a72
mov ecx, 0x5df438
call fcn.00485090
and ebp, eax
xor eax, ebp
jne 0x4b5a7e
mov ecx, dword [esi]
mov eax, dword [esp + 0x10]
mov edx, edi
sub edx, ecx
cmp edx, eax
jb 0x4b5a26
push 0
mov ecx, 0x5d1750
call fcn.0047e200
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
mov ecx, 0x5d1750
call fcn.0047e200
push 0
mov ecx, 0x5d1750
call fcn.0047e200
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4c5a00
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x100
call fcn.0049fa40
test al, al
je 0x4c5b90
mov eax, dword [0x5e2080]
test eax, eax
je 0x4c5a32
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [0x5e2080]
cmp eax, 0xea60
jbe 0x4c5b90
push esi
call sub.KERNEL32.dll_GetTickCount
mov dword [0x5e2080], eax
mov eax, dword [0x5ced7c]
push eax
mov ecx, 0x5e0508
call fcn.0049dd20
mov esi, eax
mov al, byte [0x5379bc]
test al, al
je 0x4c5a7e
call fcn.004c0680
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x4c5a7e
push 0xffffffffffffffff
push str.1_Intro
mov ecx, 0x5ced68
mov byte [0x5379bc], 0
call fcn.004c7640
mov esi, eax
mov eax, dword [0x5ced98]
mov edx, esi
test eax, eax
je 0x4c5b78
cmp esi, dword [0x5ced9c]
jb 0x4c5a97
xor edx, edx
mov esi, edx
shl esi, 7
cmp byte [esi + eax + 0x7f], 0
lea ecx, [esi + eax + 0x7f]
jne 0x4c5b78
push edi
mov edi, dword [esi + eax + 0x78]
test edi, edi
pop edi
jne 0x4c5b5e
test eax, eax
je 0x4c5b5e
cmp byte [ecx], 0
jne 0x4c5b5e
mov byte [ecx], 1
mov eax, dword [0x5ced68]
push edx
mov ecx, 0x5ced68
call dword [eax + 4]
mov edx, 0x5ceda0
lea ecx, [esp + 4]
push eax
call fcn.00452030
lea ecx, [esp + 4]
call fcn.004522c0
lea ecx, [esp + 4]
cmp eax, ecx
jne 0x4c5b1f
mov edx, dword [0x5ced98]
lea ecx, [esi + edx + 0x78]
mov edx, dword [0x5ced68]
push ecx
push eax
push 0x5413c8
mov ecx, 0x5ced68
call dword [edx + 0x94]
jmp 0x4c5b44
mov byte [eax - 1], 0
mov edx, dword [0x5ced98]
lea ecx, [esi + edx + 0x78]
lea edx, [esp + 4]
push ecx
push eax
mov eax, dword [0x5ced68]
push edx
mov ecx, 0x5ced68
call dword [eax + 0x94]
mov ecx, dword [0x5ced98]
mov dword [esi + ecx + 0x78], eax
mov edx, dword [0x5ced98]
mov byte [esi + edx + 0x7f], 0
mov eax, dword [0x5ced98]
mov eax, dword [esi + eax + 0x78]
mov ecx, dword [0x5e1544]
push eax
call fcn.004a66d0
mov al, 1
pop esi
add esp, 0x100
ret
mov ecx, dword [0x5e1544]
xor eax, eax
push eax
call fcn.004a66d0
mov al, 1
pop esi
add esp, 0x100
ret
xor al, al
add esp, 0x100
ret
Function at 0x4c6780
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov ebp, ecx
call fcn.00464c50
mov edx, 0x5cefb0
mov ecx, 0x5ceeb0
push eax
push str.Screen_Width
call fcn.00452400
mov esi, eax
call fcn.00464c60
mov edx, 0x5cefb0
mov ecx, 0x5ceeb0
push eax
push str.Screen_Height
call fcn.00452400
mov edx, 0x5cefb0
mov ecx, 0x5ceeb0
push esi
push str.Screen_Width
mov edi, eax
call fcn.00452420
mov edx, 0x5cefb0
mov ecx, 0x5ceeb0
push edi
push str.Screen_Height
call fcn.00452420
call fcn.00464c70
mov edx, 0x5cefb0
mov ecx, 0x5ceeb0
push eax
push str.Screen_Bit_Depth
call fcn.00452400
mov edx, esi
mov ecx, str._ScreenWidth
mov dword [0x5e20c0], eax
call fcn.00465780
mov edx, edi
mov ecx, str._ScreenHeight
mov esi, eax
call fcn.00465780
mov edx, dword [0x5e20c0]
mov ecx, str._ScreenBitDepth
mov edi, eax
call fcn.00465780
test ebx, ebx
mov dword [0x5e20c0], eax
je 0x4c68d4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4c68d4
test ebp, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov esi, eax
je 0x4c6861
mov esi, ebp
mov edx, dword [0x5d1264]
push esi
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [edx + 4]
call fcn.004af210
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c694a
cmp esi, 0x18
jne 0x4c68be
mov eax, dword [esp + 0x1c]
push esi
mov dword [esp + 0x18], eax
mov eax, dword [0x5d1264]
lea ecx, [esp + 0x18]
push 0x20
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
mov ecx, dword [eax + 4]
push edx
call fcn.004af210
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c694a
mov edx, str.Couldnt_set_resolution
mov ecx, str.FATAL_ERROR
call fcn.00465a30
push 0xffffffffffffffff
call fcn.005009bb
test ebp, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], esi
mov ebx, eax
je 0x4c68e4
mov ebx, ebp
mov eax, dword [0x5d1264]
push ebx
lea ecx, [esp + 0x18]
push ebx
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [eax + 4]
push edx
call fcn.004af210
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4c694a
cmp ebx, 0x18
jne 0x4c6934
mov eax, dword [0x5d1264]
push ebx
lea ecx, [esp + 0x18]
push 0x20
lea edx, [esp + 0x24]
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], edi
push ecx
mov ecx, dword [eax + 4]
push edx
call fcn.004af210
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4c694a
mov edx, str.Couldnt_set_resolution
mov ecx, str.FATAL_ERROR
call fcn.00465a30
push 0xffffffffffffffff
call fcn.005009bb
test ebp, ebp
jne 0x4c6960
mov ecx, dword [0x5e20c0]
push ecx
mov ecx, dword [0x5d1264]
call fcn.004654f0
push 0x3f800000
push str.Screen_Brightness
mov edx, 0x5cefb0
mov ecx, 0x5ceeb0
call fcn.00452470
mov edx, dword [0x5d1264]
push ecx
mov ecx, dword [edx + 4]
fstp dword [esp]
call fcn.004b08a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x4d34c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
jne 0x4d352d
call fcn.004d2e80
test al, al
jne 0x4d352d
lea ecx, [ebp + 0xc]
call fcn.0046e990
mov eax, dword [esi + 8]
lea ecx, [ebp + 0xc]
push eax
push str.There_is_something_wrong_with__s.__It_may_be_an_empty_archive.
push ecx
mov dword [ebp - 4], 0
call fcn.00470090
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.00470660
mov edx, eax
mov ecx, str.FATAL_ERROR_IN_ZIP
call fcn.00465a30
push 0xffffffffffffffff
call fcn.005009bb
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ebx
call fcn.0046eb00
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.00470850
mov ecx, eax
call fcn.00452300
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004708f0
lea ecx, [ebp - 0x10]
call fcn.00470660
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00470670
mov edx, dword [esi + 0xc]
lea ecx, [ebp + 8]
push edx
mov edi, eax
call fcn.0046eb00
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00470670
cmp edi, eax
jb 0x4d35d2
jne 0x4d358f
nop
push eax
lea ecx, [ebp + 8]
call fcn.00470660
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0050d740
add esp, 0xc
test eax, eax
jne 0x4d35d2
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046ebb0
push 0
push ebx
mov ecx, esi
call fcn.004d3a80
test eax, eax
je 0x4d35de
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4d3602
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
jmp 0x4d3612
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046ebb0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0046ebb0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 8]
call fcn.0044f290
mov edx, dword [ebp + 0xc]
mov byte [edx], al
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0046ebb0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d3f50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
jne 0x4d3fbd
call fcn.004d2e80
test al, al
jne 0x4d3fbd
lea ecx, [ebp - 0x14]
call fcn.0046e990
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x14]
push eax
push str.There_is_something_wrong_with__s.__It_may_be_an_empty_archive.
push ecx
mov dword [ebp - 4], 0
call fcn.00470090
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00470660
mov edx, eax
mov ecx, str.FATAL_ERROR_IN_ZIP
call fcn.00465a30
push 0xffffffffffffffff
call fcn.005009bb
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push edx
call fcn.0046eb00
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.00470850
mov ecx, eax
call fcn.00452300
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004708f0
lea ecx, [ebp - 0x10]
call fcn.00470660
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00470670
mov edi, eax
mov eax, dword [esi + 0xc]
push eax
lea ecx, [ebp + 8]
call fcn.0046eb00
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00470670
cmp edi, eax
jb 0x4d4076
jne 0x4d401e
nop
push eax
lea ecx, [ebp + 8]
call fcn.00470660
push eax
push ebx
call fcn.0050d740
add esp, 0xc
test eax, eax
jne 0x4d4076
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046ebb0
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 8]
call fcn.0044f350
lea ecx, [ebp - 0x10]
mov esi, eax
mov edi, edx
mov dword [ebp - 4], 0xffffffff
call fcn.0046ebb0
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046ebb0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0046ebb0
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
xor edx, edx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
mov esi, ecx
dec ecx
test esi, esi
je 0x4d41c1
push edi
lea esi, [ecx + 1]
xor ecx, ecx
mov edi, eax
mov cl, byte [edx]
and edi, 0xff
xor ecx, edi
shr eax, 8
mov ecx, dword [ecx*4 + 0x539218]
xor eax, ecx
inc edx
dec esi
jne 0x4d41a2
pop edi
pop esi
ret 4

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

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x4d41fb
push esi
push edi
lea esi, [edx]
xor edx, edx
mov edi, eax
mov dl, byte [ecx]
and edi, 0xff
xor edx, edi
shr eax, 8
mov edx, dword [edx*4 + 0x539218]
xor eax, edx
inc ecx
dec esi
jne 0x4d41db
pop edi
pop esi
not eax
ret