joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008670
Capabilities:
Extract resource via kernel32 functions
Read file on windows
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x1011205c
mov esi, eax
push 0x65
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.100977e4
mov ebp, eax
mov eax, dword [esp + 0x14]
push esi
push eax
push ebp
call fcn.1009b070
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x101118c8
push str..XNovaXNova1.acv
call fcn.10098d1e
mov esi, eax
add esp, 8
xor edi, edi
test esi, esi
je 0x1000871f
push 2
push edi
push esi
call fcn.10099fe0
push esi
call fcn.10099e9a
push 0
push 0
push esi
mov edi, eax
call fcn.10099fe0
push edi
call fcn.100977e4
push esi
push 1
push edi
push eax
mov dword [0x1017c04c], eax
call fcn.1009914e
push esi
mov dword [0x101552c4], edi
call fcn.1009a1b8
add esp, 0x34
jmp 0x1000873f
push 0
push 0
push str.ACV_ERROR
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
xor eax, eax
test edi, edi
jle 0x10008768
mov esi, dword [0x1017c04c]
lea ecx, [ecx]
cmp ecx, 4
jne 0x1000875c
mov ecx, 1
jmp 0x1000875d
inc ecx
mov dl, byte [ecx + ebp]
sub byte [esi + eax], dl
inc eax
cmp eax, edi
jl 0x10008750
push ebp
call fcn.1009768d
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10008e50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
xor eax, eax
push ebx
xor ebx, ebx
push esi
push edi
mov dword [0x102277c8], eax
mov word [0x102277cc], ax
mov dword [0x102278d0], eax
mov dword [0x102278d4], eax
mov dword [0x102278d8], eax
mov dword [0x102278dc], eax
mov dword [0x102278e0], eax
mov dword [0x102278e4], eax
mov dword [0x102278e8], eax
mov dword [0x102278ec], eax
mov dword [0x102278f0], eax
mov dword [0x102278f4], eax
mov dword [0x102278f8], eax
mov dword [0x102278fc], eax
mov dword [0x10227840], eax
mov dword [0x10227844], eax
mov dword [0x10227848], eax
mov dword [0x1022784c], eax
mov dword [0x10227850], eax
mov dword [0x10227854], eax
mov dword [0x10227858], eax
mov dword [0x1022785c], eax
mov dword [0x10227860], eax
mov dword [0x10227864], eax
mov dword [0x10227868], eax
mov dword [0x1022786c], eax
mov dword [0x10227870], eax
mov dword [0x10227874], eax
mov dword [0x10227878], eax
mov dword [0x1022787c], eax
mov dword [0x10227880], eax
mov dword [0x10227884], eax
mov dword [0x10227888], eax
mov dword [0x1022788c], eax
mov dword [0x10227890], eax
mov dword [0x10227894], eax
mov dword [0x10227898], eax
mov dword [0x1022789c], eax
mov dword [0x102278a0], eax
mov dword [0x102278a4], eax
mov dword [0x102278a8], eax
mov dword [0x102278ac], eax
mov dword [0x102278b0], eax
mov dword [0x102278b4], eax
mov dword [0x102278b8], eax
mov dword [0x102278bc], eax
mov dword [0x102278c0], eax
mov dword [0x102278c4], eax
mov dword [0x102278c8], eax
mov dword [0x102278cc], eax
mov byte [0x10139236], bl
mov byte [0x102276fd], bl
mov dword [0x1022777c], ebx
mov dword [0x10227768], ebx
mov dword [0x1022776c], ebx
mov dword [0x10227770], ebx
mov dword [0x10227778], ebx
mov dword [0x10227788], ebx
mov dword [0x1017d21c], ebx
mov byte [0x10227753], bl
call fcn.1000adc0
call fcn.1000a380
call fcn.10006400
mov eax, dword [0x10227d54]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0xc]
push ecx
push 0x40
push 6
push eax
mov dword [0x1020ea74], ebx
mov esi, eax
call edi
test eax, eax
je 0x10008fe2
mov edx, dword [str.normal]
mov dword [esi], edx
mov edx, dword [esp + 0xc]
mov ax, word [0x10111cf4]
lea ecx, [esp + 0xc]
push ecx
push edx
push 6
push esi
mov word [esi + 4], ax
call edi
pop edi
pop esi
mov dword [0x102277c0], ebx
mov dword [0x1020ea74], ebx
mov dword [0x10133e64], ebx
mov dword [0x1017d614], ebx
mov dword [0x10216a94], ebx
mov dword [0x10133dfc], ebx
mov dword [0x10210a5c], ebx
mov dword [0x1021ede4], ebx
mov dword [0x10201ac0], ebx
pop ebx
pop ecx
ret
Function at 0x1000adc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x1012c310]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
push edi
mov edi, dword [0x10227c20]
mov dword [0x1017d21c], eax
mov dword [0x10227780], eax
mov dword [0x10227784], eax
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x10
mov ebx, edi
push ebx
call esi
mov ecx, dword [0x1012d668]
mov dword [edi], ecx
mov edx, dword [0x1012d66c]
mov dword [edi + 4], edx
mov eax, dword [0x1012d670]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [0x1012d674]
lea edx, [esp + 0x14]
push edx
push eax
push 0x10
push ebx
mov dword [edi + 0xc], ecx
call esi
mov edi, dword [0x10227a4c]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 6
mov ebx, edi
push ebx
mov byte [esp + 0x28], 0xc2
mov byte [esp + 0x29], 0xf9
mov byte [esp + 0x2a], 0xbd
mov byte [esp + 0x2b], 0xba
mov byte [esp + 0x2c], 0xb9
mov byte [esp + 0x2d], 0xf6
call esi
mov edx, dword [esp + 0x18]
mov ax, word [esp + 0x1c]
mov dword [edi], edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 6
push ebx
mov word [edi + 4], ax
call esi
mov edi, dword [0x10227ce4]
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push edi
mov bl, 0x41
mov ebp, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 1
push edi
mov byte [ebp], bl
call esi
mov edi, dword [0x10227c24]
lea eax, [esp + 0x10]
push eax
push 0x40
mov bl, 0xb3
mov ebp, edi
push 1
push edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 1
push edi
mov byte [ebp], bl
call esi
mov edi, dword [0x10227a58]
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push edi
mov ebp, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 1
push edi
mov byte [ebp], bl
call esi
mov edi, dword [0x10227c54]
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push edi
mov ebp, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 1
push edi
mov byte [ebp], bl
call esi
mov edi, dword [0x10227a94]
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push edi
mov ebp, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 1
push edi
mov byte [ebp], bl
call esi
mov edi, dword [0x10227a48]
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push edi
mov ebp, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 1
push edi
mov byte [ebp], bl
call esi
mov edi, dword [0x10227d0c]
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
mov ebp, edi
push edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 1
push edi
mov byte [ebp], bl
call esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10096904
add esp, 0x14
ret
Function at 0x1000eff0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x10227900]
cmp eax, 0x64
jg 0x1000f004
call fcn.1000f560
mov eax, dword [0x10227900]
cmp eax, 0x320
jl 0x1000f01c
cmp eax, 0x4b0
jge 0x1000f023
call fcn.1000f3d0
mov eax, dword [0x10227900]
cmp eax, 0x4b0
jl 0x1000f034
cmp eax, 0x640
jge 0x1000f03b
call fcn.1000f490
mov eax, dword [0x10227900]
cmp eax, 0x640
jl 0x1000f04c
cmp eax, 0x898
jge 0x1000f053
call fcn.1000f300
mov eax, dword [0x10227900]
cmp eax, 0x898
jl 0x1000f064
cmp eax, 0xa28
jge 0x1000f06b
call fcn.1000f230
mov eax, dword [0x10227900]
cmp eax, 0xa28
jl 0x1000f07c
cmp eax, 0xbb8
jge 0x1000f083
call fcn.1000f160
mov eax, dword [0x10227900]
cmp eax, 0xbb8
jl 0x1000f088
jmp 0x1000f090
ret
mov eax, dword [0x1022777c]
sub esp, 8
push ebx
push ebp
add eax, 0x29b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x10227760], eax
mov ebp, eax
test eax, eax
jle 0x1000f0d7
mov edi, dword [0x10227c20]
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push edi
mov ebx, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push edi
mov dword [ebx], ebp
call esi
mov edi, dword [0x10227a34]
lea eax, [esp + 0x10]
push eax
push 0x40
push 9
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.text3000]
mov dword [edi], ecx
mov edx, dword [0x101123b8]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov al, byte [0x101123bc]
lea ecx, [esp + 0x14]
push ecx
push edx
push 9
push ebx
mov byte [edi + 8], al
call esi
mov edi, dword [0x10227bb0]
lea eax, [esp + 0x10]
push eax
push 0x40
push 0xa
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.space3000]
mov dword [edi], ecx
mov edx, dword [0x101123c4]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov ax, word [0x101123c8]
lea ecx, [esp + 0x14]
push ecx
push edx
push 0xa
push ebx
mov word [edi + 8], ax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1000f160
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1022777c]
sub esp, 8
push ebx
push ebp
add eax, 0x216
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x10227764], eax
mov ebp, eax
test eax, eax
jle 0x1000f1a7
mov edi, dword [0x10227c20]
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push edi
mov ebx, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push edi
mov dword [ebx], ebp
call esi
mov edi, dword [0x10227a34]
lea eax, [esp + 0x10]
push eax
push 0x40
push 9
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.text2600]
mov dword [edi], ecx
mov edx, dword [0x101123d0]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov al, byte [0x101123d4]
lea ecx, [esp + 0x14]
push ecx
push edx
push 9
push ebx
mov byte [edi + 8], al
call esi
mov edi, dword [0x10227bb0]
lea eax, [esp + 0x10]
push eax
push 0x40
push 0xa
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.space2600]
mov dword [edi], ecx
mov edx, dword [0x101123dc]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov ax, word [0x101123e0]
lea ecx, [esp + 0x14]
push ecx
push edx
push 0xa
push ebx
mov word [edi + 8], ax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x1000f230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1022777c]
sub esp, 8
push ebx
push ebp
add eax, 0x190
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x10227768], eax
mov ebp, eax
test eax, eax
jle 0x1000f277
mov edi, dword [0x10227c20]
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push edi
mov ebx, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push edi
mov dword [ebx], ebp
call esi
mov edi, dword [0x10227a34]
lea eax, [esp + 0x10]
push eax
push 0x40
push 9
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.text2200]
mov dword [edi], ecx
mov edx, dword [0x101123e8]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov al, byte [0x101123ec]
lea ecx, [esp + 0x14]
push ecx
push edx
push 9
push ebx
mov byte [edi + 8], al
call esi
mov edi, dword [0x10227bb0]
lea eax, [esp + 0x10]
push eax
push 0x40
push 0xa
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.space2200]
mov dword [edi], ecx
mov edx, dword [0x101123f4]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov ax, word [0x101123f8]
lea ecx, [esp + 0x14]
push ecx
push edx
push 0xa
push ebx
mov word [edi + 8], ax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1000f300
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1022777c]
sub esp, 8
push ebx
push ebp
add eax, 0x12c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x1022776c], eax
mov ebp, eax
test eax, eax
jle 0x1000f347
mov edi, dword [0x10227c20]
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push edi
mov ebx, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push edi
mov dword [ebx], ebp
call esi
mov edi, dword [0x10227a34]
lea eax, [esp + 0x10]
push eax
push 0x40
push 9
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.text1600]
mov dword [edi], ecx
mov edx, dword [0x10112400]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov al, byte [0x10112404]
lea ecx, [esp + 0x14]
push ecx
push edx
push 9
push ebx
mov byte [edi + 8], al
call esi
mov edi, dword [0x10227bb0]
lea eax, [esp + 0x10]
push eax
push 0x40
push 0xa
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.space1600]
mov dword [edi], ecx
mov edx, dword [0x1011240c]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov ax, word [0x10112410]
lea ecx, [esp + 0x14]
push ecx
push edx
push 0xa
push ebx
mov word [edi + 8], ax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x1000f3d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1022777c]
sub esp, 8
push ebx
push ebp
add eax, 0x32
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x10227770], eax
mov ebp, eax
test eax, eax
jle 0x1000f415
mov edi, dword [0x10227c20]
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push edi
mov ebx, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push edi
mov dword [ebx], ebp
call esi
mov edi, dword [0x10227a34]
lea eax, [esp + 0x10]
push eax
push 0x40
push 8
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.text800]
mov dword [edi], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [0x10112418]
lea eax, [esp + 0x14]
push eax
push ecx
push 8
push ebx
mov dword [edi + 4], edx
call esi
mov edi, dword [0x10227bb0]
lea edx, [esp + 0x10]
push edx
push 0x40
push 9
mov ebx, edi
push ebx
call esi
mov eax, dword [str.space800]
mov dword [edi], eax
mov ecx, dword [0x10112420]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [0x10112424]
lea eax, [esp + 0x14]
push eax
push ecx
push 9
push ebx
mov byte [edi + 8], dl
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1000f490
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1022777c]
sub esp, 8
push ebx
push ebp
add eax, 0xc8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x10227778], eax
mov ebp, eax
test eax, eax
jle 0x1000f4d7
mov edi, dword [0x10227c20]
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push edi
mov ebx, edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push edi
mov dword [ebx], ebp
call esi
mov edi, dword [0x10227a34]
lea eax, [esp + 0x10]
push eax
push 0x40
push 9
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.text1200]
mov dword [edi], ecx
mov edx, dword [0x1011242c]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov al, byte [0x10112430]
lea ecx, [esp + 0x14]
push ecx
push edx
push 9
push ebx
mov byte [edi + 8], al
call esi
mov edi, dword [0x10227bb0]
lea eax, [esp + 0x10]
push eax
push 0x40
push 0xa
mov ebx, edi
push ebx
call esi
mov ecx, dword [str.space1200]
mov dword [edi], ecx
mov edx, dword [0x10112438]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov ax, word [0x1011243c]
lea ecx, [esp + 0x14]
push ecx
push edx
push 0xa
push ebx
mov word [edi + 8], ax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x1000f560
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [0x10227c20]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
mov ebx, edi
call esi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x1022777c]
lea edx, [esp + 0x10]
push edx
push eax
push 4
push edi
mov dword [ebx], ecx
call esi
mov edi, dword [0x10227a34]
lea ecx, [esp + 0xc]
push ecx
push 0x40
push 0x1e
push edi
mov ebx, edi
call esi
push 0x1e
push 0x10227330
push ebx
call fcn.1009b070
mov eax, dword [esp + 0x18]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push eax
push 0x1e
push edi
call esi
mov edi, dword [0x10227bb0]
lea ecx, [esp + 0xc]
push ecx
push 0x40
push 0x1e
push edi
mov ebx, edi
call esi
push 0x1e
push 0x10210cb0
push ebx
call fcn.1009b070
mov eax, dword [esp + 0x18]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push eax
push 0x1e
push edi
call esi
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x1000f940
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x100ce47b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push esi
mov eax, dword [0x1012c310]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
push str.XNovaLog.txt
lea eax, [esp + 0x10]
push eax
call fcn.10019ba0
mov ecx, dword [esp + 0xac]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xac], 0
call fcn.1001dd30
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.10019740
mov ecx, esi
call fcn.10019860
push 5
push 0
push 0
push str.XNovaLog.txt
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10010b30
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x10227cbc]
push ebx
xor ebx, ebx
cmp dword [eax], 3
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
jne 0x10010b9d
push 0x7a
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
jne 0x10010b96
cmp byte [0x101552c2], bl
je 0x10010b9d
cmp dword [0x10227788], 7
fldz
fstp dword [0x10130d74]
jne 0x10010b83
mov dword [0x10227788], ebx
call fcn.1000e4a0
mov byte [0x101552c2], bl
jmp 0x10010b9d
inc dword [0x10227788]
call fcn.1000e4a0
mov byte [0x101552c2], bl
jmp 0x10010b9d
mov byte [0x101552c2], 1
mov eax, dword [0x10227cbc]
cmp dword [eax], 4
jne 0x10010bf0
push 0x7a
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
jne 0x10010be9
cmp byte [0x101552c2], bl
je 0x10010bf0
cmp dword [0x102277bc], 2
jne 0x10010bda
pop esi
mov dword [0x102277bc], ebx
mov byte [0x101552c2], bl
pop ebx
ret
inc dword [0x102277bc]
pop esi
mov byte [0x101552c2], bl
pop ebx
ret
mov byte [0x101552c2], 1
pop esi
pop ebx
ret

Function at 0x10013510
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x10227cbc]
sub esp, 8
cmp dword [eax], 3
jne 0x1001358d
mov ecx, dword [0x10130e94]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push esi
mov esi, dword [0x2da9be0]
add esi, dword [esp + 0x18]
push edi
mov edi, dword [ecx]
add edi, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
push 0x40
push 4
push 0x2da9be0
call ebx
mov eax, 0x2da9be0
lea ecx, [esp + 0x14]
push ecx
mov dword [eax], esi
mov edx, dword [esp + 0x14]
push edx
push 4
push eax
call ebx
mov esi, dword [0x10130e94]
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push esi
mov ebp, esi
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push esi
mov dword [ebp], edi
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x10013bb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [0x10227d34]
push ebp
mov ebp, dword [esp + 0x18]
push esi
add ebx, 0xfffffffc
cmp ebp, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, ebp
jge 0x10013bfa
mov ebp, dword [esi]
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push esi
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push esi
mov dword [esi], ebp
call edi
add esi, 4
cmp esi, ebx
jl 0x10013bd0
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push 0x40
push 4
add esi, 3
push esi
call edi
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push edx
push 4
push esi
mov dword [esi], ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x100147a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x10227a60]
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
lea ebx, [eax + 1]
mov edi, 0x100070b0
sub edi, eax
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push ebx
sub edi, 5
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push ebx
mov dword [ebx], edi
call esi
mov eax, dword [0x10227c60]
mov ebp, dword [eax]
mov edi, eax
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push edi
mov dword [ebx], ebp
call esi
mov ecx, dword [0x10227bfc]
mov eax, 0x10013c80
call fcn.10007a50
mov ecx, dword [0x10227a10]
mov eax, 0x10014760
call fcn.10007a50
mov eax, dword [0x10227d6c]
mov ebp, dword [eax]
mov edi, eax
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push edi
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push edi
mov dword [ebx], ebp
call esi
mov ecx, dword [0x10227cf0]
mov eax, 0x10013ca0
call fcn.10007a50
mov eax, dword [0x10227a2c]
mov ecx, dword [0x10227d58]
push eax
push ecx
call fcn.10013bb0
mov edx, dword [0x10227b54]
mov eax, dword [0x10227b38]
push edx
push eax
call fcn.10013bb0
mov eax, 0x10014490
mov ecx, dword [0x10227d80]
call fcn.10007a50
mov ecx, dword [0x10227d5c]
pop edi
pop esi
pop ebp
mov eax, 0x10014490
pop ebx
add esp, 8
jmp fcn.10007a50

Function at 0x10015720
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebp
push esi
push edi
call ebx
push eax
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x10], 0x1c
xor esi, esi
call ebx
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Thread32First
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1001577c
call ebp
cmp eax, 0x12
je 0x1001577c
cmp dword [esp + 0x1c], ebx
jne 0x1001576d
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.dll_Thread32Next
test esi, esi
je 0x10015758
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret