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

Disassembly:
push 0x890
mov eax, 0x1010f0e5
call fcn.10062882
mov edi, edx
mov dword [ebp - 0x88c], ecx
cmp dword [edi + 0x14], 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x890], eax
mov eax, edi
mov dword [ebp - 0x888], 7
mov dword [ebp - 0x884], 1
jb 0x100aaa8b
mov eax, dword [edi]
lea edx, [ebp - 0x884]
xor esi, esi
push edx
push esi
lea edx, [ebp - 0x888]
push edx
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, 2
je 0x100aaba0
cmp dword [ebp - 0x888], 7
jne 0x100aaba0
test ebx, ebx
jne 0x100aabaa
mov eax, dword [ebp - 0x884]
lea ecx, [ebp - 0x89c]
add eax, 2
push eax
mov dword [ebp - 0x884], eax
call fcn.100aae4d
mov dword [ebp - 4], 3
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100aaaf1
mov eax, dword [edi]
lea ecx, [ebp - 0x884]
push ecx
push dword [ebp - 0x89c]
lea ecx, [ebp - 0x888]
push ecx
push esi
push eax
push dword [ebp - 0x88c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
je 0x100aab4d
push 0x10032be8
lea ecx, [ebp - 0x58]
call fcn.10051bfb
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10051bfb
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.1006a8f0
push ecx
push ecx
push esi
push esi
lea eax, [ebp - 0x40]
jmp 0x100aabd8
mov eax, dword [ebp - 0x89c]
mov edi, dword [ebp - 0x890]
push eax
lea ecx, [ebp - 0x28]
call fcn.10051bfb
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.10051bfb
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
inc eax
mov byte [ebp - 4], 3
add esi, eax
call fcn.1006ab66
mov ecx, dword [ebp - 0x89c]
lea eax, [ecx + esi*2]
cmp byte [eax], 0
jne 0x100aab59
lea ecx, [ebp - 0x89c]
call fcn.10074a9b
mov al, 1
jmp 0x100aaba2
xor al, al
call fcn.1006281a
ret 4
push 0x10032b20
lea ecx, [ebp - 0x40]
call fcn.10051bfb
push edi
mov edx, eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x58]
call fcn.10051bfb
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.1006a8f0
push ecx
push ecx
push esi
push esi
lea eax, [ebp - 0x58]
push eax
push esi
push ebx
push 0x21
lea ecx, [ebp - 0x880]
call fcn.10051bfb
push 0x1011c248
lea eax, [ebp - 0x880]
push eax
call fcn.10051bfb
int3
Function at 0x100aac4c
Capabilities:
Set registry value

Disassembly:
push 0x878
mov eax, 0x1010f160
call fcn.10062882
mov dword [ebp - 0x874], edx
mov dword [ebp - 0x878], ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x86c], 1
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov ebx, dword [ebp - 0x86c]
cmp esi, edi
setne al
test al, al
je 0x100aaca4
push esi
lea ecx, [ebp - 0x28]
call fcn.10051bfb
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
inc eax
add ebx, eax
call fcn.1006ab66
add esi, 0x18
jmp 0x100aac7f
lea eax, [ebx + ebx]
push eax
lea ecx, [ebp - 0x884]
mov dword [ebp - 0x870], eax
call fcn.100aae4d
mov ebx, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x86c], 0
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov ebx, dword [ebp - 0x86c]
cmp esi, edi
setne al
test al, al
je 0x100aad18
push esi
lea ecx, [ebp - 0x28]
call fcn.10051bfb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x884]
inc ecx
push ecx
lea ecx, [ebp - 0x28]
lea edx, [edx + ebx]
call fcn.100ab044
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
lea ebx, [ebx + eax*2]
add ebx, 2
call fcn.1006ab66
add esi, 0x18
jmp 0x100aacd2
mov edx, dword [ebp - 0x884]
mov ecx, 0x1013b714
push 2
lea edx, [edx + ebx]
call fcn.100ab044
push dword [ebp - 0x870]
mov edi, dword [ebp - 0x874]
xor ebx, ebx
push dword [ebp - 0x884]
push 7
push ebx
push edi
push dword [ebp - 0x878]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x100aad6a
lea ecx, [ebp - 0x884]
call fcn.10074a9b
call fcn.1006281a
ret 8
push 0x10032aa0
lea ecx, [ebp - 0x28]
call fcn.10051bfb
push edi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10051bfb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.1006a8f0
push ecx
push ecx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push ebx
push esi
push 0x22
lea ecx, [ebp - 0x868]
call fcn.10051bfb
push 0x1011c248
lea eax, [ebp - 0x868]
push eax
call fcn.10051bfb
int3

