joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000424d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x1000429a
cmp byte [esi + 0x3d], bl
je 0x1000429a
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100042c9
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x100042a1
sub eax, 1
je 0x100042a4
dec eax
sub eax, 1
jne 0x100042c9
mov byte [esi + 0x3d], bl
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100042c1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10064107
add esp, 0x10
cmp edi, eax
jne 0x100042c9
cmp byte [esi + 0x3d], bl
sete al
jmp 0x1000429c
xor al, al
jmp 0x1000429c

Function at 0x100062d6
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x100062f0
xor eax, eax
jmp 0x100063c0
mov eax, dword [esi + 0x20]
push ebp
mov ecx, dword [eax]
test ecx, ecx
je 0x1000631e
mov edx, dword [esi + 0x30]
mov ebp, dword [edx]
lea eax, [ecx + ebp]
cmp ecx, eax
jae 0x1000631e
lea ecx, [ebp - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x100063bf
cmp dword [esi + 0x4c], 0
je 0x100063bd
mov ecx, esi
call fcn.100047c4
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x1000634a
push dword [esi + 0x4c]
push eax
call fcn.10001db6
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x100063bd
mov byte [esp + 0x10], al
lea eax, [esp + 0x3c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x1000638e
sub eax, 1
je 0x1000638e
dec eax
sub eax, 1
jne 0x100063bd
push dword [esi + 0x4c]
push dword [esp + 0x14]
jmp 0x1000633c
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x18]
sub ebp, eax
je 0x100063ad
push dword [esi + 0x4c]
push ebp
push 1
push eax
call fcn.10064107
add esp, 0x10
cmp ebp, eax
jne 0x100063bd
lea eax, [esp + 0x10]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
mov eax, ebx
jne 0x100063bf
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x10007d02
Capabilities:
Read file on windows

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x14]
test esi, esi
jg 0x10007d22
jl 0x10007d19
test edi, edi
jne 0x10007d22
xor eax, eax
xor edx, edx
jmp 0x10007de9
cmp dword [ebp + 0x38], 0
je 0x10007d38
push esi
push edi
push dword [esp + 0x18]
call fcn.10007df3
jmp 0x10007de9
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10007d7c
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x10007d7c
cmp dword [eax], edi
mov esi, edi
mov ebx, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push ebx
call fcn.1005ef60
mov eax, dword [ebp + 0x2c]
add ebx, esi
mov dword [esp + 0x20], ebx
add esp, 0xc
mov ebx, edi
sub ebx, esi
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x10007d84
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
mov ecx, ebx
je 0x10007ddf
mov ecx, ebp
call fcn.100047c4
mov edx, dword [esp + 0x14]
mov ecx, ebx
jmp 0x10007dbf
push dword [ebp + 0x4c]
push eax
push 1
push edx
call fcn.10063a80
mov edx, dword [esp + 0x24]
sub ebx, eax
add edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
mov ecx, ebx
cmp eax, 0xfff
jne 0x10007def
mov eax, 0xfff
cmp ebx, eax
ja 0x10007d9b
test ecx, ecx
je 0x10007ddf
push dword [ebp + 0x4c]
push ebx
push 1
push edx
call fcn.10063a80
mov ecx, ebx
add esp, 0x10
sub ecx, eax
sub edi, ecx
sbb esi, 0
mov eax, edi
mov edx, esi
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
sub edi, ebx
jmp 0x10007de1

Function at 0x10007ec7
Capabilities:
Write file on windows

Disassembly:
push ecx
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10007ee8
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.10007f9d
jmp 0x10007f97
mov eax, dword [ebx + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0xc], esi
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x10007f0b
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10007f0d
xor eax, eax
cdq
mov ebp, eax
mov eax, edx
mov dword [esp + 0x20], eax
test edi, edi
jl 0x10007f88
jg 0x10007f20
test esi, esi
je 0x10007f88
test eax, eax
jl 0x10007f6a
jg 0x10007f2a
test ebp, ebp
je 0x10007f6a
cmp edi, eax
jg 0x10007f3a
jl 0x10007f34
cmp esi, ebp
jae 0x10007f3a
mov ebp, esi
mov dword [esp + 0x20], edi
push ebp
push dword [esp + 0x20]
push ecx
call fcn.1005ef60
mov eax, dword [ebx + 0x30]
add esp, 0xc
sub esi, ebp
sbb edi, dword [esp + 0x20]
sub dword [eax], ebp
mov eax, dword [ebx + 0x20]
add dword [eax], ebp
mov eax, dword [esp + 0x1c]
add eax, ebp
test edi, edi
jl 0x10007f88
jg 0x10007f6e
test esi, esi
je 0x10007f88
jmp 0x10007f6e
mov eax, dword [esp + 0x1c]
cmp dword [ebx + 0x4c], 0
je 0x10007f88
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.10064107
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0xc
Function at 0x10008942
Capabilities:
Check for time delay via gettickcount

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xc8
cmp dword [0x101228c0], eax
jae 0x10008960
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101228c0], eax
ret
Function at 0x1001129a
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1007fd36
call fcn.1005cf54
sub esp, 0x38
push ebx
push esi
push edi
mov eax, 0x40e4e0
mov esi, ecx
call eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
movzx eax, ax
xor ebx, ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.10010990
pop ecx
mov dword [ebp - 0x24], eax
mov eax, ebx
mov dword [ebp - 4], ebx
mov edi, 0xb7d0b8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
mov ebx, dword [edi]
test ebx, ebx
je 0x1001139a
mov edi, dword [ebp - 0x10]
mov esi, dword [ebx]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
cmp dword [eax + 0x20], 0x534030
je 0x10011346
mov eax, edi
mov dword [ebp - 0x1c], 0x78
cdq
sub eax, edx
sar eax, 1
cdq
idiv dword [ebp - 0x1c]
push eax
movzx eax, word [esi + 0x22]
push edx
push eax
push esi
lea eax, [ebp - 0x44]
push str.Entity_0x_08x__with_model__d__at_ARRAY_StreamSectors__d__d__is_invalid_n
push eax
call fcn.10010b96
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x10011335
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x44]
call fcn.100048b6
jmp 0x10011387
mov ecx, dword [0x101228d4]
movzx eax, word [esi + 0x22]
push eax
mov edx, dword [ecx]
call dword [edx + 0xa4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
cmp ax, word [ebp - 0x18]
jne 0x10011387
test dword [esi + 0x1c], 0x2400
jne 0x10011387
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [esi + 0x22]
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100109a7
mov eax, dword [ebx + 4]
mov ebx, eax
test eax, eax
jne 0x100112f2
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add edi, 4
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
cmp edi, 0xb992b8
jl 0x100112e5
mov edi, 0xb992c0
mov dword [ebp - 0x14], edi
mov esi, dword [edi]
test esi, esi
je 0x10011410
mov edi, dword [ebp - 0x18]
mov ebx, dword [esi]
mov ecx, dword [0x101228d4]
mov dword [ebp - 0x1c], ebx
movzx eax, word [ebx + 0x22]
mov edx, dword [ecx]
push eax
call dword [edx + 0xa4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
cmp ax, di
jne 0x10011406
test dword [ebx + 0x1c], 0x2400
jne 0x10011406
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [ebx + 0x22]
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100109a7
mov esi, dword [esi + 4]
test esi, esi
jne 0x100113c1
mov edi, dword [ebp - 0x14]
add edi, 0xc
mov dword [ebp - 0x14], edi
cmp edi, 0xb99ec0
jl 0x100113b8
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, eax
je 0x10011455
movzx eax, word [esi + 0xe]
push eax
mov eax, 0x4089a0
call eax
movzx eax, word [esi + 0xe]
imul eax, eax, 0x14
pop ecx
lea ecx, [ebp - 0x18]
mov byte [eax + 0x8e4cd0], 0
call fcn.1000efdf
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x24]
jne 0x1001142a
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.10010a39
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x10019237
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1007f9ce
call fcn.1005cf54
sub esp, 0x20
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x1001936d
push 0x10086e84
push dword [ebp + 8]
call fcn.10069b16
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x1001936d
push 0xc
call fcn.1005cd06
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10019288
mov ecx, eax
call fcn.1000c442
mov esi, eax
jmp 0x1001928a
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.10063a80
add esp, 0x10
cmp byte [ebp - 0x2c], 0x43
jne 0x10019351
cmp byte [ebp - 0x2b], 0x4f
jne 0x10019351
cmp byte [ebp - 0x2a], 0x4c
jne 0x10019351
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
call fcn.1005ccf8
mov ecx, dword [ebp - 0x28]
mov edi, eax
push ebx
push 1
add ecx, 0xffffffe8
push ecx
push edi
call fcn.10063a80
mov al, byte [ebp - 0x29]
add esp, 0x14
cmp al, 0x4c
jne 0x10019304
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
push edi
call dword [0x100b017c]
add esp, 0xc
jmp 0x1001933f
cmp al, 0x32
jne 0x10019321
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 [0x100b0180]
jmp 0x1001933c
cmp al, 0x33
jne 0x1001933f
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 [0x100b0184]
add esp, 0x10
push edi
call fcn.1005cd44
push ebx
call fcn.100631f1
pop ecx
pop ecx
mov eax, esi
jmp 0x1001936f
test esi, esi
je 0x10019366
mov ecx, esi
call fcn.1000c474
push 0xc
push esi
call fcn.1005cd36
pop ecx
pop ecx
push ebx
call fcn.100631f1
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 0x1002a9ad
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1019ac40]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1016ab70]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x1002aad3
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 0x1002aac9
mov esi, dword [0x1016ab6c]
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 0x1002aa56
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 0x1002aa56
cmp dword [esp + 0x28], 0x1000
jne 0x1002aa56
test byte [esp + 0x2c], 0xee
je 0x1002aa56
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x1002aa56
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x1002aa7d
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002aa75
xor edi, edi
push esi
push edi
push ebp
call fcn.1005f4e0
jmp 0x1002aa89
mov dword [esp + 0x38], 1
push esi
push ebx
push ebp
call fcn.1005ef60
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x1002aab5
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 0x1002aab5
push ebx
push str.__page_read___could_not_restore_original_permissions_for_ptr__p
call fcn.1005b49d
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
add ebp, esi
add ebx, esi
sub ecx, esi
mov dword [esp + 0x40], ecx
jne 0x1002a9f5
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x1016ab70
push esi
call fcn.1005ce7c
cmp dword [0x1016ab70], 0xffffffff
pop ecx
jne 0x1002a9d4
call fcn.1002ab02
push esi
mov dword [0x1016ab6c], eax
call fcn.1005ce32
pop ecx
jmp 0x1002a9d4

