joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ab90a
Capabilities:
Get token privileges

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010fd8a
mov eax, dword fs:[0]
push eax
mov eax, 0x10a4
call fcn.10062d60
mov eax, dword [0x1013c2b8]
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 esi, ecx
mov dword [ebp - 0x109c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10a4], esi
mov dword [ebp - 0x10a0], ebx
mov dword [ebp - 0x109c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x109c]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100abae1
lea eax, [ebp - 0x1094]
mov dword [ebp - 0x1094], ebx
push eax
push ebx
push ebx
push 1
push dword [ebp - 0x109c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x100ab9e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x7a
je 0x100ab9e4
push 0x10032e50
lea ecx, [ebp - 0x28]
call fcn.1006ab4f
push ecx
push ecx
push ebx
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
push ebx
push edi
push 0x13
lea ecx, [ebp - 0x868]
call fcn.100a737c
push 0x1011cc58
lea eax, [ebp - 0x868]
jmp 0x100abb15
push dword [ebp - 0x1094]
lea ecx, [ebp - 0x10b0]
call fcn.100ab1fd
lea eax, [ebp - 0x1094]
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x10b0]
push eax
push dword [ebp - 0x1094]
push edi
push 1
push dword [ebp - 0x109c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x100aba4a
push 0x10032e50
lea ecx, [ebp - 0x28]
call fcn.1006ab4f
push ecx
push ecx
push ebx
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
push 0x13
lea ecx, [ebp - 0x868]
call fcn.100a640f
jmp 0x100ab9d4
lea eax, [ebp - 0x1098]
mov dword [ebp - 0x1098], ebx
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
jne 0x100aba80
push 0x10032f98
lea ecx, [ebp - 0x28]
call fcn.1006ab4f
push ecx
push ecx
push ebx
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
push 9
jmp 0x100aba3d
xor eax, eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x10a0], 1
cmp dword [ebp - 0x1098], eax
je 0x100ababa
push dword [ebp - 0x1098]
mov ecx, esi
call fcn.1006af70
push dword [ebp - 0x1098]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x10b0]
call fcn.10074e3b
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.1006190b
leave
ret
push 0x10032da0
lea ecx, [ebp - 0x40]
call fcn.1006ab4f
push ecx
push ecx
push ebx
push ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
push 0x17
lea ecx, [ebp - 0x1090]
call fcn.100a640f
push 0x1011cc58
lea eax, [ebp - 0x1090]
push eax
call fcn.100658b4
int3
Function at 0x100ae03b
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100ae190
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100ae190
cmp eax, 0x29
jne 0x100ae076
cmp dword [esi + 0x10], 0
jne 0x100ae190
test dword [esi + 0x50], edx
je 0x100ae196
cmp eax, 0x2e
jne 0x100ae091
push 5
lea ecx, [esi + 0x24]
call fcn.100afc4c
mov ecx, esi
call fcn.100afc8a
jmp 0x100ae17a
cmp eax, 0x5c
jne 0x100ae0e6
mov ecx, esi
call fcn.100afc8a
test byte [esi + 0x50], 0x80
je 0x100ae0da
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x100ae0c2
push 4
lea ecx, [esi + 0x24]
call fcn.100afc4c
mov ecx, esi
call fcn.100afc8a
jmp 0x100ae181
cmp eax, 0x42
jne 0x100ae0da
push 4
lea ecx, [esi + 0x24]
call fcn.100afc4c
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100ae0b6
mov ecx, esi
call fcn.100ae1a4
jmp 0x100ae17a
cmp eax, 0x5b
jne 0x100ae106
mov ecx, esi
call fcn.100afc8a
mov ecx, esi
call fcn.100ae653
cmp dword [esi + 0x4c], 0x5d
je 0x100ae085
push 4
jmp 0x100ae198
cmp eax, 0x28
jne 0x100ae123
mov ecx, esi
call fcn.100afc8a
mov ecx, esi
call fcn.100affde
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x100ae196
jmp 0x100ae16f
cmp eax, 0x5e
jne 0x100ae12c
push 2
jmp 0x100ae0ae
cmp eax, 0x24
jne 0x100ae138
push 3
jmp 0x100ae0ae
cmp eax, 0x2a
je 0x100ae18c
cmp eax, 0x2b
je 0x100ae18c
cmp eax, 0x3f
je 0x100ae18c
cmp eax, 0x7b
je 0x100ae18c
cmp eax, 0x7d
jne 0x100ae156
test dword [esi + 0x50], edx
je 0x100ae188
cmp eax, 0x5d
jne 0x100ae160
test dword [esi + 0x50], edx
je 0x100ae0ff
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100ada0f
mov bl, 1
mov ecx, esi
call fcn.100afc8a
test bl, bl
je 0x100ae181
mov ecx, esi
call fcn.100afcbb
mov cl, 1
jmp 0x100ae044
push 6
jmp 0x100ae198
push 0xa
jmp 0x100ae198
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.100af575
int3

Function at 0x100b06ad
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x100b06b5
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100b06c8
test al, 0x10
je 0x100b06c8
mov al, 1
ret
xor al, al
ret
Function at 0x100b0758
Capabilities:
Enumerate files on windows

Disassembly:
push 0xafc
mov eax, 0x101102b1
call fcn.10062c32
mov ebx, edx
mov dword [ebp - 0xb04], ebx
mov esi, ecx
mov dword [ebp - 0xb08], esi
mov ecx, ebx
call fcn.100b06ad
test al, al
je 0x100b093d
mov ecx, esi
call fcn.10076078
xor esi, esi
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], esi
mov word [ebp - 0x40], ax
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
call fcn.1007c7f0
xor eax, eax
mov dword [ebp - 0x18], esi
mov edi, 0x1002e210
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.1006af70
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 4
mov ecx, ebx
call fcn.100ab476
mov bl, al
mov byte [ebp - 4], 3
neg bl
lea ecx, [ebp - 0x28]
sbb bl, bl
call fcn.1006af06
add bl, 1
je 0x100b07fc
push edi
lea ecx, [ebp - 0x40]
call fcn.10071d02
cmp dword [0x1013c3e0], 8
mov eax, 0x1013c3cc
jb 0x100b080f
mov eax, dword [0x1013c3cc]
push dword [0x1013c3dc]
lea ecx, [ebp - 0x40]
push eax
call fcn.10071d31
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
jb 0x100b082a
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100b0877
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x100b092d
cmp eax, 2
je 0x100b092d
push 0x10033310
lea ecx, [ebp - 0x70]
call fcn.1006ab4f
push ecx
push ecx
push esi
push esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
push 0x11
jmp 0x100b0976
push dword [ebp - 0xb04]
lea ecx, [ebp - 0x28]
call fcn.1006e7cf
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x48], esi
push 0x1002e210
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.1006af70
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.100ab476
mov bl, al
mov byte [ebp - 4], 6
neg bl
lea ecx, [ebp - 0x58]
sbb bl, bl
call fcn.1006af06
add bl, 1
je 0x100b08da
push 0x1002e210
lea ecx, [ebp - 0x28]
call fcn.10071d02
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.10071d02
lea ecx, [ebp - 0x28]
call fcn.100b06d1
test al, al
je 0x100b0904
mov ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x28]
push eax
call fcn.10076195
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.1006af06
lea eax, [ebp - 0x2d8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100b0877
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.1006af06
call fcn.10062bca
ret 4
push 0x100332b8
lea ecx, [ebp - 0x88]
call fcn.1006ab4f
xor esi, esi
lea ecx, [ebp - 0x70]
push ebx
mov edx, eax
mov dword [ebp - 4], esi
call fcn.1007d1c0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.1006ac90
push ecx
push ecx
push esi
push esi
lea eax, [ebp - 0x70]
push eax
push 0x32
lea ecx, [ebp - 0xb00]
call fcn.100a640f
push 0x1011cc58
lea eax, [ebp - 0xb00]
push eax
call fcn.100658b4
int3
Function at 0x100b0d4c
Capabilities:
Read file via mapping

Disassembly:
push 0x864
mov eax, 0x1011041b
call fcn.10062c32
mov esi, ecx
mov dword [ebp - 0x86c], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x870], esi
mov dword [esi], 0x10005124
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov eax, edi
or dword [esi + 0x10], 0xffffffff
or dword [esi + 0x14], 0xffffffff
mov dword [esi], 0x1000520c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
cmp dword [edi + 0x14], 8
jb 0x100b0d98
mov eax, dword [edi]
push eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 0x10], eax
test eax, eax
je 0x100b0dfa
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
jne 0x100b0df0
push 0x10033558
lea ecx, [ebp - 0x40]
call fcn.1006ab4f
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.1007d1c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.1006ac90
push ecx
push ecx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x15
jmp 0x100b0e2c
mov eax, esi
call fcn.10062bca
ret 8
push 0x10033400
lea ecx, [ebp - 0x28]
call fcn.1006ab4f
push edi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.1007d1c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.1006ac90
push ecx
push ecx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x16
lea ecx, [ebp - 0x868]
call fcn.100a640f
push 0x1011cc58
lea eax, [ebp - 0x868]
push eax
call fcn.100658b4
int3
Function at 0x100bdce1
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push esi
push edi
push 0
mov esi, ecx
call fcn.100bdd30
push 9
pop ecx
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [esp + 0xc]
test eax, eax
je 0x100bdd24
cmp eax, 9
jne 0x100bdd24
push 1
mov ecx, esi
call fcn.100bdd30
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100be56a
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebx
push esi
lea ebx, [ecx + 4]
mov esi, edx
push edi
test ebx, ebx
je 0x100be5a2
lea edi, [esi + 4]
test edi, edi
je 0x100be5a2
call fcn.100be77d
test al, al
je 0x100be5a2
mov ecx, esi
call fcn.100be77d
test al, al
je 0x100be5a2
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x100be5a4
xor al, al
pop edi
pop esi
pop ebx
ret