Function at 0x100aadc1
Capabilities:
Set registry value

Disassembly:
push 0x85c
mov eax, 0x1010f1a5
call fcn.10062882
mov esi, edx
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push eax
push dword [ebp + 8]
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
jne 0x100aadf5
call fcn.1006281a
ret 0xc
push 0x10032a30
lea ecx, [ebp - 0x28]
call fcn.10051bfb
push esi
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x40]
call fcn.10051bfb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.1006a8f0
push ecx
push ecx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
push ebx
push edi
push 0x22
lea ecx, [ebp - 0x868]
call fcn.10051bfb
push 0x1011c248
lea eax, [ebp - 0x868]
push eax
call fcn.10051bfb
int3
Function at 0x100adc8b
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 0x100adde0
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100adde0
cmp eax, 0x29
jne 0x100adcc6
cmp dword [esi + 0x10], 0
jne 0x100adde0
test dword [esi + 0x50], edx
je 0x100adde6
cmp eax, 0x2e
jne 0x100adce1
push 5
lea ecx, [esi + 0x24]
call fcn.10051bfb
mov ecx, esi
call fcn.100af8da
jmp 0x100addca
cmp eax, 0x5c
jne 0x100add36
mov ecx, esi
call fcn.100af8da
test byte [esi + 0x50], 0x80
je 0x100add2a
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x100add12
push 4
lea ecx, [esi + 0x24]
call fcn.10051bfb
mov ecx, esi
call fcn.100af8da
jmp 0x100addd1
cmp eax, 0x42
jne 0x100add2a
push 4
lea ecx, [esi + 0x24]
call fcn.10051bfb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100add06
mov ecx, esi
call fcn.10051bfb
jmp 0x100addca
cmp eax, 0x5b
jne 0x100add56
mov ecx, esi
call fcn.100af8da
mov ecx, esi
call fcn.100ae2a3
cmp dword [esi + 0x4c], 0x5d
je 0x100adcd5
push 4
jmp 0x100adde8
cmp eax, 0x28
jne 0x100add73
mov ecx, esi
call fcn.100af8da
mov ecx, esi
call fcn.100afc2e
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x100adde6
jmp 0x100addbf
cmp eax, 0x5e
jne 0x100add7c
push 2
jmp 0x100adcfe
cmp eax, 0x24
jne 0x100add88
push 3
jmp 0x100adcfe
cmp eax, 0x2a
je 0x100adddc
cmp eax, 0x2b
je 0x100adddc
cmp eax, 0x3f
je 0x100adddc
cmp eax, 0x7b
je 0x100adddc
cmp eax, 0x7d
jne 0x100adda6
test dword [esi + 0x50], edx
je 0x100addd8
cmp eax, 0x5d
jne 0x100addb0
test dword [esi + 0x50], edx
je 0x100add4f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10051bfb
mov bl, 1
mov ecx, esi
call fcn.100af8da
test bl, bl
je 0x100addd1
mov ecx, esi
call fcn.10051bfb
mov cl, 1
jmp 0x100adc94
push 6
jmp 0x100adde8
push 0xa
jmp 0x100adde8
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.10051bfb
int3
Function at 0x100adc8f
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 0x100adde0
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100adde0
cmp eax, 0x29
jne 0x100adcc6
cmp dword [esi + 0x10], 0
jne 0x100adde0
test dword [esi + 0x50], edx
je 0x100adde6
cmp eax, 0x2e
jne 0x100adce1
push 5
lea ecx, [esi + 0x24]
call fcn.10051bfb
mov ecx, esi
call fcn.100af8da
jmp 0x100addca
cmp eax, 0x5c
jne 0x100add36
mov ecx, esi
call fcn.100af8da
test byte [esi + 0x50], 0x80
je 0x100add2a
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x100add12
push 4
lea ecx, [esi + 0x24]
call fcn.10051bfb
mov ecx, esi
call fcn.100af8da
jmp 0x100addd1
cmp eax, 0x42
jne 0x100add2a
push 4
lea ecx, [esi + 0x24]
call fcn.10051bfb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100add06
mov ecx, esi
call fcn.10051bfb
jmp 0x100addca
cmp eax, 0x5b
jne 0x100add56
mov ecx, esi
call fcn.100af8da
mov ecx, esi
call fcn.100ae2a3
cmp dword [esi + 0x4c], 0x5d
je 0x100adcd5
push 4
jmp 0x100adde8
cmp eax, 0x28
jne 0x100add73
mov ecx, esi
call fcn.100af8da
mov ecx, esi
call fcn.100afc2e
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x100adde6
jmp 0x100addbf
cmp eax, 0x5e
jne 0x100add7c
push 2
jmp 0x100adcfe
cmp eax, 0x24
jne 0x100add88
push 3
jmp 0x100adcfe
cmp eax, 0x2a
je 0x100adddc
cmp eax, 0x2b
je 0x100adddc
cmp eax, 0x3f
je 0x100adddc
cmp eax, 0x7b
je 0x100adddc
cmp eax, 0x7d
jne 0x100adda6
test dword [esi + 0x50], edx
je 0x100addd8
cmp eax, 0x5d
jne 0x100addb0
test dword [esi + 0x50], edx
je 0x100add4f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10051bfb
mov bl, 1
mov ecx, esi
call fcn.100af8da
test bl, bl
je 0x100addd1
mov ecx, esi
call fcn.10051bfb
mov cl, 1
jmp 0x100adc94
push 6
jmp 0x100adde8
push 0xa
jmp 0x100adde8
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.10051bfb
int3

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

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