Function at 0x1002ab02
Capabilities:
Get system information on windows

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

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1019ac40]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1016ab68]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x1002ac3d
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 0x1002ac33
mov esi, dword [0x1016ab64]
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 0x1002abcb
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 0x1002abcb
cmp dword [esp + 0x28], 0x1000
jne 0x1002abcb
test byte [esp + 0x2c], 0xcc
je 0x1002abcb
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x1002abcb
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x1002abea
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002abe2
xor edi, edi
jmp 0x1002abfc
mov dword [esp + 0x38], 1
push esi
push dword [esp + 0x40]
push ebx
call fcn.1005ef60
mov edi, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x1002ac25
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 0x1002ac25
push ebx
push str.__page_write___could_not_restore_original_permissions_for_ptr__p
call fcn.1005b49d
pop ecx
pop ecx
add dword [esp + 0x3c], esi
add ebx, esi
sub ebp, esi
jne 0x1002ab6a
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x1016ab68
push esi
call fcn.1005ce7c
cmp dword [0x1016ab68], 0xffffffff
pop ecx
jne 0x1002ab4d
call fcn.1002ab02
push esi
mov dword [0x1016ab64], eax
call fcn.1005ce32
pop ecx
jmp 0x1002ab4d
Function at 0x1003eef2
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
test cl, cl
je 0x1003ef2e
cmp byte [edx + 1], 0
jne 0x1003ef1e
cmp cl, 0x61
jl 0x1003ef13
cmp cl, 0x7a
jg 0x1003ef13
movsx eax, cl
sub eax, 0x20
ret
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x1003ef1e
movsx eax, cl
ret
cmp cl, 0x26
jne 0x1003ef2e
lea eax, [edx + 1]
push eax
call fcn.1003ef8c
pop ecx
ret
mov eax, dword [0x100e00bc]
xor ecx, ecx
push ebx
push esi
jmp 0x1003ef6c
mov esi, edx
mov bl, byte [eax]
cmp bl, byte [esi]
jne 0x1003ef5b
test bl, bl
je 0x1003ef57
mov bl, byte [eax + 1]
cmp bl, byte [esi + 1]
jne 0x1003ef5b
add eax, 2
add esi, 2
test bl, bl
jne 0x1003ef3b
xor eax, eax
jmp 0x1003ef60
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003ef83
mov eax, dword [ecx*8 + 0x100e00c4]
inc ecx
test eax, eax
jne 0x1003ef39
push edx
push str.Unknown_key:__s
call fcn.1005b49d
pop ecx
pop ecx
or eax, 0xffffffff
pop esi
pop ebx
ret
mov eax, dword [ecx*8 + 0x100e00b8]
jmp 0x1003ef80

