joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10090000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ea88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push str.DisablePipboyAlarm
mov edx, str.Misc
mov ecx, str.._sfall.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x1009007a
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10090076
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
xor esi, esi
jmp 0x100900ad
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
call fcn.10005410
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100900a8
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
cmp byte [0x10153f67], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
je 0x100900e5
cmp eax, 1
je 0x100900e5
push str..ddraw.ini
push 0
mov edx, str.DisablePipboyAlarm
mov ecx, str.Misc
call fcn.10005480
mov esi, eax
test esi, esi
je 0x1009016e
cmp byte [0x10174f84], 0
je 0x10090138
test byte [0x10174f88], 1
je 0x10090138
mov edx, str.Applying_Disable_Pip_Boy_alarm_button_patch.
mov ecx, 0x10153db8
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
cmp dword [0x101553d8], 0
je 0x10090138
mov edx, str.Applying_Disable_Pip_Boy_alarm_button_patch.
mov ecx, 0x10141e60
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x499518
call esi
lea eax, [ebp - 0x10]
mov byte [0x499518], 0xc3
push eax
push dword [ebp - 0x10]
push 1
push 0x499518
call esi
mov dword [0x1013cf84], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10090180
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push str.OverrideMusicDir
mov edx, str.Sound
mov ecx, str.._sfall.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x100901fa
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100901f6
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
xor esi, esi
jmp 0x1009022d
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
xor edx, edx
call fcn.10005410
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10090228
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
cmp byte [0x10153f67], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
je 0x10090265
cmp eax, 1
je 0x10090265
push str..ddraw.ini
push 0
mov edx, str.OverrideMusicDir
mov ecx, str.Sound
call fcn.10005480
mov esi, eax
test esi, esi
je 0x100902db
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 0x4449c2
push eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x4449db
mov ecx, str.data_soundmusic_
call fcn.10011f50
cmp esi, 2
jne 0x100902db
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 0x518e78
push eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x518e7c
mov ecx, str.data_soundmusic_
call fcn.10011f50
lea eax, [ebp - 0x10]
push eax
push 0x40
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x44fcf3
call esi
mov eax, 0x40eb
mov word [0x44fcf3], ax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 2
push 0x44fcf3
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100902f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ea88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push str.DialogueFix
mov edx, str.Misc
mov ecx, str.._sfall.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x1009036d
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10090366
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
mov esi, 1
jmp 0x100903a3
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov edx, 1
cmovae ecx, dword [ebp - 0x28]
call fcn.10005410
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1009039e
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
cmp byte [0x10153f67], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
je 0x100903db
cmp eax, 1
je 0x100903db
push str..ddraw.ini
push 1
mov edx, str.DialogueFix
mov ecx, str.Misc
call fcn.10005480
mov esi, eax
test esi, esi
je 0x10090456
cmp byte [0x10174f84], 0
je 0x1009042a
test byte [0x10174f88], 1
je 0x1009042a
mov edx, str.Applying_dialogue_patch.
mov ecx, 0x10153db8
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
cmp dword [0x101553d8], 0
je 0x1009042a
mov edx, str.Applying_dialogue_patch.
mov ecx, 0x10141e60
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x446848
call esi
lea eax, [ebp - 0x10]
mov byte [0x446848], 0x31
push eax
push dword [ebp - 0x10]
push 1
push 0x446848
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10090470
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ea88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push str.EnableMusicInDialogue
mov edx, str.Misc
mov ecx, str.._sfall.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x100904ea
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100904e6
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
xor esi, esi
jmp 0x1009051d
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
call fcn.10005410
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10090518
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
cmp byte [0x10153f67], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
je 0x10090555
cmp eax, 1
je 0x10090555
push str..ddraw.ini
push 0
mov edx, str.EnableMusicInDialogue
mov ecx, str.Misc
call fcn.10005480
mov esi, eax
test esi, esi
je 0x100905de
cmp byte [0x10174f84], 0
je 0x100905a8
test byte [0x10174f88], 1
je 0x100905a8
mov edx, str.Applying_music_in_dialogue_patch.
mov ecx, 0x10153db8
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
cmp dword [0x101553d8], 0
je 0x100905a8
mov edx, str.Applying_music_in_dialogue_patch.
mov ecx, 0x10141e60
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x4453da
mov byte [0x1015fe2b], 1
call esi
lea eax, [ebp - 0x10]
mov dword [0x4453da], 0x441f0f
push eax
push dword [ebp - 0x10]
push 4
push 0x4453da
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10090dd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ea88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push str.Fallout1Behavior
mov edx, str.Misc
mov ecx, str.._sfall.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x10090e4a
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10090e46
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
xor esi, esi
jmp 0x10090e7d
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
call fcn.10005410
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10090e78
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
cmp byte [0x10153f67], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
je 0x10090eb5
cmp eax, 1
je 0x10090eb5
push str..ddraw.ini
push 0
mov edx, str.Fallout1Behavior
mov ecx, str.Misc
call fcn.10005480
mov esi, eax
test esi, esi
je 0x10090f73
cmp byte [0x10174f84], 0
je 0x10090f08
test byte [0x10174f88], 1
je 0x10090f08
mov edx, str.Applying_Fallout_1_engine_behavior_patch.
mov ecx, 0x10153db8
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
cmp dword [0x101553d8], 0
je 0x10090f08
mov edx, str.Applying_Fallout_1_engine_behavior_patch.
mov ecx, 0x10141e60
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x4a4343
mov byte [0x1015fe2a], 1
call esi
lea eax, [ebp - 0x10]
mov dword [0x4a4343], 0x441f0f
push eax
push dword [ebp - 0x10]
push 4
push 0x4a4343
call esi
lea eax, [ebp - 0x10]
mov byte [0x1013cd58], 0
push eax
push 0x40
push 4
push 0x43f873
call esi
mov eax, 0x1008ed90
sub eax, 0x43f877
mov dword [0x43f873], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 4
push 0x43f873
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10091030
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x4c58fc
call esi
mov eax, 0x10090f90
sub eax, 0x4c5900
mov dword [0x4c58fc], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push 0x4c58fc
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x482ba1
call esi
mov eax, 0x10090fd0
sub eax, 0x482ba5
mov dword [0x482ba1], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push 0x482ba1
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x4c599a
call esi
mov eax, 0x10091020
sub eax, 0x4c599e
mov dword [0x4c599a], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push 0x4c599a
call esi
sub esp, 0x28
mov ecx, 0x10154dd0
mov eax, esp
mov dword [eax], 0x101263c4
mov dword [eax + 0x24], eax
lea eax, [esp + 0x30]
push eax
call fcn.1001d220
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x10091124
push dword [esp + 4]
mov edx, dword [esp + 0x10]
push ecx
call fcn.1000fa00
mov edx, dword [esp + 0x10]
mov eax, 0x66666667
mov ecx, dword [esp + 8]
sub edx, ecx
imul edx
push 0x28
mov eax, edx
sar eax, 4
mov edx, eax
shr edx, 0x1f
add edx, eax
call fcn.1000d8e0
pop esi
add esp, 0x10
ret
Function at 0x10091130
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x45ebbf
call esi
lea eax, [esp + 4]
mov dword [0x45ebbf], 0x441f0f
push eax
push dword [esp + 8]
push 4
push 0x45ebbf
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x4672a4
call esi
lea eax, [esp + 4]
mov dword [0x4672a4], 0xf02048b
push eax
push dword [esp + 8]
push 4
push 0x4672a4
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 2
push 0x4672a8
call esi
mov eax, 0xc3c8
mov word [0x4672a8], ax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 2
push 0x4672a8
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x4673e5
call esi
lea eax, [esp + 4]
mov dword [0x4673e5], 0xf02048b
push eax
push dword [esp + 8]
push 4
push 0x4673e5
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 1
push 0x4673e9
call esi
lea eax, [esp + 4]
mov byte [0x4673e9], 0xc8
push eax
push dword [esp + 8]
push 1
push 0x4673e9
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x467292
call esi
lea eax, [esp + 4]
mov dword [0x467292], 0x66008b66
push eax
push dword [esp + 8]
push 4
push 0x467292
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x467296
call esi
lea eax, [esp + 4]
mov dword [0x467296], 0xc308c0c1
push eax
push dword [esp + 8]
push 4
push 0x467296
call esi
lea eax, [esp + 0xc]
mov dword [esp + 4], 0x47d00d
push eax
lea edx, [esp + 8]
mov dword [esp + 0xc], 0x47c1fd
mov cl, 0x10
call fcn.10084100
lea eax, [esp + 4]
push eax
push 0x40
push 1
push 0x47cf0d
call esi
lea eax, [esp + 4]
mov byte [0x47cf0d], 0xcd
push eax
push dword [esp + 8]
push 1
push 0x47cf0d
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 1
push 0x47c135
call esi
lea eax, [esp + 4]
mov byte [0x47c135], 0x96
push eax
push dword [esp + 8]
push 1
push 0x47c135
call esi
pop esi
add esp, 8
ret
Function at 0x10091420
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push str.SingleCore
mov edx, 0x10125278
mov ecx, str.._sfall.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x1009149d
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x10091496
mov ecx, dword [ebp - 0x24]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
mov esi, 1
jmp 0x100914d3
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x24]
mov edx, 1
cmovae ecx, dword [ebp - 0x24]
call fcn.10005410
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x100914ce
mov ecx, dword [ebp - 0x24]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
cmp byte [0x10153f67], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
je 0x1009150b
cmp eax, 1
je 0x1009150b
push str..ddraw.ini
push 1
mov edx, str.SingleCore
mov ecx, 0x10125278
call fcn.10005480
mov esi, eax
test esi, esi
je 0x10091582
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x34], 2
jb 0x10091582
cmp byte [0x10174f84], 0
je 0x1009156a
test byte [0x10174f88], 1
je 0x1009156a
mov edx, str.Applying_single_core_tweak.
mov ecx, 0x10153db8
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
cmp dword [0x101553d8], 0
je 0x1009156a
mov edx, str.Applying_single_core_tweak.
mov ecx, 0x10141e60
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10091c20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, ecx
mov ebx, edx
sub ebx, edi
xor eax, eax
add ebx, 3
xor ebp, ebp
shr ebx, 2
cmp edi, edx
cmova ebx, eax
test ebx, ebx
je 0x10091c7a
push esi
nop
mov esi, dword [edi]
lea eax, [esp + 0x10]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov al, byte [esp + 0x1c]
mov byte [esi + 4], al
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc ebp
lea edi, [edi + 4]
cmp ebp, ebx
jne 0x10091c40
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x100924d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp byte [0x101750d0], 0
je 0x100924c1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x43fa9f
call esi
lea eax, [esp + 4]
mov dword [0x43fa9f], 0x501a8c
push eax
push dword [esp + 8]
push 4
push 0x43fa9f
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x44eb5b
call esi
lea eax, [esp + 4]
mov dword [0x44eb5b], 0x503530
push eax
push dword [esp + 8]
push 4
push 0x44eb5b
call esi
mov byte [0x101750d0], 0
pop esi
pop ecx
ret
mov ecx, dword [0x1013cd38]
sub esp, 8
mov edx, 0x22
mov ecx, dword [ecx]
push esi
call fcn.10024750
cmp eax, 1
sete al
cmp dword [0x1015fe40], 1
mov byte [0x101750d2], al
jle 0x1009256c
test al, al
je 0x10092571
cmp byte [0x101750d0], 0
jne 0x1009256c
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0x43fa9f
mov byte [0x101750d0], 1
call esi
lea eax, [esp + 8]
mov dword [0x43fa9f], 0x101264c8
push eax
push dword [esp + 0xc]
push 4
push 0x43fa9f
call esi
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0x44eb5b
call esi
lea eax, [esp + 8]
mov dword [0x44eb5b], 0x101264e0
push eax
push dword [esp + 0xc]
push 4
push 0x44eb5b
call esi
pop esi
add esp, 8
ret
pop esi
add esp, 8
jmp 0x10092450
Function at 0x100936d0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x6143f4
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100936f3
test al, 1
je 0x100936f3
and eax, 0xfffffffe
push eax
push 0x6143f4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x100937c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
lea eax, [esp + 4]
push ebx
push esi
push edi
push eax
push str.sfall___.dat
mov ebx, str.sfall.dat
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10093838
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x42]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100937f8
sub ecx, edx
cmp ecx, 6
je 0x10093814
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x100937f1
jmp 0x1009382c
lea eax, [esp + 0x3c]
push eax
push 0
push str.Found_a_locale_sfall_resource_file:__s_n
call fcn.10012410
add esp, 0xc
lea ebx, [esp + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebx], 0
je 0x1009383f
mov ecx, ebx
call fcn.10016d40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10095790
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
mov ebx, ecx
push 0x40
push 1
test ebx, ebx
je 0x10095807
push 0x4831d9
call esi
lea eax, [esp + 8]
mov byte [0x4831d9], bl
push eax
push dword [esp + 0xc]
push 1
push 0x4831d9
call esi
cmp dword [0x1015fe48], 2
jne 0x100957f9
lea eax, [esp + 8]
push eax
push 0x40
push 1
push 0x4831da
call esi
lea eax, [esp + 8]
mov byte [0x4831da], 0x7c
push eax
push dword [esp + 0xc]
push 1
push 0x4831da
call esi
pop esi
mov dword [0x1015fe48], 1
pop ebx
pop ecx
ret
push 0x4831da
call esi
lea eax, [esp + 8]
mov byte [0x4831da], 0xeb
push eax
push dword [esp + 0xc]
push 1
push 0x4831da
call esi
pop esi
mov dword [0x1015fe48], 2
pop ebx
pop ecx
ret

Function at 0x10095840
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp dword [0x1015fe48], 0
je 0x100958ae
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 1
push 0x4831da
call esi
lea eax, [esp + 4]
mov byte [0x4831da], 0x7c
push eax
push dword [esp + 8]
push 1
push 0x4831da
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 1
push 0x4831d9
call esi
lea eax, [esp + 4]
mov byte [0x4831d9], 0x18
push eax
push dword [esp + 8]
push 1
push 0x4831d9
call esi
mov dword [0x1015fe48], 0
pop esi
pop ecx
ret
Function at 0x1009a280
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp byte [0x10174f84], 0
je 0x1009a2cc
test byte [0x10174f88], 1
je 0x1009a2cc
mov edx, str.Applying_Pip_Boy_automaps_patch.
mov ecx, 0x10153db8
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
cmp dword [0x101553d8], 0
je 0x1009a2cc
mov edx, str.Applying_Pip_Boy_automaps_patch.
mov ecx, 0x10141e60
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
push esi
push edi
push 2
push 0x10099330
mov edx, 0x4bf931
mov cl, 0xe8
call fcn.10012100
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0x41b8b7
call esi
lea eax, [esp + 8]
mov dword [0x41b8b7], 0x1015fe90
push eax
push dword [esp + 0xc]
push 4
push 0x41b8b7
call esi
mov ecx, 0xa0
mov esi, 0x41b560
mov edi, 0x1015fe90
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ecx
ret

Function at 0x1009a330
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x10154818]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
push edi
push 1
lea eax, [esp + 0x10]
push 4
push eax
call fcn.100f5ff9
mov eax, dword [0x10154814]
add esp, 0x10
mov esi, dword [eax]
cmp esi, eax
je 0x1009a389
nop dword [eax + eax]
push edi
push 1
lea eax, [esi + 8]
push 4
push eax
call fcn.100f5ff9
push edi
push 1
lea eax, [esi + 0xc]
push 4
push eax
call fcn.100f5ff9
mov esi, dword [esi]
add esp, 0x20
cmp esi, dword [0x10154814]
jne 0x1009a360
pop edi
pop esi
pop ecx
ret

Function at 0x1009a390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
lea eax, [esp + 8]
push ebx
push esi
push edi
mov esi, ecx
push esi
push 1
push 4
push eax
call fcn.100f6e6a
add esp, 0x10
cmp eax, 1
je 0x1009a3be
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jbe 0x1009a462
push esi
push 1
lea eax, [esp + 0x24]
push 4
push eax
call fcn.100f6e6a
push esi
push 1
lea eax, [esp + 0x30]
push 4
push eax
call fcn.100f6e6a
add esp, 0x20
cmp eax, 1
jne 0x1009a3b5
mov eax, dword [0x10154814]
mov edi, dword [eax]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
push dword [edi + 4]
push edi
call fcn.1009b480
mov edx, dword [0x10154818]
mov ecx, 0xffffffe
sub ecx, edx
mov ebx, eax
cmp ecx, 1
jb 0x1009a46b
inc edx
mov ecx, 0x10154810
mov dword [0x10154818], edx
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov eax, dword [0x10154814]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1008cd60
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esp + 0x14]
jb 0x1009a3d1
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.100e89e5
int3