joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100144a2
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10066d8f
call fcn.10049cb8
sub esp, 0x20
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x100145d8
push 0x1006c8a4
push dword [ebp + 8]
call fcn.10056f1a
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x100145d8
push 0xc
call fcn.10049c7a
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x100144f3
mov ecx, eax
call fcn.10007621
mov esi, eax
jmp 0x100144f5
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x2c]
push 8
pop ecx
push ebx
xor eax, eax
push 1
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push 0x20
push eax
call fcn.10057117
add esp, 0x10
cmp byte [ebp - 0x2c], 0x43
jne 0x100145bc
cmp byte [ebp - 0x2b], 0x4f
jne 0x100145bc
cmp byte [ebp - 0x2a], 0x4c
jne 0x100145bc
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
call fcn.10049c71
mov ecx, dword [ebp - 0x28]
mov edi, eax
push ebx
push 1
add ecx, 0xffffffe8
push ecx
push edi
call fcn.10057117
mov al, byte [ebp - 0x29]
add esp, 0x14
cmp al, 0x4c
jne 0x1001456f
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
push edi
call dword [0x1008e210]
add esp, 0xc
jmp 0x100145aa
cmp al, 0x32
jne 0x1001458c
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
push edi
call dword [0x1008e214]
jmp 0x100145a7
cmp al, 0x33
jne 0x100145aa
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
push edi
call dword [0x1008e218]
add esp, 0x10
push edi
call fcn.10049da1
push ebx
call fcn.10056ddf
pop ecx
pop ecx
mov eax, esi
jmp 0x100145da
test esi, esi
je 0x100145d1
mov ecx, esi
call fcn.10007653
push 0xc
push esi
call fcn.10049caa
pop ecx
pop ecx
push ebx
call fcn.10056ddf
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x10025b48
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x10175174]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10146350]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x10025c6e
mov ebp, dword [esp + 0x38]
xor edi, edi
and dword [esp + 0x10], 0
inc edi
and dword [esp + 0x38], 0
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
test ecx, ecx
je 0x10025c64
mov esi, dword [0x1014634c]
xor edx, edx
mov eax, ebx
mov dword [esp + 0x3c], 1
div esi
sub esi, edx
cmp ecx, esi
cmovle esi, ecx
test ebx, ebx
je 0x10025bf1
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10025bf1
cmp dword [esp + 0x28], 0x1000
jne 0x10025bf1
test byte [esp + 0x2c], 0xee
je 0x10025bf1
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x10025bf1
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x10025c18
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10025c10
xor edi, edi
push esi
push edi
push ebp
call fcn.1004c250
jmp 0x10025c24
mov dword [esp + 0x38], 1
push esi
push ebx
push ebp
call fcn.1004bcd0
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10025c50
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10025c50
push ebx
push str.__page_read___could_not_restore_original_permissions_for_ptr__p
call fcn.100490a5
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
add ebp, esi
add ebx, esi
sub ecx, esi
mov dword [esp + 0x40], ecx
jne 0x10025b90
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x10146350
push esi
call fcn.10049ed9
cmp dword [0x10146350], 0xffffffff
pop ecx
jne 0x10025b6f
call fcn.10025c9d
push esi
mov dword [0x1014634c], eax
call fcn.10049e8f
pop ecx
jmp 0x10025b6f