Function at 0x100bf6fb
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x464
mov eax, 0x10112816
call fcn.10062c32
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x444], eax
xor eax, eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov dword [ebp - 4], ebx
mov edi, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], 0x208
push eax
lea eax, [ebp - 0x420]
push eax
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100bf81d
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.1006af70
mov dword [ebp - 0x440], ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
jb 0x100bf793
mov eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x440]
push ecx
mov ecx, dword [ebp - 0x444]
push eax
call fcn.100bf9a0
mov dword [ebp - 0x43c], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
jb 0x100bf7c5
mov eax, dword [ebp - 0x438]
push ebx
push eax
push dword [esi]
lea ecx, [ebp - 0x43c]
call fcn.100c0066
test al, al
je 0x100bf846
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x43c]
call fcn.100bf6fb
cmp dword [ebp - 0x43c], 0
je 0x100bf7ff
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x440], 0
je 0x100bf817
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
jmp 0x100bf735
mov edi, dword [ebp - 0x444]
jmp 0x100bf826
inc ebx
push edi
push ebx
mov ecx, esi
call fcn.100bf869
test al, al
jne 0x100bf825
lea ecx, [ebp - 0x438]
call fcn.1006af06
call fcn.10062bca
ret 4
lea ecx, [ebp - 0x470]
call fcn.100bf2b3
push 0x1011c9c8
lea eax, [ebp - 0x470]
push eax
call fcn.100658b4
int3
Function at 0x100bff99
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x1013c2b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x624]
and dword [ebp - 0x620], 0
push esi
mov esi, dword [ebp + 0xc]
push edx
lea edx, [ebp - 0x61c]
mov dword [ebp - 0x624], 0x410
push edx
lea edx, [ebp - 0x620]
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100c004f
cmp dword [ebp - 0x620], 1
je 0x100c003d
cmp dword [ebp - 0x620], 2
jne 0x100c004f
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, eax
lea eax, [ecx - 1]
cmp eax, 0x102
ja 0x100c004f
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x61c]
push 0x208
push ecx
call fcn.10058b98
add esp, 0x10
lea ecx, [ebp - 0x61c]
push ecx
mov ecx, esi
call fcn.1006af70
mov al, 1
jmp 0x100c0051
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006190b
leave
ret 8
Function at 0x100c4e3d
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], ecx
push edi
mov dword [ebp - 8], ebx
call fcn.100c30d0
test eax, eax
je 0x100c4ec5
mov edi, dword [eax + 8]
test edi, edi
je 0x100c4ec5
mov edi, dword [edi + 0x38]
cmp edi, 0xffffffff
je 0x100c4ec5
push edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100c4ec5
xor ebx, ebx
cmp byte [ebp + 0x28], bl
setne bl
cmp byte [ebp + 0x20], 0
je 0x100c4e83
or ebx, 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [ebp + 0x24]
mov esi, dword [0x1013dd20]
mov ecx, esi
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [0x1013f49c]
call esi
push 1
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x100c4ef6
push dword [ebp + 0x28]
mov esi, dword [0x1013dd00]
mov ecx, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push dword [ebp - 4]
call dword [0x1013f49c]
call esi
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x24
Function at 0x100d19cc
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x10115262
call fcn.10062c32
mov edi, edx
mov dword [ebp - 0x30], edi
mov ebx, ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], dx
and dword [ebp - 4], edx
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.100d4fc1
push eax
push edi
push ebx
mov ecx, esi
call dword [0x1013f49c]
call esi
mov edi, eax
test edi, edi
jne 0x100d1a4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x100d1a4d
call fcn.1006c5b6
mov ecx, eax
call fcn.1008d9e7
cmp eax, 1
jne 0x100d1a4d
push dword [ebp - 0x2c]
mov ecx, esi
push dword [ebp - 0x30]
push ebx
call dword [0x1013f49c]
call esi
mov esi, eax
jmp 0x100d1a4f
mov esi, edi
lea ecx, [ebp - 0x28]
call fcn.1006af06
mov eax, esi
call fcn.10062bca
ret 0xc
Function at 0x100da714
Capabilities:
Resume thread

Disassembly:
push 0x9c
mov eax, 0x10116224
call fcn.10062c32
mov edi, ecx
mov dword [ebp - 0x98], edi
xor ebx, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
mov eax, dword [edi]
push ebx
mov esi, dword [eax + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call dword [0x1013f49c]
mov ecx, edi
call esi
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100da8ed
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1013f49c]
mov ecx, edi
call esi
mov edi, dword [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x1013f49c]
mov ecx, dword [ebp - 0x98]
call esi
mov edx, edi
mov ecx, eax
call fcn.1007e8c1
mov edi, dword [ebp - 0x98]
cmp eax, 3
sete byte [ebp - 0x9c]
push dword [ebp - 0x9c]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1013f49c]
mov ecx, edi
call esi
lea ecx, [ebp - 0x28]
mov edx, dword [eax + 8]
call fcn.10075c46
mov dword [ebp - 0xa8], eax
mov eax, ebx
mov dword [ebp - 0xa4], edx
and edx, 0x80
or eax, edx
jne 0x100da8b8
push 0x1003b41c
lea ecx, [ebp - 0x74]
call fcn.1006e757
mov dword [ebp - 0x5c], 0x2e6
mov byte [ebp - 4], 1
call fcn.1006c4b2
xor eax, eax
mov dword [ebp - 0x48], ebx
push 0x1003b390
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.1006af70
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.100811b3
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.1008145d
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.100cf555
mov esi, eax
mov dword [ebp - 0x30], ebx
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x1001df4c
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
call fcn.1006af70
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
push 1
lea ecx, [ebp - 0x74]
call fcn.10081090
lea ecx, [ebp - 0x40]
call fcn.1006af06
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x94], 0x10002e5c
call fcn.1006af06
lea ecx, [ebp - 0x58]
call fcn.1006af06
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.1006b804
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1013f49c]
mov ecx, edi
call esi
test al, al
jne 0x100da8e7
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1013f49c]
mov ecx, edi
call esi
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x28]
call fcn.1006af06
mov eax, ebx
call fcn.10062bca
ret
Function at 0x100dae72
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x1c
mov eax, 0x1010bc06
call fcn.10062c32
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.100daef5
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100daedd
cmp eax, dword [esi + 0x10]
jne 0x100daea9
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.10080ada
test al, al
jne 0x100daedd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x100daeb5
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100daedd
cmp eax, 0x10
je 0x100daedd
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1007c7f0
lea ecx, [ebp - 0x28]
call fcn.1006af06
mov al, 1
jmp 0x100daee7
lea ecx, [ebp - 0x28]
call fcn.1006af06
xor al, al
call fcn.10062bca
ret 4
Function at 0x100e0a90
Capabilities:
Listen for remote procedure calls

Disassembly:
push 0x38
mov eax, 0x10116e08
call fcn.10062c32
mov edi, ecx
mov dword [ebp - 0x44], edi
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [ebp + 0x18]
mov esi, ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0x10005b80
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
call fcn.1007f497
test al, al
jne 0x100e0b01
call fcn.100dff27
lea ecx, [ebp - 0x34]
cmp eax, 0x602
jb 0x100e0ae8
mov byte [ebp - 0x2c], 1
call fcn.100df98e
jmp 0x100e0af0
mov byte [ebp - 0x2c], bl
call fcn.100df9ee
test al, al
jne 0x100e0afb
mov edi, ebx
jmp 0x100e0c71
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x38], esi
push ecx
push ecx
push esi
push dword [ebp - 0x2c]
mov ecx, edi
sub esp, 0xc
call fcn.100e00ed
mov edi, edx
mov ecx, ebx
mov esi, edi
and esi, 0x80
or ecx, esi
jne 0x100e0b28
mov ebx, eax
jmp 0x100e0c71
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x14], 8
jb 0x100e0b33
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x14], 8
jb 0x100e0b3e
mov ecx, dword [ecx]
push dword [ebp - 0x38]
push ecx
push ecx
push eax
call fcn.100e0791
mov esi, eax
test esi, esi
je 0x100e0b67
call fcn.100dfd33
mov edi, edx
or eax, esi
or edi, ebx
or ebx, eax
or edi, 0xf25
jmp 0x100e0c71
xor eax, eax
mov dword [ebp - 0x18], ebx
push 0x1002e188
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1006af70
push 0x10
lea eax, [ebp - 0x28]
push eax
call fcn.100e0658
lea ecx, [ebp - 0x28]
mov esi, eax
mov edi, edx
call fcn.1006af06
mov edx, edi
mov ecx, ebx
and edx, 0x80
or ecx, edx
jne 0x100e0bb0
mov ebx, esi
jmp 0x100e0c71
xor eax, eax
mov dword [ebp - 0x18], ebx
push 0x1002e188
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1006af70
push 9
lea eax, [ebp - 0x28]
push eax
call fcn.100e0658
lea ecx, [ebp - 0x28]
mov esi, eax
mov edi, edx
call fcn.1006af06
mov edx, edi
mov ecx, ebx
and edx, 0x80
or ecx, edx
je 0x100e0ba9
xor eax, eax
mov dword [ebp - 0x18], ebx
push 0x1002e188
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1006af70
push 0xa
lea eax, [ebp - 0x28]
push eax
call fcn.100e0658
lea ecx, [ebp - 0x28]
mov esi, eax
mov edi, edx
call fcn.1006af06
mov edx, edi
mov ecx, ebx
and edx, 0x80
or ecx, edx
je 0x100e0ba9
mov eax, dword [ebp - 0x44]
push 1
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
mov esi, eax
cmp esi, 0x6b1
je 0x100e0c6c
test esi, esi
je 0x100e0c6c
call fcn.100dfd33
mov edi, edx
or eax, esi
or edi, ebx
or ebx, eax
or edi, 0x2225
jmp 0x100e0c71
mov edi, 0x80
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x10005b80
call fcn.100df850
mov eax, ebx
mov edx, edi
call fcn.10062bca
ret 0x24
Function at 0x100e2cc2
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov ebx, ecx
lea esi, [edx - 0x10000]
jmp 0x100e2d36
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100e2cec
sub esi, 0x8000000
jmp 0x100e2d3f
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100e2d43
mov edi, 0x10000
cmp dword [ebp - 0xc], edi
jne 0x100e2d2d
cmp dword [ebp - 0x10], edi
jb 0x100e2d2d
push 0x40
push 0x3000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x100e2d45
sub esi, edi
jmp 0x100e2d3f
mov esi, dword [ebp - 0x18]
add esi, 0xffff0000
movzx eax, si
test eax, eax
je 0x100e2d3f
sub esi, eax
cmp esi, ebx
ja 0x100e2cd7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100e2d50
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov ebx, edx
movzx eax, si
push edi
mov edi, 0x10000
test eax, eax
je 0x100e2dd9
sub esi, eax
add esi, edi
jmp 0x100e2dd9
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100e2d86
add esi, 0x8000000
jmp 0x100e2dd9
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100e2ddd
mov ecx, dword [ebp - 0x10]
mov edi, 0x10000
cmp dword [ebp - 0xc], edi
jne 0x100e2dc7
cmp ecx, edi
jb 0x100e2dc7
push 0x40
push 0x3000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x100e2ddf
jmp 0x100e2d6d
mov esi, dword [ebp - 0x1c]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x100e2dd9
mov eax, edi
sub eax, ecx
add esi, eax
cmp esi, ebx
jb 0x100e2d71
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret