joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012b40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012f1f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x10152164]
call fcn.100548e0
push str.Data__Files__Lua__CharacterSystem__CharacterCreateCape.lua
mov ecx, 0x10152160
call fcn.1003f570
push dword [0x10152164]
call fcn.10012de0
push dword [0x10152164]
call fcn.10040a50
mov ecx, dword [0x10152164]
call fcn.10056e20
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x101421e8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.10007470
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x10152164]
lea ecx, [ebp - 0x4c]
call fcn.10007cd0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100135a0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10012c36
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012c2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012dcc
push ecx
push edx
call fcn.10089371
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0xf
jbe 0x10012c7c
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012c72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012dcc
push ecx
push edx
call fcn.10089371
add esp, 8
push 0x100123a0
push 0x57232e
push 0xe9
call fcn.100863f0
add esp, 0xc
push 0x10012450
push 0x5757d4
push 0xe9
call fcn.100863f0
add esp, 0xc
push 0x100124c0
push 0x574667
push 0xe9
call fcn.100863f0
add esp, 0xc
push 0x10012530
push 0x5750fb
push 0xe9
call fcn.100863f0
add esp, 0xc
push 0x10012610
push 0x5fa844
push 0xe9
call fcn.100863f0
add esp, 0xc
push 0x10012770
push 0x5658b6
push 0xe9
call fcn.100863f0
add esp, 0xc
push 0x10012840
push 0x8362a2
push 0xe9
call fcn.100863f0
add esp, 0xc
push 0x10012890
push 0x83640e
push 0xe9
call fcn.100863f0
add esp, 0xc
push 0x100128e0
push 0x57605b
push 0xe9
call fcn.100863f0
add esp, 0xc
push 0x10012920
push 0x576144
push 0xe9
call fcn.100863f0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
push 0x51ec76
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x51ec76
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 6
push 0x51ec76
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x10012990
push 0x51ec76
push 0xe9
call fcn.100863f0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10089049
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101034dd
int3
Function at 0x1001ba70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012f1f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x101421e8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.10007470
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x10152e40]
lea ecx, [ebp - 0x4c]
call fcn.10007cd0
push 0x1001b990
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000d6f0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1001bb37
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001bb2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc59
push ecx
push edx
call fcn.10089371
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0xf
jbe 0x1001bb84
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001bb7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc59
push ecx
push edx
call fcn.10089371
add esp, 8
push str.Data__Files__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x10152e3c
call fcn.1003f570
push 0x101421c8
push str.StartLoadJewelStack
push 0x10152e3c
call fcn.1003f730
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
push 0x40
push 6
push 0x7dc964
call esi
mov eax, 0x7dc964
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 6
push 0x7dc964
call esi
push 0x1001b840
push 0x7dc964
push 0xe9
call fcn.100863f0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
push 0x7dd634
call esi
mov eax, 0x7dd634
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 6
push 0x7dd634
call esi
push 0x1001b960
push 0x7dd634
push 0xe9
call fcn.100863f0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10089049
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101034dd
int3
Function at 0x1001d690
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 8]
mov byte [0x62ebf8], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 8]
mov byte [0x62ebfe], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee42
call esi
lea eax, [ebp - 8]
mov byte [0x62ee42], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ee42
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee48
call esi
lea eax, [ebp - 8]
mov byte [0x62ee48], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ee48
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eee5
call esi
lea eax, [ebp - 8]
mov byte [0x62eee5], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62eee5
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 8]
mov byte [0x62eeeb], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 8]
mov byte [0x62ebf7], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee41
call esi
lea eax, [ebp - 8]
mov byte [0x62ee41], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62ee41
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eee4
call esi
lea eax, [ebp - 8]
mov byte [0x62eee4], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62eee4
call esi
push 0x1001c9c0
push 0x4dada4
push 0xe8
call fcn.100863f0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 0x83
push 0x47fc85
call esi
push 0x83
push 0x90
push 0x47fc85
call fcn.100ed9a0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x83
push 0x47fc85
call esi
push 0x1001cbe0
push 0x47fc85
push 0xe9
call fcn.100863f0
push 0x1001d660
push 0x520ecf
push 0xe8
call fcn.100863f0
push 0x1001d660
push 0x520f1f
push 0xe8
call fcn.100863f0
push 0x1001d660
push 0x63e743
push 0xe8
call fcn.100863f0
push 0x1001d660
push 0x640eb2
push 0xe8
call fcn.100863f0
push 0x1001d660
push 0x7d2dd9
push 0xe8
call fcn.100863f0
add esp, 0x48
push 0x1001d660
push 0x7e6c0f
push 0xe8
call fcn.100863f0
push 0x1001d660
push 0x84aef7
push 0xe8
call fcn.100863f0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.10089049
mov esp, ebp
pop ebp
ret
Function at 0x1002d170
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002d206
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x1015a734]
mov dword [0x1015a738], eax
test ecx, ecx
je 0x1002d1d2
push ecx
call fcn.10089573
mov eax, dword [0x1015a738]
add esp, 4
mov dword [0x1015a734], 0
push eax
call fcn.10089578
add esp, 4
mov dword [0x1015a734], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [0x1015a738]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x1002d21a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10089049
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, dword [0x1015a738]
cmp ecx, 8
jb 0x1002d206
mov esi, dword [0x1015a734]
mov eax, dword [esi]
cmp eax, dword [0x10142144]
jne 0x1002d206
mov eax, dword [esi + 4]
cmp eax, dword [0x10142148]
jne 0x1002d206
push edi
lea eax, [ecx - 8]
xor edi, edi
test eax, eax
jle 0x1002d2af
mov ecx, 0x10160324
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d260
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
movsx eax, byte [edx + 0x10160324]
and eax, 0xf
movzx eax, byte [eax + 0x10142134]
sub byte [esi + edi + 8], al
mov eax, edi
mov ecx, dword [0x1015a734]
and eax, 0xf
movzx eax, byte [eax + 0x10142134]
xor byte [ecx + edi + 8], al
inc edi
mov eax, dword [0x1015a738]
add eax, 0xfffffff8
cmp edi, eax
jge 0x1002d2af
mov esi, dword [0x1015a734]
jmp 0x1002d252
call fcn.100f7efe
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.Data_t_d
push 0x1015a73c
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10106
push 2
push 0
push 7
push 0x40000000
push 0x1015a73c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x1002d206
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x1015a738]
add eax, 0xfffffff8
push eax
mov eax, dword [0x1015a734]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x1002d33a
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10089049
mov esp, ebp
pop ebp
ret 4
call ebx
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.10089049
mov esp, ebp
pop ebp
ret 4
Function at 0x1003e780
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1003e960
push 0x4d7602
push 0xe8
call fcn.100863f0
push 0x1003ea80
push 0x4d7d13
push 0xe8
call fcn.100863f0
push 0x1003e9e0
push 0x40b1ef
push 0xe8
call fcn.100863f0
push 0x1003ea30
push 0x40b210
push 0xe8
call fcn.100863f0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
add esp, 0x30
push eax
push 0x40
push 5
push 0x40b7a2
call esi
mov eax, 0x40b7a2
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b7a2
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b2e2
call esi
mov eax, 0x40b2e2
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b2e2
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b306
call esi
mov eax, 0x40b306
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b306
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b380
call esi
mov eax, 0x40b380
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b380
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b6a7
call esi
mov eax, 0x40b6a7
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b6a7
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b635
call esi
mov eax, 0x40b635
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b635
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x6311b7
call esi
lea eax, [ebp - 8]
mov dword [0x6311b7], 0x101439b8
push eax
push dword [ebp - 8]
push 4
push 0x6311b7
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x6311d7
call esi
lea eax, [ebp - 8]
mov dword [0x6311d7], 0x101439b8
push eax
push dword [ebp - 8]
push 4
push 0x6311d7
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10089049
mov esp, ebp
pop ebp
ret
Function at 0x100485c0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10048648
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x10048617
push eax
call fcn.10089573
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.10089578
add esp, 4
mov dword [edi + 4], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x1004865c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10089049
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x10048648
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10142160]
jne 0x10048648
mov eax, dword [edx + 4]
cmp eax, dword [0x10142164]
jne 0x10048648
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100486dd
nop dword [eax]
mov ecx, 0x10160324
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10048698
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x10160324]
and eax, 0xf
movzx eax, byte [eax + 0x10142150]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10142150]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x10048690
lea esi, [edi + 0xc]
call fcn.100f7efe
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataItem_vorks_d.lua
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x102
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop ebx
cmp esi, 0xffffffff
je 0x10048648
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [edi + 8]
sub eax, 8
push eax
mov eax, dword [edi + 4]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
jne 0x10048764
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10089049
mov esp, ebp
pop ebp
ret 4
call eax
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10089049
mov esp, ebp
pop ebp
ret 4
Function at 0x1005f530
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1031e420], 0
jne 0x1005f730
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d1e33
mov byte [0x1031e420], 1
call esi
lea eax, [ebp - 8]
mov byte [0x4d1e33], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x4d1e33
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d1e69
call esi
lea eax, [ebp - 8]
mov byte [0x4d1e69], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x4d1e69
call esi
push 0x1005f510
push 0x4d2103
push 0xe8
call fcn.100863f0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4cfa8f
call esi
lea eax, [ebp - 8]
mov dword [0x4cfa8f], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x4cfa8f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x60d985
call esi
lea eax, [ebp - 8]
mov dword [0x60d985], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x60d985
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x60f356
call esi
lea eax, [ebp - 8]
mov dword [0x60f356], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x60f356
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x6103ee
call esi
mov dword [0x6103ee], 0x2ac7
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push 0x6103ee
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969c60
call esi
lea eax, [ebp - 8]
mov dword [0x969c60], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x969c60
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969b3f
call esi
lea eax, [ebp - 8]
mov dword [0x969b3f], 0x2f8220
push eax
push dword [ebp - 8]
push 4
push 0x969b3f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969b60
call esi
lea eax, [ebp - 8]
mov dword [0x969b60], 0x2ec7
push eax
push dword [ebp - 8]
push 4
push 0x969b60
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969b6f
call esi
lea eax, [ebp - 8]
mov dword [0x969b6f], 0x2ec7
push eax
push dword [ebp - 8]
push 4
push 0x969b6f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969bad
call esi
lea eax, [ebp - 8]
mov dword [0x969bad], 0x2f821c
push eax
push dword [ebp - 8]
push 4
push 0x969bad
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10089049
mov esp, ebp
pop ebp
ret
Function at 0x1005f750
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1005f7e6
push ebx
push esi
call fcn.1005f530
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push ebx
push 0x100349c0
push 2
call esi
mov dword [0x1015a874], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x10034b80
push 7
call esi
push 0x10034950
push 0x4d0e2f
push 0xe8
mov dword [0x1015a878], eax
mov dword [0x1015a870], ebx
call fcn.100863f0
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0xc
mov dword [0x10164228], ebx
push 0
push 0
push 0
push 0x1005c370
push 0
push 0
call esi
push 0
push 0
push 0
push 0x1005c3b0
push 0
push 0
call esi
pop esi
pop ebx
mov eax, 1
pop ebp
ret 0xc
Function at 0x10068100
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0xe8c588]
push ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
test eax, eax
je 0x10068125
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x10068131
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x1006813d
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x10068149
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x81c0380
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov dword [0x81c0380], esi
push dword [ebp - 8]
push 4
push 0x81c0380
call edi
cmp dword [0x101520bc], 0xf
lea ebx, [esi - 1]
mov ecx, 0x101520a8
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
cmova ecx, dword [0x101520a8]
mov edi, 0x190
cmp dword [0x1015209c], 1
mov eax, 0x2bc
push ecx
push 0
push 3
push 0
push 0
push dword [0x101520a4]
mov edx, edi
push 0
push 0
push 0
cmove edx, eax
mov eax, dword [0x101520a0]
push edx
push 0
push 0
add eax, ebx
push 0
push eax
call esi
mov dword [0xe8c588], eax
mov ecx, 0x101520cc
cmp dword [0x101520e0], 0xf
mov eax, 0x2bc
mov edx, edi
cmova ecx, dword [0x101520cc]
cmp dword [0x101520c0], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101520c8]
cmove edx, eax
mov eax, dword [0x101520c4]
push 0
push 0
push 0
push edx
push 0
push 0
add eax, ebx
push 0
push eax
call esi
mov dword [0xe8c58c], eax
mov ecx, 0x101520f0
cmp dword [0x10152104], 0xf
mov eax, 0x2bc
mov edx, edi
cmova ecx, dword [0x101520f0]
cmp dword [0x101520e4], 1
push ecx
cmove edx, eax
mov eax, dword [0x101520e8]
push 0
push 3
push 0
lea eax, [eax + ebx*2]
push 0
push dword [0x101520ec]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call esi
mov dword [0xe8c590], eax
mov ecx, 0x10152114
cmp dword [0x10152128], 0xf
mov eax, 0x2bc
cmova ecx, dword [0x10152114]
cmp dword [0x10152108], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x10152110]
cmove edi, eax
mov eax, dword [0x1015210c]
push 0
push 0
push 0
push edi
push 0
push 0
add eax, 0xc
push 0
push eax
call esi
push str.Arial
push 0
push 3
push 0
push 0
push 0xa0
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [0xe8c594], eax
lea eax, [ebx - 2]
push 0
push eax
call esi
mov esi, eax
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
mov ecx, 0x1031dfac
push eax
call fcn.100265d0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.10089049
mov esp, ebp
pop ebp
ret 8
Function at 0x100738f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10073937
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10089049
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x18]
push 0
push eax
push 6
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, 0x1112
cmp word [ebp - 0x20], ax
jne 0x10073a50
cmp dword [ebp - 0x1e], 0x36
jne 0x10073a50
cmp byte [ebp + 0x10], 0
mov eax, 0x1016100c
push esi
push 0
mov esi, 0x1016103c
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x1016106c]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x10161070]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x10161074]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x10161078]
push 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x1016106c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x10161070]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x10161074]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x10161078]
push 0
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x1016106c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x10161070]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x10161074]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x10161078]
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10089049
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
xor ecx, ebp
pop edi
call fcn.10089049
mov esp, ebp
pop ebp
ret 0xc