Function at 0x10025c9d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100bb648]
sub esp, 0x24
cmp eax, 0xffffffff
jne 0x10025cbf
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [0x100bb648], eax
leave
ret
Function at 0x10025cc1
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x10175174]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10146348]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x10025dd8
mov ebx, dword [esp + 0x38]
xor edi, edi
and dword [esp + 0x10], 0
inc edi
and dword [esp + 0x38], 0
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x10025dce
mov esi, dword [0x10146344]
xor edx, edx
mov eax, ebx
mov dword [esp + 0x40], 1
div esi
sub esi, edx
cmp ebp, esi
cmovle esi, ebp
test ebx, ebx
je 0x10025d66
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10025d66
cmp dword [esp + 0x28], 0x1000
jne 0x10025d66
test byte [esp + 0x2c], 0xcc
je 0x10025d66
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x10025d66
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x10025d85
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10025d7d
xor edi, edi
jmp 0x10025d97
mov dword [esp + 0x38], 1
push esi
push dword [esp + 0x40]
push ebx
call fcn.1004bcd0
mov edi, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10025dc0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10025dc0
push ebx
push str.__page_write___could_not_restore_original_permissions_for_ptr__p
call fcn.100490a5
pop ecx
pop ecx
add dword [esp + 0x3c], esi
add ebx, esi
sub ebp, esi
jne 0x10025d05
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x10146348
push esi
call fcn.10049ed9
cmp dword [0x10146348], 0xffffffff
pop ecx
jne 0x10025ce8
call fcn.10025c9d
push esi
mov dword [0x10146344], eax
call fcn.10049e8f
pop ecx
jmp 0x10025ce8
Function at 0x10038b30
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
test cl, cl
je 0x10038b6c
cmp byte [edx + 1], 0
jne 0x10038b5c
cmp cl, 0x61
jl 0x10038b51
cmp cl, 0x7a
jg 0x10038b51
movsx eax, cl
sub eax, 0x20
ret
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x10038b5c
movsx eax, cl
ret
cmp cl, 0x26
jne 0x10038b6c
lea eax, [edx + 1]
push eax
call fcn.10038bca
pop ecx
ret
mov eax, dword [0x100be094]
xor ecx, ecx
push ebx
push esi
jmp 0x10038baa
mov esi, edx
mov bl, byte [eax]
cmp bl, byte [esi]
jne 0x10038b99
test bl, bl
je 0x10038b95
mov bl, byte [eax + 1]
cmp bl, byte [esi + 1]
jne 0x10038b99
add eax, 2
add esi, 2
test bl, bl
jne 0x10038b79
xor eax, eax
jmp 0x10038b9e
sbb eax, eax
or eax, 1
test eax, eax
je 0x10038bc1
mov eax, dword [ecx*8 + 0x100be09c]
inc ecx
test eax, eax
jne 0x10038b77
push edx
push str.Unknown_key:__s
call fcn.100490a5
pop ecx
pop ecx
or eax, 0xffffffff
pop esi
pop ebx
ret
mov eax, dword [ecx*8 + 0x100be090]
jmp 0x10038bbe

Function at 0x10039430
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
sub ecx, eax
push 3
pop edx
movss xmm0, dword [ecx + eax]
xorps xmm0, xmmword [0x1006e8c0]
movss dword [eax], xmm0
lea eax, [eax + 4]
sub edx, 1
jne 0x1003943d
ret
Function at 0x1003de67
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1fc
push ebp
push esi
push str.LoadSpriteTexture__
call fcn.10049687
pop ecx
mov ecx, dword [0x1016f58c]
xor ebp, ebp
mov esi, ebp
test ecx, ecx
je 0x1003de8e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x1016f588]
mov edx, 0x100
push ebp
push 0x1016f58c
push 1
push 0x15
push ebp
push 1
push edx
mov dword [0x1016f58c], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x1003debe
push str.Failed_to_create_sprite_texture_
jmp 0x1003df22
push str.doyis.raw
push 0x10174f10
push str._sdoyis_s
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.10012dea
lea eax, [esp + 0x24]
push 0x1006c8a4
push eax
call fcn.10056f1a
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x1003df06
lea eax, [esp + 0x10]
push eax
push str.Failed_to_open__s_
call fcn.100490a5
pop ecx
jmp 0x1003df27
mov eax, dword [0x1016f58c]
lea edx, [esp + 8]
push ebp
push ebp
push edx
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x4c]
test eax, eax
jns 0x1003df4b
push str.Failed_to_lock_texture_
call fcn.100490a5
pop ecx
mov ecx, dword [0x1016f58c]
test ecx, ecx
je 0x1003df3e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x1016f58c], ebp
test esi, esi
je 0x1003dfb5
push esi
call fcn.10056ddf
pop ecx
jmp 0x1003dfb5
push ebx
push edi
mov edi, dword [esp + 0x14]
push 0x78
pop ebx
push esi
push 1
lea eax, [esp + 0x124]
push 0xf0
push eax
call fcn.10057117
add esp, 0x10
lea edx, [edi + 2]
mov cl, byte [esp + ebp + 0x11c]
mov al, cl
shl cl, 5
and al, 0xf8
mov byte [edx + 1], cl
inc ebp
mov byte [edx - 2], al
mov byte [edx - 1], al
mov byte [edx], al
lea edx, [edx + 4]
cmp ebp, 0xf0
jl 0x1003df6f
add edi, dword [esp + 0x10]
push 0
pop ebp
sub ebx, 1
jne 0x1003df54
mov eax, dword [0x1016f58c]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push esi
call fcn.10056ddf
pop ecx
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x1fc
ret
Function at 0x1003f82f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push str.renderObjectTexts__
call fcn.10049687
xor esi, esi
push esi
push 0xffffffffffffffff
call fcn.10025f9b
mov ecx, dword [0x1013a370]
add esp, 0xc
mov ebx, eax
cmp dword [ecx + 0xad94], esi
jne 0x1003f9d4
test ebx, ebx
je 0x1003f9d4
mov ecx, dword [0x10167940]
mov ecx, dword [ecx + 0x3de]
cmp dword [ecx + 0x14], esi
je 0x1003f9d4
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1003f898
cmp dword [0x1014b180], esi
jne 0x1003f9d4
mov eax, dword [0x10167958]
cmp dword [eax], esi
jne 0x1003f9d4
push edi
mov edi, 0x20d4
mov eax, dword [0x10167940]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
cmp dword [edi + eax - 0x20d0], 1
jne 0x1003f9c3
mov eax, dword [edi + eax]
test eax, eax
je 0x1003f9c3
mov eax, dword [eax + 0x40]
test eax, eax
je 0x1003f9c3
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x30
push eax
call fcn.100393be
lea eax, [ebp - 0x10]
push eax
call fcn.100394b4
add esp, 0xc
test eax, eax
jne 0x1003f9c3
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100393ce
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
comiss xmm0, dword [0x10162358]
pop ecx
pop ecx
ja 0x1003f9c3
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0xc]
push eax
movss dword [ebp - 0x18], xmm0
lea eax, [ebp - 0x1c]
movss xmm0, dword [ebp - 8]
push eax
movss dword [ebp - 0x14], xmm0
call fcn.10001905
movss xmm0, dword [0x10069858]
comiss xmm0, dword [ebp - 0x20]
pop ecx
pop ecx
ja 0x1003f9c3
mov eax, dword [0x10167940]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + edi]
mov eax, dword [eax + 0x40]
movzx eax, word [eax + 0x22]
push eax
push esi
push str.Object:__d__ModelID:__d
lea eax, [ebp - 0x48]
push 0x1f
push eax
call fcn.1003d2f5
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
subss xmm0, dword [0x1006f118]
add esp, 0x14
push eax
push 0xffc8c800
push ecx
push ecx
mov ecx, dword [0x1016f6ec]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
call fcn.1003cf15
add edi, 4
inc esi
cmp edi, 0x41a4
jl 0x1003f8ab
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003fb58
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.10049687
mov eax, dword [0x1013a370]
xor ebp, ebp
pop ecx
cmp dword [eax + 0xad94], ebp
jne 0x1003fcff
mov eax, dword [0x10167940]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x1003fcff
push ebx
push ebp
push 0xffffffffffffffff
call fcn.10025f9b
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1003fbb4
cmp dword [0x1014b180], ebp
jne 0x1003fcfe
mov eax, dword [0x10167958]
cmp dword [eax], ebp
jne 0x1003fcfe
test ebx, ebx
je 0x1003fcfe
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x10167940]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x1003fcec
cmp dword [eax + esi + 0xf008], ebp
je 0x1003fcec
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.100393be
lea eax, [esp + 0x1c]
push eax
call fcn.100394b4
add esp, 0xc
test eax, eax
jne 0x1003fcec
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100393ce
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10162350]
pop ecx
pop ecx
ja 0x1003fcec
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x2c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x18]
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x24]
movss xmm0, dword [esp + 0x20]
push eax
movss dword [esp + 0x30], xmm0
call fcn.10001905
movss xmm0, dword [0x10069858]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x1003fcec
mov eax, dword [0x10167940]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
push dword [eax + esi + 0xf004]
lea eax, [esp + 0x3c]
push edi
push str.Pickup:__d__ModelID:__d
push 0x1f
push eax
call fcn.1003d2f5
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x1006f118]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x1016f6ec]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.1003cf15
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x1003fbcf
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret

Function at 0x100416c3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push str.getFPS__
call fcn.10049687
inc dword [0x1016f684]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xf0
cmp eax, dword [0x1016f6fc]
jbe 0x1004175c
mov eax, dword [0x1016f684]
movss xmm2, dword [0x1016f678]
movss xmm3, dword [0x1016f67c]
movss xmm0, dword [0x1016f674]
shl eax, 2
and dword [0x1016f684], 0
movss dword [0x1016f67c], xmm2
addss xmm2, xmm3
movss dword [0x1016f680], xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x1016f678], xmm0
movss dword [0x1016f674], xmm1
addss xmm1, xmm0
addss xmm1, xmm2
mulss xmm1, dword [0x1006f08c]
movss dword [0x1016f670], xmm1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1016f6fc], eax
fld dword [0x1016f670]
ret
Function at 0x10041763
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.mapMenuTeleport__
call fcn.10049687
cmp dword [0x10162368], 0
pop ecx
je 0x1004178a
cmp byte [0xba68a5], 5
jne 0x10041833
cmp dword [0xba6774], 0
je 0x10041833
push dword [0x10162364]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0x10000
je 0x10041833
cmp dword [0x1017512c], 0
je 0x10041833
push esi
push edi
mov esi, 0xba8720
mov edi, 0xaf
mov eax, 0x1203
cmp word [esi + 0x1d], ax
jne 0x10041829
push 0
call fcn.100262fe
movss xmm0, dword [esi]
pop ecx
mov ecx, dword [0x1017512c]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 4]
movss dword [ebp - 8], xmm0
mov eax, dword [ecx]
call dword [eax + 0x38]
movss xmm0, dword [ebp - 8]
push ecx
push ecx
mov edx, dword [eax]
mov ecx, eax
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
call dword [edx + 0x18]
fadd dword [0x1006f0f8]
lea eax, [ebp - 0xc]
push 0
push eax
fstp dword [ebp - 4]
call fcn.1002a87e
pop ecx
pop ecx
add esi, 0x28
sub edi, 1
jne 0x100417c4
pop edi
pop esi
leave
ret
Function at 0x100493d5
Capabilities:
Create process on windows
Get common file path
Schedule task via at

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push edi
push str.init__
call fcn.10049687
cmp dword [0x10174ef8], 0
pop ecx
jne 0x1004957f
push 0xe4
mov edi, 0x10174f10
push edi
push dword [0x10174f08]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ebx, ebx
test eax, eax
je 0x10049431
push 0x5c
push edi
call fcn.1004e210
pop ecx
pop ecx
test eax, eax
je 0x10049431
push 0x5c
push edi
call fcn.1004e210
pop ecx
pop ecx
mov byte [eax], bl
jmp 0x1004943a
push 0x2e
pop eax
mov word [0x10174f10], ax
push esi
push str.doyis_1.0_DEV
push str.Initializing__s
call fcn.100490a5
push 0x789
push str.Nov__4_2021_16:20:51
push str.Compiled:__s_CL:_d
call fcn.100490a5
mov eax, dword [0xc9ac08]
add esp, 0x14
mov dword [0x1017513c], eax
mov ecx, dword [0xc9ac0c]
mov dword [0x10175140], ecx
mov edx, dword [0xc9ac10]
mov dword [0x10175144], edx
mov esi, dword [0xc9ac14]
mov dword [0x10175148], esi
push ecx
push edx
push esi
cmp eax, 2
jne 0x1004949e
push str.OS:_Windows_Version__d._d._d
jmp 0x100494a3
push str.OS:_Not_Windows___d._d._d_
call fcn.100490a5
add esp, 0x10
call fcn.100385e5
pop esi
cmp dword [0x10146910], ebx
jne 0x100494eb
push ebx
push str.Youre_a_retard.
push str.Looks_like_youve_not_edited_the_.ini_file_like_you_were_told_to__n_nBefore_you_can_use_mod_sa__you_have_to_set__i_have_edited_the_ini_fale__to_true._nWe_did_this_so_you_would_read_the_INI_file_to_see_the_configurability_of_mod_sa._n
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
push edi
push str.doyisdoyis.ini
push str.notepad
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
jmp 0x10049582
call fcn.1003a907
push 0xfa
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea eax, [ebp - 0x104]
push 0x1007af50
push eax
call fcn.1002825c
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10174ef8], eax
test eax, eax
jne 0x10049546
lea eax, [ebp - 0x104]
push eax
push str.Failed_to_load__s
call fcn.100490a5
pop ecx
pop ecx
jmp 0x100494e4
push 0x1007af70
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1016f690], eax
test eax, eax
jne 0x1004957f
lea eax, [ebp - 0x104]
push eax
push str._s_does_not_export_Direct3DCreate9__
call fcn.100490a5
pop ecx
pop ecx
push dword [0x10174ef8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100494e4
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret

Function at 0x1005d1dc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005d052
Function at 0x401b80
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e51a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x14
mov dword [edi], 0
push str.nstool::AssetProcess
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00403200
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 1
mov byte [edi + 0x24], 0
movups xmmword [edi + 0x28], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x38]
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], esi
mov ecx, esi
push 0x10
mov dword [esi], 0
push str.NRO_ASSET_HEADER
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00403200
push 1
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 4
push 0
mov dword [ebp - 0x18], ecx
call fcn.0044e760
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
call fcn.0045fb10
lea ecx, [edi + 0x88]
mov byte [ebp - 4], 6
call fcn.00424b30
lea ecx, [edi + 0x410]
mov byte [ebp - 4], 7
call fcn.00433fa0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40bbc0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f1fa
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0xb
mov dword [edi], 0
push str.SIGNED_DATA
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00403200
push 1
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x14], ecx
call fcn.0044e760
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 1
call fcn.004630e0
lea esi, [edi + 0x50]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
mov ecx, esi
push 0xe
mov dword [esi], 0
push str.TICKET_BODY_V2
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00403200
push 1
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
push 0
mov dword [ebp - 0x18], ecx
call fcn.0044e760
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov dword [esi + 0x150], 0
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00463750
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0040be10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fad4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x10], ecx
push 0x44
call fcn.00489209
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0xc]
xorps xmm0, xmm0
lea ecx, [esi + 8]
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_tc::io::VirtualFileSystem_.0
mov dword [esi], vtable.tc::io::VirtualFileSystem.0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
lea eax, [ebx + 8]
push eax
call fcn.00411140
mov dword [esi + 0x30], 0
xorps xmm0, xmm0
mov dword [esi + 0x34], 0
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
movq qword [eax], xmm0
mov dword [eax], esi
mov dword [eax + 4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret