joyce8/EMBER2024-capa huggingface dataset:
Function at 0x107f430
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
call fcn.01074260
test eax, eax
jne 0x107f44e
mov eax, 0x80004005
pop edi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x1161830]
push ebx
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x65
xor ebx, ebx
push ecx
mov dword [ebp - 0x1c], 0x10038b8
mov dword [ebp - 0x18], 0x1003458
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.010776a0
cmp eax, ebx
jl 0x107f56c
push esi
push 0x20006
push 0x100191c
push SysReAllocStringLen
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.01071d80
cmp eax, ebx
je 0x107f4c1
push eax
call fcn.01071a90
mov esi, eax
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x107f4b6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x1003458
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x107f53b
mov eax, dword [ebp - 8]
push 0x100608c
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp byte [ebp + 8], bl
je 0x107f559
push 1
lea ecx, [edi + 0x40]
push ecx
push 0x100608c
lea ecx, [ebp - 8]
call fcn.01071e70
mov ecx, edi
call fcn.010740b0
test eax, eax
jne 0x107f559
lea ecx, [ebp - 8]
call fcn.01073770
lea ecx, [ebp - 4]
call fcn.01073770
pop esi
pop ebx
mov eax, 0x80004005
pop edi
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.01071a90
cmp esi, ebx
mov edi, eax
je 0x107f54e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 8]
call fcn.01073770
lea ecx, [ebp - 4]
call fcn.01073770
xor eax, eax
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x107f590
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.01074260
test eax, eax
jne 0x107f5a8
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 8]
push eax
push 0x20006
xor ebx, ebx
push ebx
push 0x100191c
push SysReAllocStringLen
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x107f619
mov eax, dword [ebp - 8]
push esi
push edi
push 0x20006
push 0x1003458
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ebx
call fcn.01071d80
cmp eax, ebx
je 0x107f624
push eax
call fcn.01071a90
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x107f606
push eax
call edi
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x107f610
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.01071a90
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
push 0x100608c
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebx
call fcn.0107f310
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
je 0x107f648
push esi
call edi
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x107f652
push eax
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10809e0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0
mov dword [ebp - 0x18], eax
lea eax, [ebx + 4]
mov dword [ebp - 0x14], eax
je 0x1080a1b
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 4
push esi
push edi
mov byte [ebp - 0x10], 1
mov byte [ebp - 0xf], 1
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 5
mov dword [ebp - 8], 0x12
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ole32.dll_CoImpersonateClient]
mov esi, eax
test esi, esi
jne 0x1080b5b
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x10]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x1080a93
mov eax, dword [ebp - 0x18]
push eax
call fcn.01080770
test eax, eax
je 0x1080ae1
call edi
test eax, eax
jg 0x1080acf
call edi
mov esi, eax
test esi, esi
jne 0x1080b53
cmp dword [ebp - 0x1c], 0
jne 0x1080b49
lea eax, [ebx + 8]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x1080b06
call edi
test eax, eax
jg 0x1080af2
call edi
mov esi, eax
jmp 0x1080b02
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1080a8b
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ole32.dll_CoRevertToSelf]
mov esi, eax
jmp 0x1080b65
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
test esi, esi
jne 0x1080b3b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 4
push ebx
push 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1080b3b
call edi
test eax, eax
jg 0x1080b2b
call edi
mov esi, eax
jmp 0x1080b3b
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jne 0x1080b53
call dword [sym.imp.ole32.dll_CoRevertToSelf]
mov esi, eax
jmp 0x1080b65
call dword [sym.imp.ole32.dll_CoRevertToSelf]
jmp 0x1080b65
cmp esi, 0x80010117
jne 0x1080b65
xor esi, esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.010840d6
mov esp, ebp
pop ebp
ret 4
Function at 0x1083385
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.010832c4
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.01084910
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x10833d4
cmp dword [ebp - 0x1c], 5
jb 0x10833ec
jmp 0x10833e8
cmp dword [ebp - 0x10], 1
jne 0x10833ec
cmp dword [ebp - 0x1c], 4
ja 0x10833e8
jne 0x10833ec
cmp dword [ebp - 0x18], 0
jbe 0x10833ec
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1008d30
call fcn.01071890
test eax, eax
jge 0x108340d
mov byte [0x1161824], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.010840d6
add ebp, 0x78
leave
ret

Function at 0x10840d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x115f604]
jne 0x10840e0
repz ret
jmp fcn.01087b8b
Function at 0x10851c8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x115f648]
je 0x10851e3
inc edi
cmp edi, 0x17
jb 0x10851d4
cmp edi, 0x17
jae 0x1085363
push ebp
push 3
call fcn.0108bb00
cmp eax, 1
pop ecx
je 0x108532f
push 3
call fcn.0108bb00
test eax, eax
pop ecx
jne 0x1085217
cmp dword [0x115f5e4], 1
je 0x108532f
cmp ebx, 0xfc
je 0x1085362
push 0x1009370
mov ebx, 0x314
push ebx
mov ebp, 0x1161e20
push ebp
call fcn.0108ba9b
add esp, 0xc
test eax, eax
je 0x108524d
push esi
push esi
push esi
push esi
push esi
call fcn.01086a7f
add esp, 0x14
push 0x104
mov esi, 0x1161e39
push esi
push 0
mov byte [0x1161f3d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1085291
push 0x1009358
push 0x2fb
push esi
call fcn.0108ba9b
add esp, 0xc
test eax, eax
je 0x1085291
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.01086a7f
add esp, 0x14
push esi
call fcn.0108ba10
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10852d6
push esi
call fcn.0108ba10
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1162134
push 0x1009354
sub ecx, eax
push ecx
push eax
call fcn.0108b94e
add esp, 0x14
test eax, eax
je 0x10852d6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.01086a7f
add esp, 0x14
jmp 0x10852d8
xor esi, esi
push 0x1009350
push ebx
push ebp
call fcn.0108b8dd
add esp, 0xc
test eax, eax
je 0x10852f8
push esi
push esi
push esi
push esi
push esi
call fcn.01086a7f
add esp, 0x14
push dword [edi*8 + 0x115f64c]
push ebx
push ebp
call fcn.0108b8dd
add esp, 0xc
test eax, eax
je 0x108531a
push esi
push esi
push esi
push esi
push esi
call fcn.01086a7f
add esp, 0x14
push 0x12010
push 0x1009328
push ebp
call fcn.0108b720
add esp, 0xc
jmp 0x1085362
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1085362
cmp ebp, 0xffffffff
je 0x1085362
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x115f64c]
push dword [esi]
call fcn.0108ba10
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x108b720
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.01085d79
xor ebx, ebx
cmp dword [0x1162830], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x108b7f6
push 0x1009514
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x108b8d6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1009508
push edi
call esi
cmp eax, ebx
je 0x108b8d6
push eax
call fcn.01085d0b
mov dword [esp], 0x10094f8
push edi
mov dword [0x1162830], eax
call esi
push eax
call fcn.01085d0b
mov dword [esp], 0x10094e4
push edi
mov dword [0x1162834], eax
call esi
push eax
call fcn.01085d0b
mov dword [0x1162838], eax
lea eax, [ebp - 0xc]
push eax
call fcn.01084f55
test eax, eax
pop ecx
pop ecx
je 0x108b7c4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01086a7f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x108b7f6
push 0x10094c8
push edi
call esi
push eax
call fcn.01085d0b
cmp eax, ebx
pop ecx
mov dword [0x1162840], eax
je 0x108b7f6
push 0x10094b0
push edi
call esi
push eax
call fcn.01085d0b
pop ecx
mov dword [0x116283c], eax
mov eax, dword [0x116283c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x108b87b
cmp dword [0x1162840], ecx
je 0x108b87b
push eax
call fcn.01085d82
push dword [0x1162840]
mov esi, eax
call fcn.01085d82
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x108b87b
cmp edi, ebx
je 0x108b87b
call esi
cmp eax, ebx
je 0x108b848
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x108b848
test byte [ebp - 0x18], 1
jne 0x108b87b
lea eax, [ebp - 0x10]
push eax
call fcn.01084f8c
test eax, eax
pop ecx
je 0x108b863
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01086a7f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x108b872
or dword [ebp + 0x10], 0x200000
jmp 0x108b8b6
or dword [ebp + 0x10], 0x40000
jmp 0x108b8b6
mov eax, dword [0x1162834]
cmp eax, dword [ebp - 8]
je 0x108b8b6
push eax
call fcn.01085d82
cmp eax, ebx
pop ecx
je 0x108b8b6
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x108b8b6
mov eax, dword [0x1162838]
cmp eax, dword [ebp - 8]
je 0x108b8b6
push eax
call fcn.01085d82
cmp eax, ebx
pop ecx
je 0x108b8b6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1162830]
call fcn.01085d82
cmp eax, ebx
pop ecx
je 0x108b8d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x108b8d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x109fa00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1138d0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x115f604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], 0x100c6a4
mov byte [esi + 4], bl
mov word [esi + 6], bx
mov dword [esi + 8], ebx
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov dword [ebp - 4], ebx
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], bl
mov dword [esi], 0x100d7c4
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov dword [ebp - 4], 0xffffffff
call edx
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
call edx
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
call edx
add eax, 0x10
mov dword [esi + 0x20], eax
mov al, 1
mov byte [esi + 0x24], al
mov byte [esi + 0x25], al
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
call edx
add eax, 0x10
mov dword [esi + 0x48], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10a0010
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10a0211
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10a0211
cmp dword [ebp + 0x14], 0
je 0x10a0211
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push eax
push ebx
call fcn.0109ff70
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], eax
jge 0x10a0058
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, 0x55555556
imul ebx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [ecx*4]
mov eax, 0x6bca1af3
imul edx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x13
mov dword [ebp + 8], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
mov dword [ebp + 0x10], 0
js 0x10a017a
mov edx, dword [ebp + 0x18]
and edx, 2
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], ebx
jne 0x10a00c5
mov edx, ebx
imul edx, edx, 0x4c
lea eax, [ecx*4]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 4], eax
test eax, eax
jle 0x10a0137
mov edx, eax
jmp 0x10a00d0
movzx eax, byte [edi + 2]
xor ecx, ecx
mov ch, byte [edi]
add edi, 3
add esi, 4
mov cl, byte [edi - 2]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov eax, ecx
shr eax, 0x1a
movzx eax, byte [eax + 0x100db30]
mov byte [esi - 4], al
shl ecx, 6
mov eax, ecx
shr eax, 0x1a
movzx eax, byte [eax + 0x100db30]
shl ecx, 6
mov byte [esi - 3], al
mov eax, ecx
shr eax, 0x1a
movzx eax, byte [eax + 0x100db30]
shr ecx, 0x14
and ecx, 0x3f
sub edx, 1
mov byte [esi - 2], al
movzx ecx, byte [ecx + 0x100db30]
mov byte [esi - 1], cl
jne 0x10a00d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], 0
mov edx, dword [ebp + 8]
lea edx, [edx + eax*4]
mov dword [ebp + 8], edx
jne 0x10a0156
mov byte [esi], 0xd
add esi, 1
mov byte [esi], 0xa
add esi, 1
add dword [ebp + 8], 2
mov edx, dword [ebp + 0x10]
add edx, 1
cmp edx, ebx
mov dword [ebp + 0x10], edx
jle 0x10a00a6
cmp dword [ebp + 8], 0
je 0x10a017a
cmp dword [ebp - 8], 0
jne 0x10a017a
sub esi, 2
sub dword [ebp + 8], 2
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 0xc]
sub ecx, eax
je 0x10a01fb
lea edx, [ecx + 1]
test edx, edx
je 0x10a01fb
xor eax, eax
test ecx, ecx
jle 0x10a0197
movzx eax, byte [edi]
add edi, 1
shl eax, 8
cmp ecx, 1
jle 0x10a01a7
movzx ebx, byte [edi]
or eax, ebx
add edi, 1
shl eax, 8
cmp ecx, 2
jle 0x10a01b4
movzx ecx, byte [edi]
or eax, ecx
shl eax, 8
test edx, edx
jle 0x10a01d8
mov ecx, edx
lea ecx, [ecx]
mov edi, eax
shr edi, 0x1a
mov bl, byte [edi + 0x100db30]
mov byte [esi], bl
add esi, 1
shl eax, 6
sub ecx, 1
jne 0x10a01c0
add dword [ebp + 8], edx
test byte [ebp + 0x18], 1
jne 0x10a01fb
mov edi, 4
sub edi, edx
test edi, edi
jle 0x10a01f8
push edi
push 0x3d
push esi
call fcn.01084910
add esp, 0xc
add dword [ebp + 8], edi
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
pop ebx
pop edi
mov dword [edx], eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10a1480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1138dbe
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x115f604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 4], 1
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
push edi
mov byte [ebp - 4], 2
mov dword [esi], 0x100df28
call fcn.01081e90
add eax, 0x10
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 3
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], eax
call fcn.01081e90
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov ecx, dword [eax]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ebx
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, 0x1161d94
call edx
add eax, 0x10
mov dword [esi + 0x34], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
call edx
add eax, 0x10
mov dword [esi + 0x38], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
call edx
fld dword [0x1003888]
lea ecx, [esi + 0x50]
add eax, 0x10
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
fstp dword [ecx + 0xc]
fld dword [0x1003884]
mov dword [ecx], ebx
fstp dword [ecx + 0x10]
mov dword [ecx + 4], ebx
fld dword [0x1003880]
mov dword [ecx + 8], 0x11
mov dword [ecx + 0x18], 0xffffffff
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], 0xa
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], ebx
fstp dword [ecx + 0x14]
call fcn.01095ff0
fld dword [0x1003888]
lea ecx, [esi + 0x80]
fstp dword [ecx + 0xc]
mov dword [ecx], ebx
fld dword [0x1003884]
mov dword [ecx + 4], ebx
fstp dword [ecx + 0x10]
mov dword [ecx + 8], 0x11
fld dword [0x1003880]
mov dword [ecx + 0x18], 0xffffffff
fstp dword [ecx + 0x14]
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], 0xa
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], ebx
call fcn.01095ff0
mov byte [ebp - 4], bl
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10a1629
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10a164c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10a17a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1138de8
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x40
lea eax, [ebp - 0xac]
push ebx
push eax
mov dword [ebp - 0xb0], ebx
call fcn.01084910
push 0x46
xor eax, eax
lea ecx, [ebp - 0x56]
push ebx
push ecx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov word [ebp - 0x58], bx
call fcn.01084910
add esp, 0x18
call fcn.010f91e0
mov edi, eax
lea esi, [edi + 0x2f4]
mov ecx, esi
call fcn.010962a0
mov edi, dword [edi + 0x1ac]
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10a183c
cmp dword [esi], ebx
jle 0x10a183c
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp edi, ebx
je 0x10a1950
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
mov ecx, 0x1161d94
call eax
add eax, 0x10
mov dword [ebp - 0x5c], eax
push 0xd
push 0x100df2c
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], ebx
call fcn.01076ac0
push 0xa
push 0x22
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.01129599
add esp, 0x10
test eax, eax
jne 0x10a192a
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x5c]
call fcn.0109f810
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0xb0], 0x44
cmp dword [esi - 4], 1
jle 0x10a18b9
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp - 0x5c]
call fcn.01073680
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0xb0]
push edx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10a18f4
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10a18ea
push eax
call edi
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x10a18f4
push eax
call edi
cmp esi, ebx
jne 0x10a18fc
xor eax, eax
jmp 0x10a1912
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10a1901
sub eax, edx
sar eax, 1
js 0x10a1920
cmp eax, dword [esi - 8]
jg 0x10a1920
mov dword [esi - 0xc], eax
mov word [esi + eax*2], bx
jmp 0x10a192d
push 0x80070057
call fcn.01071710
mov esi, dword [ebp - 0x5c]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10a1950
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret
Function at 0x10b92b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x113bd86
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov esi, ecx
xor ebx, ebx
mov ecx, 0x1161d94
mov dword [ebp - 0x120], ebx
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x128], edi
push ebx
push 0x1016e6c
lea eax, [ebp - 0x120]
push eax
push 0x1016df0
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x124], ebx
call fcn.01075110
add esp, 0x18
cmp dword [esi + 0x30], ebx
mov byte [ebp - 4], 1
je 0x10b9342
mov eax, 0x80070032
mov dword [ebp - 0x120], eax
jmp 0x10b9385
push ebx
push ebx
lea edx, [ebp - 0x124]
push edx
push 0x1162ab4
mov ecx, esi
call fcn.010b8cf0
cmp eax, ebx
mov dword [ebp - 0x120], eax
jl 0x10b9385
push 1
push ebx
lea eax, [ebp - 0x124]
push eax
push 0x1162ab4
mov ecx, esi
call fcn.010b8cf0
cmp eax, ebx
mov dword [ebp - 0x120], eax
jl 0x10b9385
add dword [esi + 0x14], 1
lea ecx, [ebp - 0x11c]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.01075230
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10b93b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret