joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100083ba
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
mov dword [0x10315778], eax
nop dword [eax]
lea eax, [ebp - 0x38]
test esi, esi
je 0x1000826b
lea edi, [esi + 1]
push edi
push str.ID__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x1000827c
push 0x1013a0f4
push eax
call sym.Main.dll_sprintf
add esp, 8
lea edi, [esi + 1]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x10315778]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x1031577c]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x44]
call ebx
test eax, eax
jne 0x10008365
cmp dword [ebp - 0x3c], 1
jb 0x10008365
lea eax, [ebp - 0x38]
test esi, esi
je 0x100082d4
push edi
push str.PW__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x100082e2
push 0x1013a1fc
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x10315778]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x10315787]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x44]
call ebx
test eax, eax
jne 0x10008337
cmp dword [ebp - 0x3c], 1
jb 0x10008337
mov eax, dword [0x10315778]
lea ecx, [eax*8]
sub ecx, eax
mov dword [ecx*4 + 0x10315794], esi
inc dword [0x10315778]
jmp 0x10008391
mov eax, dword [0x10315778]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x10315787], xmm0
mov word [ecx*4 + 0x1031578f], 0
mov byte [ecx*4 + 0x10315791], 0
jmp 0x10008391
mov eax, dword [0x10315778]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x1031577c], xmm0
mov word [ecx*4 + 0x10315784], 0
mov byte [ecx*4 + 0x10315786], 0
mov esi, edi
cmp esi, 5
jl 0x10008250
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push eax
push 0x10315730
push 0
push 0
push str.SavePass
push dword [ebp - 0x44]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x10315730], 1
pop ebx
call fcn.10081279
mov esp, ebp
pop ebp
ret
Function at 0x10008660
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x10149f7c], 0
push ebx
push esi
push edi
je 0x1000886b
cmp dword [0x10149f80], 0
je 0x1000886b
cmp dword [0xe609e8], 5
jne 0x1000886b
mov ebx, dword [ebp + 8]
mov eax, dword [0x10149f84]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, dword [ebx]
jge 0x100086f6
mov esi, dword [0x10149fa4]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
movss xmm0, dword [esi]
comiss xmm0, dword [0x1013e134]
push esi
movss dword [ebp - 0x10], xmm0
jbe 0x100086d7
call edi
mov dword [esi], 0xc2340000
jmp 0x100086ea
call edi
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [0x1013dff8]
movss dword [esi], xmm0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 4
push esi
call edi
mov eax, dword [0x10149f84]
cmp eax, dword [ebx]
jle 0x1000874d
mov esi, dword [0x10149fa4]
lea eax, [ebp - 0xc]
movss xmm0, dword [0x1013e228]
push eax
push 0x40
movss xmm1, dword [esi]
comiss xmm0, xmm1
push 4
push esi
movss dword [ebp - 0x10], xmm1
jbe 0x1000872e
call edi
mov dword [esi], 0xc2340000
jmp 0x10008741
call edi
movss xmm0, dword [ebp - 0x10]
subss xmm0, dword [0x1013dff8]
movss dword [esi], xmm0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 4
push esi
call edi
mov eax, dword [0x10149f88]
cmp eax, dword [ebx + 4]
jge 0x100087de
mov esi, dword [0x10149fa8]
movss xmm1, dword [0x1013e21c]
movss xmm0, dword [esi]
comiss xmm1, xmm0
movss dword [ebp - 0x10], xmm0
jbe 0x100087db
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
call edi
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
addss xmm0, dword [0x1013df10]
push eax
push dword [ebp - 0xc]
push 4
push esi
movss dword [esi], xmm0
call edi
mov esi, dword [0x10149fac]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 8
movsd xmm0, qword [esi]
subsd xmm0, qword [0x1013df40]
push esi
movsd qword [ebp - 0x14], xmm0
call edi
movsd xmm0, qword [ebp - 0x14]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x10149f88]
cmp eax, dword [ebx + 4]
jle 0x10008857
mov esi, dword [0x10149fa8]
movss xmm0, dword [esi]
comiss xmm0, dword [0x1013e224]
movss dword [ebp - 0x10], xmm0
jbe 0x10008857
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
call edi
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
subss xmm0, dword [0x1013df10]
push eax
push dword [ebp - 0xc]
push 4
push esi
movss dword [esi], xmm0
call edi
mov esi, dword [0x10149fac]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 8
movsd xmm0, qword [esi]
addsd xmm0, qword [0x1013df40]
push esi
movsd qword [ebp - 0x14], xmm0
call edi
movsd xmm0, qword [ebp - 0x14]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [ebx]
mov dword [0x10149f84], eax
mov eax, dword [ebx + 4]
mov dword [0x10149f88], eax
call fcn.10008880
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10081279
mov esp, ebp
pop ebp
ret 4
Function at 0x10008880
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
sub esp, 0x10
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10149fac]
push esi
mov esi, dword [0x10149fb0]
push edi
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1013df70]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
andps xmm0, xmmword [0x1013e380]
mulsd xmm0, qword [0x1013dee8]
push esi
addsd xmm0, qword [0x1013dff0]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x10149fac]
mov esi, dword [0x10149fb4]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1013df70]
push eax
push 0x40
push 8
push esi
andps xmm0, xmmword [0x1013e380]
mulsd xmm0, qword [0x1013dee8]
addsd xmm0, qword [0x1013dff0]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x10149fac]
mov esi, dword [0x10149fb8]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1013df70]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x1013e380]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1013df28]
addss xmm0, dword [0x1013e1d4]
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov eax, dword [0x10149fac]
mov esi, dword [0x10149fbc]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1013df70]
push eax
andps xmm0, xmmword [0x1013e380]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1013df28]
addss xmm0, dword [0x1013e1d4]
movss dword [ebp - 0xc], xmm0
push 0x40
push 4
push esi
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov eax, dword [0x10149fac]
mov esi, dword [0x10149fc0]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1013df70]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x1013e380]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1013df28]
addss xmm0, dword [0x1013e1cc]
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10081279
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10008a70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x10149040]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x58], 0
je 0x10008c64
movss xmm0, dword [ebx + 0x5c]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x60]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x34]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x64]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x38]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movsd xmm0, qword [ebx + 0x68]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x3c]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movsd qword [esi], xmm0
push 8
push esi
call edi
movsd xmm0, qword [ebx + 0x70]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x40]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
movsd qword [esi], xmm0
push eax
push dword [esp + 0x1c]
push 8
push esi
call edi
movsd xmm0, qword [ebx + 0x78]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x44]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movsd qword [esi], xmm0
push 8
push esi
call edi
movss xmm0, dword [ebx + 0x80]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x48]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x84]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x4c]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x88]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x50]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10081279
mov esp, ebp
pop ebp
ret
Function at 0x100151b0
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 0x10127485
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10149040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x1014a1c4]
call fcn.10057140
push str.Data__Files__Lua__CharacterSystem__CharacterCreateCape.lua
mov ecx, 0x1014a1c0
call fcn.10042fd0
push dword [0x1014a1c4]
call fcn.10015450
push dword [0x1014a1c4]
call fcn.10044330
mov ecx, dword [0x1014a1c4]
call fcn.100595a0
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x1013a228
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.10008470
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x1014a1c4]
lea ecx, [ebp - 0x4c]
call fcn.10008ce0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.10015c10
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x100152a6
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001529c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001543c
push ecx
push edx
call fcn.100815a1
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 0x100152ec
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100152e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001543c
push ecx
push edx
call fcn.100815a1
add esp, 8
push 0x10014a10
push 0x57232e
push 0xe9
call fcn.1007e0b0
add esp, 0xc
push 0x10014ac0
push 0x5757d4
push 0xe9
call fcn.1007e0b0
add esp, 0xc
push 0x10014b30
push 0x574667
push 0xe9
call fcn.1007e0b0
add esp, 0xc
push 0x10014ba0
push 0x5750fb
push 0xe9
call fcn.1007e0b0
add esp, 0xc
push 0x10014c80
push 0x5fa844
push 0xe9
call fcn.1007e0b0
add esp, 0xc
push 0x10014de0
push 0x5658b6
push 0xe9
call fcn.1007e0b0
add esp, 0xc
push 0x10014eb0
push 0x8362a2
push 0xe9
call fcn.1007e0b0
add esp, 0xc
push 0x10014f00
push 0x83640e
push 0xe9
call fcn.1007e0b0
add esp, 0xc
push 0x10014f50
push 0x57605b
push 0xe9
call fcn.1007e0b0
add esp, 0xc
push 0x10014f90
push 0x576144
push 0xe9
call fcn.1007e0b0
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 0x10015000
push 0x51ec76
push 0xe9
call fcn.1007e0b0
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.10081279
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100fb6dd
int3
Function at 0x1001d450
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 0x10127485
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x10149040]
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 0x1013a228
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.10008470
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x1014ae68]
lea ecx, [ebp - 0x4c]
call fcn.10008ce0
push 0x1001d370
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000e720
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1001d517
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d50d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d639
push ecx
push edx
call fcn.100815a1
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 0x1001d564
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d55a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d639
push ecx
push edx
call fcn.100815a1
add esp, 8
push str.Data__Files__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x1014ae64
call fcn.10042fd0
push 0x1013a1e8
push str.StartLoadJewelStack
push 0x1014ae64
call fcn.10043190
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 0x1001d220
push 0x7dc964
push 0xe9
call fcn.1007e0b0
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 0x1001d340
push 0x7dd634
push 0xe9
call fcn.1007e0b0
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.10081279
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100fb6dd
int3
Function at 0x1001f070
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10149040]
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 0x1001e3a0
push 0x4dada4
push 0xe8
call fcn.1007e0b0
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.100e5ae0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x83
push 0x47fc85
call esi
push 0x1001e5c0
push 0x47fc85
push 0xe9
call fcn.1007e0b0
push 0x1001f040
push 0x520ecf
push 0xe8
call fcn.1007e0b0
push 0x1001f040
push 0x520f1f
push 0xe8
call fcn.1007e0b0
push 0x1001f040
push 0x63e743
push 0xe8
call fcn.1007e0b0
push 0x1001f040
push 0x640eb2
push 0xe8
call fcn.1007e0b0
push 0x1001f040
push 0x7d2dd9
push 0xe8
call fcn.1007e0b0
add esp, 0x48
push 0x1001f040
push 0x7e6c0f
push 0xe8
call fcn.1007e0b0
push 0x1001f040
push 0x84aef7
push 0xe8
call fcn.1007e0b0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.10081279
mov esp, ebp
pop ebp
ret
Function at 0x1002e0c0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10149040]
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 0x1002e156
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x1015275c]
mov dword [0x10152760], eax
test ecx, ecx
je 0x1002e122
push ecx
call fcn.100817a3
mov eax, dword [0x10152760]
add esp, 4
mov dword [0x1015275c], 0
push eax
call fcn.100817a8
add esp, 4
mov dword [0x1015275c], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [0x10152760]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x1002e16a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10081279
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, dword [0x10152760]
cmp ecx, 8
jb 0x1002e156
mov esi, dword [0x1015275c]
mov eax, dword [esi]
cmp eax, dword [0x1013a164]
jne 0x1002e156
mov eax, dword [esi + 4]
cmp eax, dword [0x1013a168]
jne 0x1002e156
push edi
lea eax, [ecx - 8]
xor edi, edi
test eax, eax
jle 0x1002e1ff
mov ecx, 0x1015834c
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e1b0
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
movsx eax, byte [edx + 0x1015834c]
and eax, 0xf
movzx eax, byte [eax + 0x1013a154]
sub byte [esi + edi + 8], al
mov eax, edi
mov ecx, dword [0x1015275c]
and eax, 0xf
movzx eax, byte [eax + 0x1013a154]
xor byte [ecx + edi + 8], al
inc edi
mov eax, dword [0x10152760]
add eax, 0xfffffff8
cmp edi, eax
jge 0x1002e1ff
mov esi, dword [0x1015275c]
jmp 0x1002e1a2
call fcn.100f00fe
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.Data_t_d
push 0x10152764
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10106
push 2
push 0
push 7
push 0x40000000
push 0x10152764
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x1002e156
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x10152760]
add eax, 0xfffffff8
push eax
mov eax, dword [0x1015275c]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x1002e28a
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10081279
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.10081279
mov esp, ebp
pop ebp
ret 4