Disassembly:
push 0xafc
mov eax, 0x1010f911
call fcn.10062882
mov ebx, edx
mov dword [ebp - 0xb04], ebx
mov esi, ecx
mov dword [ebp - 0xb08], esi
mov ecx, ebx
call fcn.100b02fd
test al, al
je 0x100b058d
mov ecx, esi
call fcn.10075cd8
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.10051bfb
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.10051bfb
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 4
mov ecx, ebx
call fcn.100ab0c6
mov bl, al
mov byte [ebp - 4], 3
neg bl
lea ecx, [ebp - 0x28]
sbb bl, bl
call fcn.1006ab66
add bl, 1
je 0x100b044c
push edi
lea ecx, [ebp - 0x40]
call fcn.10051bfb
cmp dword [0x1013b3d0], 8
mov eax, 0x1013b3bc
jb 0x100b045f
mov eax, dword [0x1013b3bc]
push dword [0x1013b3cc]
lea ecx, [ebp - 0x40]
push eax
call fcn.10051bfb
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
jb 0x100b047a
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 0x100b04c7
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 3
je 0x100b057d
cmp eax, 2
je 0x100b057d
push 0x100332b8
lea ecx, [ebp - 0x70]
call fcn.10051bfb
push ecx
push ecx
push esi
push esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
push 0x11
jmp 0x100b05c6
push dword [ebp - 0xb04]
lea ecx, [ebp - 0x28]
call fcn.10051bfb
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.10051bfb
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.100ab0c6
mov bl, al
mov byte [ebp - 4], 6
neg bl
lea ecx, [ebp - 0x58]
sbb bl, bl
call fcn.1006ab66
add bl, 1
je 0x100b052a
push 0x1002e210
lea ecx, [ebp - 0x28]
call fcn.10051bfb
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.10051bfb
lea ecx, [ebp - 0x28]
call fcn.10051bfb
test al, al
je 0x100b0554
mov ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x28]
push eax
call fcn.10051bfb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.1006ab66
lea eax, [ebp - 0x2d8]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x100b04c7
push edi
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.1006ab66
call fcn.1006281a
ret 4
push 0x10033300
lea ecx, [ebp - 0x88]
call fcn.10051bfb
xor esi, esi
lea ecx, [ebp - 0x70]
push ebx
mov edx, eax
mov dword [ebp - 4], esi
call fcn.10051bfb
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.1006a8f0
push ecx
push ecx
push esi
push esi
lea eax, [ebp - 0x70]
push eax
push 0x32
lea ecx, [ebp - 0xb00]
call fcn.10051bfb
push 0x1011c248
lea eax, [ebp - 0xb00]
push eax
call fcn.10051bfb
int3
Function at 0x100b099c
Capabilities:
Read file via mapping

Disassembly:
push 0x864
mov eax, 0x1010fa7b
call fcn.10062882
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 0x100b09e8
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 0x100b0a4a
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 0x100b0a40
push 0x10033418
lea ecx, [ebp - 0x40]
call fcn.10051bfb
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10051bfb
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.1006a8f0
push ecx
push ecx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x15
jmp 0x100b0a7c
mov eax, esi
call fcn.1006281a
ret 8
push 0x10033540
lea ecx, [ebp - 0x28]
call fcn.10051bfb
push edi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10051bfb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.1006a8f0
push ecx
push ecx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x16
lea ecx, [ebp - 0x868]
call fcn.10051bfb
push 0x1011c248
lea eax, [ebp - 0x868]
push eax
call fcn.10051bfb
int3
Function at 0x100be18a
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 0x100be1c2
lea edi, [esi + 4]
test edi, edi
je 0x100be1c2
call fcn.100be39d
test al, al
je 0x100be1c2
mov ecx, esi
call fcn.100be39d
test al, al
je 0x100be1c2
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x100be1c4
xor al, al
pop edi
pop esi
pop ebx
ret

Function at 0x100bf31b
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x464
mov eax, 0x10111e76
call fcn.10062882
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 0x100bf43d
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.10051bfb
mov dword [ebp - 0x440], ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
jb 0x100bf3b3
mov eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x440]
push ecx
mov ecx, dword [ebp - 0x444]
push eax
call fcn.10051bfb
mov dword [ebp - 0x43c], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
jb 0x100bf3e5
mov eax, dword [ebp - 0x438]
push ebx
push eax
push dword [esi]
lea ecx, [ebp - 0x43c]
call fcn.10051bfb
test al, al
je 0x100bf466
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x43c]
call fcn.100bf31b
cmp dword [ebp - 0x43c], 0
je 0x100bf41f
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x440], 0
je 0x100bf437
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
jmp 0x100bf355
mov edi, dword [ebp - 0x444]
jmp 0x100bf446
inc ebx
push edi
push ebx
mov ecx, esi
call fcn.100bf489
test al, al
jne 0x100bf445
lea ecx, [ebp - 0x438]
call fcn.1006ab66
call fcn.1006281a
ret 4
lea ecx, [ebp - 0x470]
call fcn.10051bfb
push 0x1011bfb8
lea eax, [ebp - 0x470]
push eax
call fcn.10051bfb
int3
Function at 0x100da334
Capabilities:
Resume thread

Disassembly:
push 0x9c
mov eax, 0x10115884
call fcn.10062882
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 [0x1013e49c]
mov ecx, edi
call esi
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100da50d
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1013e49c]
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 [0x1013e49c]
mov ecx, dword [ebp - 0x98]
call esi
mov edx, edi
mov ecx, eax
call fcn.10051bfb
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 [0x1013e49c]
mov ecx, edi
call esi
lea ecx, [ebp - 0x28]
mov edx, dword [eax + 8]
call fcn.100758a6
mov dword [ebp - 0xa8], eax
mov eax, ebx
mov dword [ebp - 0xa4], edx
and edx, 0x80
or eax, edx
jne 0x100da4d8
push 0x1003b424
lea ecx, [ebp - 0x74]
call fcn.10051bfb
mov dword [ebp - 0x5c], 0x2e6
mov byte [ebp - 4], 1
call fcn.1006c112
xor eax, eax
mov dword [ebp - 0x48], ebx
push 0x1003b398
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.10051bfb
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10051bfb
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.100810bd
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.100cf175
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.10051bfb
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
push 1
lea ecx, [ebp - 0x74]
call fcn.10080cf0
lea ecx, [ebp - 0x40]
call fcn.1006ab66
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x94], 0x10002e5c
call fcn.1006ab66
lea ecx, [ebp - 0x58]
call fcn.1006ab66
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.1006b464
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1013e49c]
mov ecx, edi
call esi
test al, al
jne 0x100da507
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1013e49c]
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.1006ab66
mov eax, ebx
call fcn.1006281a
ret
Function at 0x100daa92
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x1c
mov eax, 0x1010b266
call fcn.10062882
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.100dab15
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100daafd
cmp eax, dword [esi + 0x10]
jne 0x100daac9
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.1008073a
test al, al
jne 0x100daafd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x100daad5
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100daafd
cmp eax, 0x10
je 0x100daafd
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10051bfb
lea ecx, [ebp - 0x28]
call fcn.1006ab66
mov al, 1
jmp 0x100dab07
lea ecx, [ebp - 0x28]
call fcn.1006ab66
xor al, al
call fcn.1006281a
ret 4
Function at 0x100e06b0
Capabilities:
Listen for remote procedure calls

Disassembly:
push 0x38
mov eax, 0x10116468
call fcn.10062882
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.1007f0f7
test al, al
jne 0x100e0721
call fcn.10051bfb
lea ecx, [ebp - 0x34]
cmp eax, 0x602
jb 0x100e0708
mov byte [ebp - 0x2c], 1
call fcn.10051bfb
jmp 0x100e0710
mov byte [ebp - 0x2c], bl
call fcn.100df60e
test al, al
jne 0x100e071b
mov edi, ebx
jmp 0x100e0891
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.10051bfb
mov edi, edx
mov ecx, ebx
mov esi, edi
and esi, 0x80
or ecx, esi
jne 0x100e0748
mov ebx, eax
jmp 0x100e0891
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x14], 8
jb 0x100e0753
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x14], 8
jb 0x100e075e
mov ecx, dword [ecx]
push dword [ebp - 0x38]
push ecx
push ecx
push eax
call fcn.10051bfb
mov esi, eax
test esi, esi
je 0x100e0787
call fcn.100df953
mov edi, edx
or eax, esi
or edi, ebx
or ebx, eax
or edi, 0xf25
jmp 0x100e0891
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.10051bfb
push 0x10
lea eax, [ebp - 0x28]
push eax
call fcn.10051bfb
lea ecx, [ebp - 0x28]
mov esi, eax
mov edi, edx
call fcn.1006ab66
mov edx, edi
mov ecx, ebx
and edx, 0x80
or ecx, edx
jne 0x100e07d0
mov ebx, esi
jmp 0x100e0891
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.10051bfb
push 9
lea eax, [ebp - 0x28]
push eax
call fcn.10051bfb
lea ecx, [ebp - 0x28]
mov esi, eax
mov edi, edx
call fcn.1006ab66
mov edx, edi
mov ecx, ebx
and edx, 0x80
or ecx, edx
je 0x100e07c9
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.10051bfb
push 0xa
lea eax, [ebp - 0x28]
push eax
call fcn.10051bfb
lea ecx, [ebp - 0x28]
mov esi, eax
mov edi, edx
call fcn.1006ab66
mov edx, edi
mov ecx, ebx
and edx, 0x80
or ecx, edx
je 0x100e07c9
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 0x100e088c
test esi, esi
je 0x100e088c
call fcn.100df953
mov edi, edx
or eax, esi
or edi, ebx
or ebx, eax
or edi, 0x2225
jmp 0x100e0891
mov edi, 0x80
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x10005b80
call fcn.10051bfb
mov eax, ebx
mov edx, edi
call fcn.1006281a
ret 0x24
Function at 0x100e2a0a
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
cmp esi, 0x7ff80000
jbe 0x100e2a2e
lea edi, [esi - 0x7ff80000]
cmp esi, 0x80000000
jb 0x100e2a33
mov ebx, 0xfff80000
jmp 0x100e2a39
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
mov edx, dword [0x1013cddc]
mov eax, dword [0x1013cde4]
test edx, edx
jne 0x100e2a54
test eax, eax
je 0x100e2a67
mov edx, eax
mov dword [0x1013cddc], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x100e2a67
cmp ecx, edi
jb 0x100e2a67
cmp ecx, ebx
jbe 0x100e2aeb
mov edx, eax
test eax, eax
jmp 0x100e2a85
test edx, edx
je 0x100e2a80
mov eax, dword [edx + 8]
test eax, eax
je 0x100e2a80
cmp eax, edi
jb 0x100e2a80
cmp eax, ebx
jbe 0x100e2aeb
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x1013cddc], edx
jne 0x100e2a6d
and esi, 0xffff0000
mov ecx, edi
mov edx, esi
call fcn.10051bfb
mov edx, eax
test edx, edx
jne 0x100e2ab1
mov edx, ebx
mov ecx, esi
call fcn.10051bfb
mov edx, eax
test edx, edx
je 0x100e2b10
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x2a7
mov eax, dword [0x1013cde4]
mov dword [edx + 4], eax
lea eax, [edx + 0xff60]
mov dword [0x1013cddc], edx
mov dword [0x1013cde4], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x60
sub esi, 1
jne 0x100e2adb
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, edi
jb 0x100e2b10
cmp esi, ebx
ja 0x100e2b10
mov ecx, dword [esi + 0x40]
push 0x60
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.10063540
add esp, 0xc
mov eax, esi
jmp 0x100e2b12
xor eax, eax
pop edi
pop esi
pop ebx
ret