Function at 0x1003f82a
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 [0x10088ea0]
movss dword [eax], xmm0
lea eax, [eax + 4]
sub edx, 1
jne 0x1003f837
ret
Function at 0x10044a34
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1fc
push ebp
push esi
push str.LoadSpriteTexture__
call fcn.1005ba7f
pop ecx
mov ecx, dword [0x10194dbc]
xor ebp, ebp
mov esi, ebp
test ecx, ecx
je 0x10044a5b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x10194efc]
mov edx, 0x100
push ebp
push 0x10194dbc
push 1
push 0x15
push ebp
push 1
push edx
mov dword [0x10194dbc], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x10044ab9
push str.Failed_to_create_sprite_texture_
call fcn.1005b49d
pop ecx
mov ecx, dword [0x10194dbc]
test ecx, ecx
je 0x10044aa5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x10194dbc], ebp
test esi, esi
je 0x10044ab0
push esi
call fcn.100631f1
pop ecx
pop esi
pop ebp
add esp, 0x1fc
ret
push str.erosqwe.raw
push 0x1019a788
push str._serosqwe_s
lea eax, [esp + 0x10c]
push 0x104
push eax
call fcn.10008074
lea eax, [esp + 0x114]
push 0x10086e84
push eax
call fcn.10069b16
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x10044a8f
mov ecx, dword [0x10194dbc]
lea eax, [esp + 8]
push ebp
push ebp
push eax
mov edx, dword [ecx]
push ebp
push ecx
call dword [edx + 0x4c]
test eax, eax
jns 0x10044b17
push str.Failed_to_lock_texture_
jmp 0x10044a89
push ebx
push edi
mov edi, dword [esp + 0x14]
push 0x78
pop ebx
push esi
push 1
lea eax, [esp + 0x20]
push 0xf0
push eax
call fcn.10063a80
add esp, 0x10
lea edx, [edi + 2]
mov cl, byte [esp + ebp + 0x18]
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 0x10044b38
add edi, dword [esp + 0x10]
push 0
pop ebp
sub ebx, 1
jne 0x10044b20
mov eax, dword [0x10194dbc]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push esi
call fcn.100631f1
pop ecx
pop edi
pop ebx
jmp 0x10044ab0
Function at 0x10046471
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push str.renderObjectTexts__
call fcn.1005ba7f
xor esi, esi
push esi
push 0xffffffffffffffff
call fcn.1002ae00
mov ecx, dword [0x1015c888]
add esp, 0xc
mov ebx, eax
cmp dword [ecx + 0xd0a0], esi
jne 0x10046616
test ebx, ebx
je 0x10046616
mov ecx, dword [0x1018d148]
mov ecx, dword [ecx + 0x3de]
cmp dword [ecx + 0x14], esi
je 0x10046616
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100464da
cmp dword [0x101709a0], esi
jne 0x10046616
mov eax, dword [0x1018d160]
cmp dword [eax], esi
jne 0x10046616
push edi
mov edi, 0x20d4
mov eax, dword [0x1018d148]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
cmp dword [edi + eax - 0x20d0], 1
jne 0x10046605
mov eax, dword [edi + eax]
test eax, eax
je 0x10046605
mov eax, dword [eax + 0x40]
test eax, eax
je 0x10046605
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x30
push eax
call fcn.1003f7b8
lea eax, [ebp - 0x10]
push eax
call fcn.1003f8ae
add esp, 0xc
test eax, eax
jne 0x10046605
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003f7c8
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
comiss xmm0, dword [0x10187b79]
pop ecx
pop ecx
ja 0x10046605
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.100030b8
movss xmm0, dword [0x100831ac]
comiss xmm0, dword [ebp - 0x20]
pop ecx
pop ecx
ja 0x10046605
mov eax, dword [0x1018d148]
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.1004334f
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
subss xmm0, dword [0x100896e8]
add esp, 0x14
push eax
push 0xffc8c800
push ecx
push ecx
mov ecx, dword [0x10194f24]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
call fcn.10042f7a
add edi, 4
inc esi
cmp edi, 0x41a4
jl 0x100464ed
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1004679a
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.1005ba7f
mov eax, dword [0x1015c888]
xor ebp, ebp
pop ecx
cmp dword [eax + 0xd0a0], ebp
jne 0x10046941
mov eax, dword [0x1018d148]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x10046941
push ebx
push ebp
push 0xffffffffffffffff
call fcn.1002ae00
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100467f6
cmp dword [0x101709a0], ebp
jne 0x10046940
mov eax, dword [0x1018d160]
cmp dword [eax], ebp
jne 0x10046940
test ebx, ebx
je 0x10046940
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x1018d148]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x1004692e
cmp dword [eax + esi + 0xf008], ebp
je 0x1004692e
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.1003f7b8
lea eax, [esp + 0x1c]
push eax
call fcn.1003f8ae
add esp, 0xc
test eax, eax
jne 0x1004692e
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003f7c8
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10187b71]
pop ecx
pop ecx
ja 0x1004692e
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.100030b8
movss xmm0, dword [0x100831ac]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x1004692e
mov eax, dword [0x1018d148]
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.1004334f
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x100896e8]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x10194f24]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.10042f7a
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x10046811
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret