joyce8/EMBER2024-capa huggingface dataset:
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.100786bc
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.100786bc
mov ecx, esi
call fcn.100afc8a
jmp 0x100ae181
cmp eax, 0x42
jne 0x100ae0da
push 4
lea ecx, [esi + 0x24]
call fcn.100786bc
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100ae0b6
mov ecx, esi
call fcn.100786bc
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.100786bc
mov bl, 1
mov ecx, esi
call fcn.100afc8a
test bl, bl
je 0x100ae181
mov ecx, esi
call fcn.100786bc
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.100786bc
int3
Function at 0x100ae03f
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.100786bc
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.100786bc
mov ecx, esi
call fcn.100afc8a
jmp 0x100ae181
cmp eax, 0x42
jne 0x100ae0da
push 4
lea ecx, [esi + 0x24]
call fcn.100786bc
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100ae0b6
mov ecx, esi
call fcn.100786bc
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.100786bc
mov bl, 1
mov ecx, esi
call fcn.100afc8a
test bl, bl
je 0x100ae181
mov ecx, esi
call fcn.100786bc
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.100786bc
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.100786bc
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.100786bc
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.100786bc
cmp dword [0x1013c3e0], 8
mov eax, 0x1013c3cc
jb 0x100b080f
mov eax, dword [0x1013c3cc]
push dword [0x1013c3dc]
lea ecx, [ebp - 0x40]
push eax
call fcn.100786bc
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.100786bc
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.100786bc
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.100786bc
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.100786bc
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.100786bc
lea ecx, [ebp - 0x28]
call fcn.100786bc
test al, al
je 0x100b0904
mov ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x28]
push eax
call fcn.100786bc
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.100786bc
xor esi, esi
lea ecx, [ebp - 0x70]
push ebx
mov edx, eax
mov dword [ebp - 4], esi
call fcn.100786bc
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.100786bc
push 0x1011cc58
lea eax, [ebp - 0xb00]
push eax
call fcn.100786bc
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.100786bc
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.100786bc
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.100786bc
push edi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100786bc
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.100786bc
push 0x1011cc58
lea eax, [ebp - 0x868]
push eax
call fcn.100786bc
int3
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.100786bc
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.100786bc
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.100786bc
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.100786bc
push 0x1011c9c8
lea eax, [ebp - 0x470]
push eax
call fcn.100786bc
int3
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.100786bc
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.100786bc
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.100786bc
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.100786bc
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.100786bc
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.100786bc
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.100786bc
lea ecx, [ebp - 0x34]
cmp eax, 0x602
jb 0x100e0ae8
mov byte [ebp - 0x2c], 1
call fcn.100786bc
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.100786bc
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.100786bc
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.100786bc
push 0x10
lea eax, [ebp - 0x28]
push eax
call fcn.100786bc
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.100786bc
push 9
lea eax, [ebp - 0x28]
push eax
call fcn.100786bc
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.100786bc
push 0xa
lea eax, [ebp - 0x28]
push eax
call fcn.100786bc
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.100786bc
mov eax, ebx
mov edx, edi
call fcn.10062bca
ret 0x24
Function at 0x100e2dea
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
cmp esi, 0x7ff80000
jbe 0x100e2e0e
lea edi, [esi - 0x7ff80000]
cmp esi, 0x80000000
jb 0x100e2e13
mov ebx, 0xfff80000
jmp 0x100e2e19
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
mov edx, dword [0x1013dde4]
mov eax, dword [0x1013ddd0]
test edx, edx
jne 0x100e2e34
test eax, eax
je 0x100e2e47
mov edx, eax
mov dword [0x1013dde4], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x100e2e47
cmp ecx, edi
jb 0x100e2e47
cmp ecx, ebx
jbe 0x100e2ecb
mov edx, eax
test eax, eax
jmp 0x100e2e65
test edx, edx
je 0x100e2e60
mov eax, dword [edx + 8]
test eax, eax
je 0x100e2e60
cmp eax, edi
jb 0x100e2e60
cmp eax, ebx
jbe 0x100e2ecb
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x1013dde4], edx
jne 0x100e2e4d
and esi, 0xffff0000
mov ecx, edi
mov edx, esi
call fcn.100786bc
mov edx, eax
test edx, edx
jne 0x100e2e91
mov edx, ebx
mov ecx, esi
call fcn.100786bc
mov edx, eax
test edx, edx
je 0x100e2ef0
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x2a7
mov eax, dword [0x1013ddd0]
mov dword [edx + 4], eax
lea eax, [edx + 0xff60]
mov dword [0x1013dde4], edx
mov dword [0x1013ddd0], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x60
sub esi, 1
jne 0x100e2ebb
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, edi
jb 0x100e2ef0
cmp esi, ebx
ja 0x100e2ef0
mov ecx, dword [esi + 0x40]
push 0x60
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.100638f0
add esp, 0xc
mov eax, esi
jmp 0x100e2ef2
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x100e2ded
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
cmp esi, 0x7ff80000
jbe 0x100e2e0e
lea edi, [esi - 0x7ff80000]
cmp esi, 0x80000000
jb 0x100e2e13
mov ebx, 0xfff80000
jmp 0x100e2e19
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
mov edx, dword [0x1013dde4]
mov eax, dword [0x1013ddd0]
test edx, edx
jne 0x100e2e34
test eax, eax
je 0x100e2e47
mov edx, eax
mov dword [0x1013dde4], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x100e2e47
cmp ecx, edi
jb 0x100e2e47
cmp ecx, ebx
jbe 0x100e2ecb
mov edx, eax
test eax, eax
jmp 0x100e2e65
test edx, edx
je 0x100e2e60
mov eax, dword [edx + 8]
test eax, eax
je 0x100e2e60
cmp eax, edi
jb 0x100e2e60
cmp eax, ebx
jbe 0x100e2ecb
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x1013dde4], edx
jne 0x100e2e4d
and esi, 0xffff0000
mov ecx, edi
mov edx, esi
call fcn.100786bc
mov edx, eax
test edx, edx
jne 0x100e2e91
mov edx, ebx
mov ecx, esi
call fcn.100786bc
mov edx, eax
test edx, edx
je 0x100e2ef0
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x2a7
mov eax, dword [0x1013ddd0]
mov dword [edx + 4], eax
lea eax, [edx + 0xff60]
mov dword [0x1013dde4], edx
mov dword [0x1013ddd0], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x60
sub esi, 1
jne 0x100e2ebb
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, edi
jb 0x100e2ef0
cmp esi, ebx
ja 0x100e2ef0
mov ecx, dword [esi + 0x40]
push 0x60
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.100638f0
add esp, 0xc
mov eax, esi
jmp 0x100e2ef2
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x100e3184
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x10129490
call fcn.100622e0
mov edi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.kernel32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x100e31fa
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x100e31fa
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x100e31fa
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x100e31fa
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100e3203
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100e3a5a
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x1013dde0]
push esi
mov esi, ecx
test eax, eax
jne 0x100e3abc
call dword [sym.imp.kernel32.dll_GetCurrentThread]
cmp esi, eax
jne 0x100e3a6f
xor eax, eax
pop esi
ret
push edi
push 8
call fcn.100786bc
pop ecx
push esi
mov edi, eax
call dword [sym.imp.kernel32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100e3aa9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.100786bc
and dword [0x1013ddd4], 0
mov eax, esi
pop ecx
pop ecx
mov dword [0x1013dde0], esi
jmp 0x100e3abb
mov eax, dword [0x1013ddd8]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [0x1013ddd8], edi
pop edi
pop esi
ret
Function at 0x1001d102
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1001d111
pop dword [ebp - 0x40]
mov eax, 0x8d93351
sub eax, 0xf8d76240
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x4015c
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x46a5
xor edx, edx
add edx, eax
mov ebx, 0x8ad9e844
sub ebx, 0x7ad62a44
add ebx, dword [ebp - 0x40]
mov esi, 0xd6afa151
add esi, 0xc043cbd3
xor dword [ebp - 0x18], 0xc9f4da67
mov edi, dword [ebx]
xor dword [ebp - 0x10], ecx
xor edi, esi
sub dword [ebp - 0xc], 0x455aa4e7
mov dword [edx], edi
sub dword [ebp - 0x20], 0xdddcf24f
add edx, 0x5e6eeb13
add edx, 0xa19114f1
add ebx, 4
loop 0x1001d167
add eax, 0xd0c063b9
add eax, 0x2f40a9ae
xor ebx, ebx
add ebx, eax
add eax, 0x7706ae66
sub eax, 0x7706ae61
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.1001d102
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.1001d102
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret