joyce8/EMBER2024-capa huggingface dataset:
Function at 0x511e1b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x556400]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x511e66
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00511fb6
test al, al
jne 0x511e60
sub edx, 2
cmp edx, edi
jne 0x511e46
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x511e88
lea eax, [edi + 2]
cmp edx, eax
je 0x511e88
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00511d67
add esp, 0x10
jmp 0x511f82
push esi
lea ecx, [ebp - 0x255]
call fcn.00511fb6
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x511ecb
push dword [ebp - 0x25c]
jmp 0x511e78
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x511f08
cmp word [ebp - 0x226], 0
je 0x511f29
cmp word [ebp - 0x226], ax
jne 0x511f08
cmp word [ebp - 0x224], 0
je 0x511f29
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00511d67
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x511f75
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x511ee2
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x511f5d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x511f82
push 0x511b97
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00501d20
add esp, 0x10
jmp 0x511f52
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ec82b
leave
ret

Function at 0x512898
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x5128a9
pop esi
ret
push ebx
push edi
push esi
call fcn.00512861
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0050c882
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x5128d1
push ebx
push esi
push edi
call fcn.004efe50
add esp, 0xc
push 0
call fcn.0050c848
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x512ca1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005128e6
Function at 0x514f20
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0050c4a1
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x514f8f
cmp esi, dword [ebp - 4]
je 0x514f8a
cmp dword [ebp + 0xc], 0
je 0x514f8a
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x514f67
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00514a72
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x514f91
xor eax, eax
inc eax
jmp 0x514f91
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x514ff6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x556400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0050c4a1
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0050c4a1
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x51506d
cmp word [ecx], dx
je 0x51506d
mov eax, dword [0x53de34]
push edi
dec eax
push eax
push 0x53dd20
call fcn.00514f95
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x5150e0
cmp word [eax], dx
je 0x5150e0
mov eax, dword [edi]
test eax, eax
je 0x515091
cmp word [eax], dx
je 0x515091
lea eax, [ebp - 0x10]
push eax
call fcn.00514978
jmp 0x51509a
lea eax, [ebp - 0x10]
push eax
call fcn.00514a13
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x51510a
mov eax, dword [0x53dd1c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x53da10
call fcn.00514f95
add esp, 0xc
test al, al
je 0x51510a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x5150d5
cmp word [eax], di
je 0x5150d5
lea eax, [ebp - 0x10]
push eax
call fcn.00514978
pop ecx
jmp 0x51510c
lea eax, [ebp - 0x10]
push eax
call fcn.00514a13
jmp 0x5150d2
mov eax, dword [edi]
test eax, eax
je 0x5150f7
cmp word [eax], dx
je 0x5150f7
lea eax, [ebp - 0x10]
push eax
call fcn.0051492d
pop ecx
jmp 0x51510a
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x5151d5
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00514e1a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x5151d5
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x5151d5
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x5151d5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x515162
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0050e9d6
test ebx, ebx
je 0x5151d0
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0050e9d6
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5151d5
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5151d5
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00505300
add esp, 0x10
xor eax, eax
inc eax
jmp 0x5151d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ec82b
leave
ret
Function at 0x518cfa
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x556400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x518d3d
call fcn.004f8ad7
mov dword [eax], 0xf
call fcn.004f8aea
mov dword [eax], 0xd
call fcn.004f3df0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ec82b
leave
ret
test eax, eax
jne 0x518d44
inc eax
jmp 0x518d31
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x518d2f
xor eax, eax
cmp ecx, 1
setne al
jmp 0x518d31

Function at 0x51a4f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x51a51d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x51a51d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001000
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0x10001010
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x1000101c
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x10001026
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x10001030
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x1000103a
or eax, 8
shr ecx, 1
test cl, 1
je 0x10001044
or eax, 4
shr ecx, 1
test cl, 1
je 0x1000104e
or eax, 2
test cl, 2
je 0x10001056
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor edi, edi
mov dword [esi + edx*4], ecx
mov eax, ecx
lea ecx, [edi + 0x1f]
jmp 0x10001110
test al, 1
je 0x1000111d
mov ebx, 1
shl ebx, cl
or edi, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10001110
mov dword [esi + edx*4], edi
inc edx
cmp edx, 0xff
jle 0x10001004
pop edi
pop ebx
ret

Function at 0x10001140
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x10135c08
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi], 0xffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x10001172
xor al, al
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x100011a0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
je 0x10001203
push ebx
lea ebx, [ebx]
mov ecx, eax
mov edx, edi
test eax, eax
je 0x100011e9
mov eax, dword [esi]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr eax, 8
xor eax, dword [ebx + edi*4]
inc edx
dec ecx
mov dword [esi], eax
jne 0x100011c8
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
jne 0x100011c0
pop ebx
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [esi]
not eax
add esp, 8
mov dword [esi], eax
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10004600
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1110
call fcn.1012e580
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
xor esi, esi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x1000472c
cmp dword [0x10151008], 0x10
mov eax, dword [0x10150ff4]
mov dword [0x10151004], esi
jae 0x1000464e
mov eax, 0x10150ff4
mov byte [eax], 0
lea eax, [ebp - 0x10c]
push eax
push 0x1000
lea ecx, [ebp - 0x1110]
push ecx
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x10004725
test dword [ebp - 0x10c], 0xfffffffc
jbe 0x10004725
push ebx
mov ebx, dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
lea ebx, [ebx]
mov eax, dword [ebp + esi*4 - 0x1110]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push edi
call ebx
test eax, eax
je 0x100046e1
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, dword [0x10151014]
mov ecx, dword [0x10151010]
mov dword [ebp - 0x110], eax
push edx
lea eax, [ebp - 0x110]
call fcn.10005170
add esp, 4
cmp eax, dword [0x10151014]
jne 0x100046f1
mov eax, dword [ebp - 0x10c]
inc esi
shr eax, 2
cmp esi, eax
jb 0x10004690
jmp 0x10004724
lea ecx, [ebp - 0x108]
push ecx
mov dword [0x10151020], 1
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, eax
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10004710
sub ecx, esi
push ecx
mov ecx, 0x10150ff4
call fcn.10005460
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.1012db16
mov esp, ebp
pop ebp
ret
Function at 0x1000bee0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x101513e8], 0
je 0x1000c00e
fld dword [0x101514b0]
fld dword [0x10151444]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x1000bf18
fstp st(1)
fstp dword [0x101514b0]
fld dword [0x101514b0]
jmp 0x1000bf1a
fstp st(0)
mov ecx, dword [0x10151450]
fld dword [ecx]
push esi
fcomp st(1)
push edi
fnstsw ax
test ah, 0x41
jne 0x1000bfa4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
fstp st(0)
fld dword [ecx]
lea eax, [ebp - 4]
fsub qword [0x1013f578]
push eax
push 0x40
push 4
push ecx
fstp dword [ebp - 8]
mov edi, ecx
call esi
fld dword [ebp - 8]
mov edx, dword [ebp - 4]
fstp dword [edi]
lea ecx, [ebp - 4]
push ecx
push edx
push 4
push edi
call esi
mov ecx, dword [0x10151450]
fld dword [ecx]
fld dword [0x101514b0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1000c00a
lea eax, [ebp - 4]
fstp dword [ebp - 8]
push eax
push 0x40
push 4
push ecx
mov edi, ecx
call esi
fld dword [ebp - 8]
mov edx, dword [ebp - 4]
fstp dword [edi]
lea ecx, [ebp - 4]
push ecx
push edx
push 4
push edi
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
fld dword [ecx]
fcompp
fnstsw ax
test ah, 5
jp 0x1000c00c
fld dword [ecx]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
fadd qword [0x101402e8]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
fstp dword [ebp - 8]
push ecx
mov esi, ecx
call edi
fld dword [ebp - 8]
mov edx, dword [ebp - 4]
fstp dword [esi]
lea ecx, [ebp - 4]
push ecx
push edx
push 4
push esi
call edi
mov esi, dword [0x10151450]
fld dword [esi]
fld dword [0x101514b0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x1000c00a
push ecx
fstp dword [esp]
call fcn.10110d00
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
fstp st(0)
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c1c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x1015145c]
fld qword [eax]
push esi
fsub qword [0x1013f9b0]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [0x10151460]
lea ecx, [esp + 0xc]
fabs
push ecx
fstp qword [esp + 0x14]
push 0x40
push 8
push edi
call esi
fld qword [esp + 0x10]
fmul qword [0x1013f6e8]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
fadd qword [0x101402c0]
push eax
push 8
push edi
fstp qword [edi]
call esi
mov ecx, dword [0x1015145c]
fld qword [ecx]
mov edi, dword [0x10151464]
fsub qword [0x1013f9b0]
lea edx, [esp + 0xc]
push edx
push 0x40
push 8
fabs
push edi
fstp qword [esp + 0x20]
call esi
fld qword [esp + 0x10]
fmul qword [0x1013f6e8]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push eax
fadd qword [0x101402c0]
push ecx
push 8
push edi
fstp qword [edi]
call esi
mov edx, dword [0x1015145c]
fld qword [edx]
mov edi, dword [0x10151468]
fsub qword [0x1013f9b0]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
fabs
push edi
fstp qword [esp + 0x20]
call esi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea ecx, [esp + 0xc]
fmul qword [0x1013f6e8]
push ecx
push edx
push 4
fadd qword [0x101402b8]
push edi
fstp dword [edi]
call esi
mov eax, dword [0x1015145c]
fld qword [eax]
mov edi, dword [0x1015146c]
fsub qword [0x1013f9b0]
lea ecx, [esp + 0xc]
fabs
fstp qword [esp + 0x10]
push ecx
push 0x40
push 4
push edi
call esi
fld qword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea edx, [esp + 0xc]
fmul qword [0x1013f6e8]
push edx
push eax
push 4
fadd qword [0x101402b8]
push edi
fstp dword [edi]
call esi
mov ecx, dword [0x1015145c]
fld qword [ecx]
mov edi, dword [0x10151470]
fsub qword [0x1013f9b0]
lea edx, [esp + 0xc]
push edx
push 0x40
push 4
fabs
push edi
fstp qword [esp + 0x20]
call esi
fld qword [esp + 0x10]
mov ecx, dword [esp + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea eax, [esp + 0xc]
fmul qword [0x1013f6e8]
push eax
push ecx
push 4
fadd qword [0x101402b0]
push edi
fstp dword [edi]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c350
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x98], 0
push edi
je 0x1000c4fc
fld dword [esi + 0x9c]
mov ebx, dword [esi + 0x74]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
fstp dword [esi + 0xd0]
fld dword [esi + 0xa0]
lea eax, [esp + 0xc]
push eax
fstp dword [esp + 0x14]
push 0x40
push 4
push ebx
call edi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [ebx]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push ebx
call edi
fld dword [esi + 0xa4]
mov ebx, dword [esi + 0x78]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push ebx
call edi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [ebx]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push ebx
call edi
fld qword [esi + 0xa8]
mov ebx, dword [esi + 0x7c]
fstp qword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 8
push ebx
call edi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp qword [ebx]
lea ecx, [esp + 0xc]
push ecx
push edx
push 8
push ebx
call edi
fld qword [esi + 0xb0]
mov ebx, dword [esi + 0x80]
fstp qword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 8
push ebx
call edi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp qword [ebx]
lea ecx, [esp + 0xc]
push ecx
push edx
push 8
push ebx
call edi
fld qword [esi + 0xb8]
mov ebx, dword [esi + 0x84]
fstp qword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 8
push ebx
call edi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp qword [ebx]
lea ecx, [esp + 0xc]
push ecx
push edx
push 8
push ebx
call edi
fld dword [esi + 0xc0]
mov ebx, dword [esi + 0x88]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push ebx
call edi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [ebx]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push ebx
call edi
fld dword [esi + 0xc4]
mov ebx, dword [esi + 0x8c]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push ebx
call edi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [ebx]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push ebx
call edi
fld dword [esi + 0xc8]
mov esi, dword [esi + 0x90]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push esi
call edi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [esi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push esi
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cb50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
mov ebx, 1
push ebx
push 0x813bf4
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x813bf4], bl
mov edx, dword [ebp - 4]
push edx
push ebx
push 0x813bf4
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push 0x4ebd07
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x4ebd07], bl
mov edx, dword [ebp - 4]
push edx
push ebx
push 0x4ebd07
call esi
push 0x1000c580
push 0x4d9d0e
mov bl, 0xe8
call fcn.10110d60
push 0x1000c8c0
push 0x5977e0
mov bl, 0xe9
call fcn.10110d60
push 0x1000caf0
push 0x588277
call fcn.10110d60
push 0x1000cb10
push 0x588460
call fcn.10110d60
push 0x1000cb30
push 0x588560
call fcn.10110d60
push 0x1000c7f0
push 0x51cb60
call fcn.10110d60
push 0x1000c6e0
push 0x51e440
call fcn.10110d60
add esp, 0x38
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d6f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012f948
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1014a018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
xor ebx, ebx
push 0x134
mov dword [ebp - 0x14], 0x10a88590
mov dword [0x10a88590], 0x10136144
mov dword [0x10a8859c], ebx
call edi
add esp, 4
cmp eax, ebx
je 0x1000d891
mov dword [0x10a88598], eax
mov dword [eax], eax
mov eax, dword [0x10a88598]
mov dword [eax + 4], eax
mov eax, dword [0x10a88598]
mov dword [eax + 8], eax
mov eax, dword [0x10a88598]
mov byte [eax + 0x130], 1
mov ecx, dword [0x10a88598]
mov byte [ecx + 0x131], 1
mov dword [ebp - 4], ebx
mov dword [0x10a885f4], ebx
mov dword [0x10a885f8], ebx
mov dword [0x10a885fc], ebx
push 0x48
push ebx
push 0x10a885ac
mov byte [ebp - 4], 1
call sub.MSVCR100.dll_memset
push 0x34
call edi
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x1000d802
mov word [esi + 0x29], bx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fld dword [0x1013f730]
fst dword [esi]
mov dword [esi + 0x30], eax
fld dword [0x1013fc74]
mov byte [esi + 0x2d], bl
fst dword [esi + 4]
mov byte [esi + 0x28], bl
fstp dword [esi + 0xc]
mov word [esi + 0x2b], 0x101
fstp dword [esi + 8]
fld dword [0x1013fb90]
fstp dword [esi + 0x18]
fld dword [0x10140380]
fstp dword [esi + 0x1c]
fld dword [0x10140e68]
fstp dword [esi + 0x20]
fld dword [0x10150fa0]
fstp dword [esi + 0x24]
jmp 0x1000d804
xor esi, esi
push 0x34
mov dword [0x10a885a4], esi
call edi
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x1000d86d
mov word [esi + 0x29], bx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fld dword [0x1013fa1c]
fst dword [esi]
mov dword [esi + 0x30], eax
fld dword [0x1013fc74]
mov byte [esi + 0x2d], bl
fst dword [esi + 4]
mov byte [esi + 0x28], bl
fstp dword [esi + 0xc]
mov word [esi + 0x2b], 0x101
fstp dword [esi + 8]
fld dword [0x1013fb90]
fstp dword [esi + 0x18]
fld dword [0x10140380]
fstp dword [esi + 0x1c]
fld dword [0x101411b8]
fstp dword [esi + 0x20]
fld dword [0x10150fa0]
fstp dword [esi + 0x24]
jmp 0x1000d86f
xor esi, esi
mov dword [0x10a885a8], esi
call fcn.1000d9c0
mov eax, 0x10a88590
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x101442c8
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3