joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009e340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
push esi
push edi
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [esp + 0xc], edi
jb 0x1009e35b
mov esi, dword [ebx]
jmp 0x1009e35d
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1009e379
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1009e368
mov ecx, dword [0x10154918]
and ecx, edx
mov edx, dword [0x1015490c]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov esi, dword [edx + ecx*4]
inc ecx
mov dword [esp + 0x10], esi
lea ecx, [edx + ecx*4]
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
mov edx, dword [0x10154904]
cmp esi, edx
jne 0x1009e3ae
mov ecx, edx
jmp 0x1009e3b2
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1009e4f7
cmp dword [ebx + 0x14], 0x10
lea edx, [eax + 8]
jb 0x1009e3c7
mov edi, dword [ebx]
jmp 0x1009e3c9
mov edi, ebx
cmp dword [edx + 0x14], 0x10
lea ecx, [edx + 0x10]
jb 0x1009e3d4
mov edx, dword [edx]
mov ecx, dword [ecx]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xc]
mov esi, ecx
cmp dword [esp + 0x20], ecx
cmovb esi, dword [esp + 0x20]
test esi, esi
je 0x1009e446
sub esi, 4
jb 0x1009e403
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x1009e408
add edx, 4
add edi, 4
sub esi, 4
jae 0x1009e3f2
cmp esi, 0xfffffffc
je 0x1009e43c
mov cl, byte [edx]
cmp cl, byte [edi]
jne 0x1009e435
cmp esi, 0xfffffffd
je 0x1009e43c
mov cl, byte [edx + 1]
cmp cl, byte [edi + 1]
jne 0x1009e435
cmp esi, 0xfffffffe
je 0x1009e43c
mov cl, byte [edx + 2]
cmp cl, byte [edi + 2]
jne 0x1009e435
cmp esi, 0xffffffff
je 0x1009e43c
mov cl, byte [edx + 3]
cmp cl, byte [edi + 3]
je 0x1009e43c
sbb ecx, ecx
or ecx, 1
jmp 0x1009e43e
xor ecx, ecx
test ecx, ecx
jne 0x1009e450
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
cmp edx, ecx
jb 0x1009e450
jbe 0x1009e45f
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x1009e3a0
cmp dword [eax + 0x1c], 0x10
lea edx, [eax + 8]
lea edi, [edx + 0x10]
jb 0x1009e46d
mov edx, dword [edx]
cmp dword [ebx + 0x14], 0x10
jb 0x1009e475
mov ebx, dword [ebx]
mov edi, dword [edi]
cmp ecx, edi
mov esi, edi
cmovb esi, ecx
test esi, esi
je 0x1009e4db
sub esi, 4
jb 0x1009e498
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x1009e49d
add ebx, 4
add edx, 4
sub esi, 4
jae 0x1009e487
cmp esi, 0xfffffffc
je 0x1009e4d1
mov cl, byte [ebx]
cmp cl, byte [edx]
jne 0x1009e4ca
cmp esi, 0xfffffffd
je 0x1009e4d1
mov cl, byte [ebx + 1]
cmp cl, byte [edx + 1]
jne 0x1009e4ca
cmp esi, 0xfffffffe
je 0x1009e4d1
mov cl, byte [ebx + 2]
cmp cl, byte [edx + 2]
jne 0x1009e4ca
cmp esi, 0xffffffff
je 0x1009e4d1
mov cl, byte [ebx + 3]
cmp cl, byte [edx + 3]
je 0x1009e4d1
sbb ecx, ecx
or ecx, 1
jmp 0x1009e4d3
xor ecx, ecx
test ecx, ecx
jne 0x1009e4e1
mov ecx, dword [esp + 0xc]
cmp ecx, edi
jb 0x1009e4e1
jbe 0x1009e4e6
mov eax, dword [0x10154904]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
add esp, 0xc
ret 8
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword [eax], edx
add esp, 0xc
ret 8
Function at 0x1009e5b0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [0x101548ec]
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x101548f8]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov edi, dword [edx + ecx*4]
lea ebx, [edx + ecx*4]
mov edx, dword [0x101548e4]
cmp edi, edx
jne 0x1009e610
mov ecx, edx
jmp 0x1009e615
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1009e63a
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x1009e624
mov eax, dword [eax]
jmp 0x1009e608
mov ecx, dword [esi]
cmp ecx, dword [eax + 8]
mov ecx, dword [esp + 0x10]
pop edi
cmovne eax, edx
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
ret 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], edx
ret 8

Function at 0x1009e6f0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [0x101548cc]
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x101548d8]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov edi, dword [edx + ecx*4]
lea ebx, [edx + ecx*4]
mov edx, dword [0x101548c4]
cmp edi, edx
jne 0x1009e750
mov ecx, edx
jmp 0x1009e755
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1009e77a
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x1009e764
mov eax, dword [eax]
jmp 0x1009e748
mov ecx, dword [esi]
cmp ecx, dword [eax + 8]
mov ecx, dword [esp + 0x10]
pop edi
cmovne eax, edx
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
ret 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], edx
ret 8

Function at 0x1009f430
Capabilities:
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
ret 4
Function at 0x100a0660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x1c], 0x10
push ebx
mov ebx, dword [eax + 0x18]
push ebp
push esi
lea esi, [eax + 8]
mov ebp, ecx
push edi
jb 0x100a0678
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x100a0694
movzx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x100a0683
mov ecx, dword [ebp + 0x18]
and ecx, edi
lea edx, [ecx*8]
mov ecx, dword [ebp + 0xc]
add ecx, edx
cmp dword [ecx + 4], eax
jne 0x100a06c7
cmp dword [ecx], eax
jne 0x100a06bf
mov eax, dword [ebp + 4]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
mov dword [ecx + edx + 4], eax
jmp 0x100a06cf
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x100a06cf
cmp dword [ecx], eax
jne 0x100a06d3
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
lea ecx, [ebp + 4]
push eax
push esi
call fcn.100a06f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x100a1640
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [0x10154944]
push edi
mov edi, ecx
mov dword [esp + 4], eax
push edi
push 1
lea eax, [esp + 0xc]
push 4
push eax
call fcn.100f5fe9
add esp, 0x10
cmp dword [esp + 4], 0
je 0x100a16cc
mov eax, dword [0x10154940]
push esi
mov esi, dword [eax]
cmp esi, eax
je 0x100a1698
mov eax, dword [esi + 8]
push edi
push 1
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 4
push eax
call fcn.100f5fe9
mov esi, dword [esi]
add esp, 0x10
mov eax, dword [0x10154940]
cmp esi, eax
jne 0x100a1674
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [0x10154940]
mov dword [eax + 4], eax
mov dword [0x10154944], 0
cmp ecx, dword [0x10154940]
je 0x100a16cb
mov esi, dword [ecx]
push ecx
call fcn.100e9b9e
add esp, 4
mov ecx, esi
cmp esi, dword [0x10154940]
jne 0x100a16b6
pop esi
pop edi
add esp, 8
ret

Function at 0x100a16e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
lea eax, [esp]
push ebp
mov ebp, ecx
push ebp
push 1
push 4
push eax
call fcn.100f6e5a
add esp, 0x10
cmp eax, 1
je 0x100a1703
xor al, al
pop ebp
add esp, 0xc
ret
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
jbe 0x100a176d
nop
push ebp
push 1
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.100f6e5a
add esp, 0x10
cmp eax, 1
jne 0x100a1777
mov eax, dword [esp + 0x14]
mov ebx, dword [0x10154940]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push dword [ebx + 4]
push ebx
call fcn.100a4c10
mov edx, dword [0x10154944]
mov ecx, 0x15555554
sub ecx, edx
mov esi, eax
cmp ecx, 1
jb 0x100a1781
inc edx
inc edi
mov dword [0x10154944], edx
mov dword [ebx + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
cmp edi, dword [esp + 0x10]
jb 0x100a1710
pop edi
pop esi
pop ebx
xor al, al
pop ebp
add esp, 0xc
ret
pop edi
pop esi
pop ebx
mov al, 1
pop ebp
add esp, 0xc
ret
push str.list_T__too_long
call fcn.100e89e5
int3
Function at 0x100a9750
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [0x1017533c]
push esi
push 0
mov esi, ecx
lea ecx, [esp + 0xc]
mov edx, dword [eax]
push ecx
push 2
push 0x16
push dword [0x1016e910]
push dword [0x1016e90c]
push eax
call dword [edx + 0x90]
mov eax, dword [0x1017533c]
push dword [esp + 8]
push dword [0x1016ea60]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
lea eax, [esp + 4]
push eax
mov eax, dword [0x1016e90c]
imul eax, dword [0x1016e910]
add eax, eax
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXCreateBuffer]
push 0
push 0
push dword [esp + 0x10]
lea eax, [esp + 0x10]
push 3
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXSaveSurfaceToFileInMemory]
mov eax, dword [esp + 4]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push eax
call fcn.100f5fe9
push esi
call fcn.100f22af
mov eax, dword [esp + 0x1c]
add esp, 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x100aa0f0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
push edi
push 0xa
mov esi, ecx
push 0x65
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x100aa10c
pop edi
xor al, al
pop esi
pop ecx
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push 0x1012cbb8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100aa150
pop ebx
pop edi
xor al, al
pop esi
pop ecx
ret
push 0
lea eax, [esp + 0x10]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret

Function at 0x100aa170
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
test edi, edi
jle 0x100aa1d5
mov ebp, dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + edx]
push eax
push ecx
call ebp
test eax, eax
jle 0x100aa1ab
add esi, eax
jmp 0x100aa1bb
call ebx
cmp eax, 0x2733
je 0x100aa1bb
cmp eax, 0x2747
jne 0x100aa1c9
cmp esi, edi
jge 0x100aa1d5
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x100aa195
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 4
Function at 0x100aa1f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
test edi, edi
jle 0x100aa255
mov ebp, dword [sym.imp.WS2_32.dll_recv]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + edx]
push eax
push ecx
call ebp
test eax, eax
jle 0x100aa22b
add esi, eax
jmp 0x100aa23b
call ebx
cmp eax, 0x2733
je 0x100aa23b
cmp eax, 0x2747
jne 0x100aa249
cmp esi, edi
jge 0x100aa255
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x100aa215
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 4
Function at 0x100aad30
Capabilities:
Create process on windows
Create tcp socket
Initialize winsock library
Start tcp server

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x204
lea eax, [esp + 0x74]
push ebx
push esi
push edi
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100aae92
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x100aae8c
mov eax, 2
push 0x1012cbcc
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x1095
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x100aae1e
push 4
push edi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x100aae1e
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.100ed160
mov esi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
xorps xmm0, xmm0
add esp, 0xc
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x38], 0x44
mov bl, 1
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push str.FalloutDebug.exe__debugedit
push 0x1012cbb8
call esi
test eax, eax
jne 0x100aae32
mov al, bl
dec bl
test al, al
je 0x100aae1e
mov ecx, dword [0x10142bb8]
call fcn.100aa0f0
test al, al
jne 0x100aade1
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x20]
call esi
push 0
push 0
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x100aae1e
mov eax, dword [0x10142bb4]
test eax, eax
je 0x100aae74
mov ecx, dword [eax]
cmp ecx, 0x1011fc38
jne 0x100aae70
mov eax, dword [eax + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
lea ecx, [esp + 0xc]
call fcn.100aa270
push dword [esp + 0xc]
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
call esi
push edi
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100ab380
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ea78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
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.DontDeleteProtos
mov edx, str.Debugging
mov ecx, str..ddraw.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x100ab3fd
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100ab4a6
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
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 0x100ab42b
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
test esi, esi
je 0x100ab4a6
cmp byte [0x10174f84], 0
je 0x100ab47a
test byte [0x10174f88], 1
je 0x100ab47a
mov edx, str.Applying_permanent_protos_patch.
mov ecx, 0x10153db8
call fcn.10012ce0
push eax
call fcn.10012f80
add esp, 4
cmp dword [0x101553d8], 0
je 0x100ab47a
mov edx, str.Applying_permanent_protos_patch.
mov ecx, 0x10141e60
call fcn.10012ce0
push eax
call fcn.10012f80
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x48007e
call esi
lea eax, [ebp - 0x10]
mov byte [0x48007e], 0xeb
push eax
push dword [ebp - 0x10]
push 1
push 0x48007e
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100ab4c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ea78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
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.AlwaysReloadMsgs
mov edx, str.Debugging
mov ecx, str..ddraw.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x100ab53d
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100ab5e6
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
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 0x100ab56b
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
test esi, esi
je 0x100ab5e6
cmp byte [0x10174f84], 0
je 0x100ab5ba
test byte [0x10174f88], 1
je 0x100ab5ba
mov edx, str.Applying_always_reload_messages_patch.
mov ecx, 0x10153db8
call fcn.10012ce0
push eax
call fcn.10012f80
add esp, 4
cmp dword [0x101553d8], 0
je 0x100ab5ba
mov edx, str.Applying_always_reload_messages_patch.
mov ecx, 0x10141e60
call fcn.10012ce0
push eax
call fcn.10012f80
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x4a6b8d
call esi
lea eax, [ebp - 0x10]
mov byte [0x4a6b8d], 0
push eax
push dword [ebp - 0x10]
push 1
push 0x4a6b8d
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100ac020
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x43ef84
call esi
mov eax, 0x100abab0
sub eax, 0x43ef88
mov dword [0x43ef84], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push 0x43ef84
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x43f142
call esi
mov eax, 0x100abad0
sub eax, 0x43f146
mov dword [0x43f142], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push 0x43f142
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 1
push 0x43ef76
call esi
lea eax, [esp + 4]
mov byte [0x43ef76], 0x32
push eax
push dword [esp + 8]
push 1
push 0x43ef76
call esi
lea eax, [esp + 0x10]
mov dword [esp + 4], 0x43efa4
push eax
lea edx, [esp + 8]
mov dword [esp + 0xc], 0x43efb9
mov ecx, 0x101755b0
mov dword [esp + 0x10], 0x43f2fc
call fcn.10011f40
lea eax, [esp + 0xc]
mov dword [esp + 4], 0x43efea
push eax
lea edx, [esp + 8]
mov dword [esp + 0xc], 0x43f315
mov ecx, 0x101755b8
call fcn.10011f40
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x43f309
call esi
lea eax, [esp + 4]
mov dword [0x43f309], 0x101755b4
push eax
push dword [esp + 8]
push 4
push 0x43f309
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x43f438
call esi
mov dword [0x43f438], 0x10175420
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push 0x43f438
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x43f475
call esi
lea eax, [esp + 4]
mov dword [0x43f475], 0x10175424
push eax
push dword [esp + 8]
push 4
push 0x43f475
call esi
lea eax, [esp + 0xc]
mov dword [esp + 4], 0x43f65e
push eax
lea edx, [esp + 8]
mov dword [esp + 0xc], 0x43f6bb
mov ecx, 0x10175350
call fcn.10011f40
push 2
push 0x100abaf0
mov edx, 0x43f05d
mov cl, 0xe8
call fcn.100120f0
push 2
push 0x100abb10
mov edx, 0x43f184
mov cl, 0xe8
call fcn.100120f0
push 2
push 0x100abb30
mov edx, 0x43f1e4
mov cl, 0xe8
call fcn.100120f0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100ad260
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov edx, dword [0x10154a2c]
mov eax, 0x3a196b1f
push ebx
mov ebx, dword [0x10154a28]
sub edx, ebx
imul edx
push ebp
push esi
sar edx, 5
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x10], esi
mov ecx, edx
mov dword [esp + 0x14], edi
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x10175fe4]
cmp edx, ecx
jae 0x100ad2c3
imul eax, edx, 0x8d
add eax, ebx
sub ecx, edx
cmp byte [eax + 0x8c], 0
je 0x100ad2b9
cmp dword [eax], 0
je 0x100ad2b9
inc esi
mov dword [esp + 0x10], esi
add eax, 0x8d
sub ecx, 1
jne 0x100ad2a6
push edi
push 1
lea eax, [esp + 0x18]
push 4
push eax
call fcn.100f5fe9
mov ebp, dword [0x10154a2c]
mov eax, 0x3a196b1f
mov edi, dword [0x10154a28]
mov ecx, ebp
mov ebx, dword [0x10175fe4]
sub ecx, edi
imul ecx
add esp, 0x10
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x100ad370
imul esi, ebx, 0x8d
cmp byte [esi + edi + 0x8c], 0
je 0x100ad350
cmp dword [esi + edi], 0
je 0x100ad350
mov ebp, dword [esp + 0x14]
lea eax, [edi + 4]
push ebp
push 1
add eax, esi
push 0x88
push eax
call fcn.100f5fe9
mov eax, dword [0x10154a28]
push ebp
push 1
push dword [esi + eax + 4]
push dword [esi + eax]
call fcn.100f5fe9
mov ebp, dword [0x10154a2c]
add esp, 0x20
mov edi, dword [0x10154a28]
mov ecx, ebp
mov eax, 0x3a196b1f
sub ecx, edi
inc ebx
imul ecx
add esi, 0x8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x100ad306
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100b6540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1013caa8]
sub esp, 0x114
mov eax, dword [eax]
add eax, dword [0x101822e4]
push esi
push 0x1012cfa8
push eax
push dword [0x5193cc]
lea eax, [ebp - 0x110]
push str._s_savegame_slot_.2d_sfall_s.sav
push eax
call fcn.1000d880
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
push 0
push str.Saving_game:__s_n
call fcn.10012400
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x10124840
push eax
call fcn.100f2222
mov esi, eax
add esp, 8
test esi, esi
je 0x100b66f9
mov ecx, esi
call fcn.1009d140
push esi
push 1
push 4
push 0x1013cf90
call fcn.100f5fe9
mov eax, dword [0x101751f4]
push esi
shl eax, 0x10
push 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
call fcn.100f5fe9
add esp, 0x20
mov ecx, esi
call fcn.100bf0e0
mov ecx, esi
call fcn.100d5330
mov ecx, esi
call fcn.100a1640
push esi
call fcn.100f22af
mov eax, dword [0x1013caa8]
add esp, 4
mov eax, dword [eax]
add eax, dword [0x101822e4]
push 0x1012db6c
push eax
push dword [0x5193cc]
lea eax, [ebp - 0x110]
push str._s_savegame_slot_.2d_sfall_s.sav
push eax
call fcn.1000d880
add esp, 0x14
lea eax, [ebp - 0x110]
push 0x10124840
push eax
call fcn.100f2222
mov esi, eax
add esp, 8
test esi, esi
je 0x100b66f9
mov ecx, esi
call fcn.1009a310
mov ecx, esi
call fcn.10088360
push esi
push 1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x70005cc
push 4
push eax
call fcn.100f5fe9
push esi
call fcn.100f22af
mov ecx, dword [0x10154a2c]
mov eax, 0x3a196b1f
sub ecx, dword [0x10154a28]
add esp, 0x14
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, dword [0x10175fe4]
test eax, eax
jle 0x100b6739
mov eax, dword [0x1013caa8]
push 0x1012ceb4
mov eax, dword [eax]
add eax, dword [0x101822e4]
push eax
push dword [0x5193cc]
lea eax, [ebp - 0x110]
push str._s_savegame_slot_.2d_sfall_s.sav
push eax
call fcn.1000d880
add esp, 0x14
lea eax, [ebp - 0x110]
push 0x10124840
push eax
call fcn.100f2222
mov esi, eax
add esp, 8
test esi, esi
je 0x100b66f9
mov ecx, esi
call fcn.100ad260
push esi
call fcn.100f22af
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x110]
push eax
push 0
push str.ERROR_creating:__s_n
call fcn.10012400
add esp, 0xc
mov eax, 0x10153e68
cmp dword [0x10153e7c], 0x10
cmovae eax, dword [0x10153e68]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call dword [0x1012171c]
mov eax, str.IISXXXX1
call dword [0x101215bc]
pop esi
mov esp, ebp
pop ebp
ret