joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4202d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x10a7e8f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0x10a9b54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0x10a9b54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0x10a9a378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10a7e8fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x10005dfe
Capabilities:
Accept command line arguments

Disassembly:
push 0xd8
mov eax, 0x1013bfce
call fcn.100fb169
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x74]
call fcn.10108418
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xd0]
call fcn.10108418
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push str.SoftwareMicrosoftOfficeClickToRunDelayLaunchApps
lea ecx, [ebp - 0x5c]
call fcn.10108418
mov byte [ebp - 4], 3
push ecx
push ecx
push 1
push ecx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 0x101d8470
call fcn.10108418
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10004aa2
test esi, esi
je 0x10005ea8
call dword [sym.imp.kernel32.dll_GetTickCount64]
push edx
push eax
lea ecx, [ebp - 0x8c]
call fcn.1000b781
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.1000c1e3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.10004aa2
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
xor eax, eax
mov word [ebp - 0x44], ax
push str._waittolaunch
lea ecx, [ebp - 0x44]
call fcn.10108418
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
xor eax, eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 7
push dword [0x101ce048]
lea ecx, [ebp - 0x5c]
call fcn.10108418
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe0]
call fcn.1000b6a4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [eax]
call fcn.10108418
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x5c]
mov ecx, eax
call fcn.10003e67
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
call fcn.10004aa2
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x10005f53
call fcn.1000b67c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.10004aa2
lea ecx, [ebp - 0x2c]
call fcn.10108418
test al, al
je 0x10005f9f
lea ecx, [ebp - 0xa4]
call fcn.100e6c34
mov byte [ebp - 4], 0xb
push ecx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.100e6eb4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.100e6cb1
jmp 0x10005fa8
lea eax, [ebp - 0x2c]
push eax
call fcn.10108418
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.10004aa2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10004aa2
mov byte [ebp - 4], bl
jmp 0x10006010
lea ecx, [ebp - 0xd0]
call fcn.10108418
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10004aa2
call fcn.100fb0ba
ret
Function at 0x1000c1e3
Capabilities:
Set registry value

Disassembly:
push 0x3cc
mov eax, 0x1013d214
call fcn.100fb0fb
mov dword [ebp - 0x3d0], ecx
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov edi, dword [ebp + 8]
mov edx, esi
and dword [ebp - 0x3d4], 0
call fcn.10108418
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x3d4], ebx
call fcn.10108418
mov dword [ebp - 4], 4
mov eax, ebx
mov dword [ebp - 0x3d4], eax
lea ecx, [ebp - 0x40]
and eax, 0xfffffffe
mov dword [ebp - 0x3d4], eax
call fcn.10004aa2
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.1000b94c
mov ecx, dword [ebp - 0x3d0]
mov bl, al
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x3d8], eax
test eax, eax
je 0x1000c335
cmp dword [edi + 0x10], 0x3fff
jbe 0x1000c2a3
test bl, bl
mov edx, 0x1015e490
mov eax, str.EXPAND_SZ
cmovne eax, edx
mov dword [ebp - 0x3d0], eax
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x3d0]
push eax
push ecx
push ecx
lea ecx, [ebp - 0x3cc]
call fcn.10108418
jmp 0x1000c35e
mov eax, dword [esi + 0x10]
lea edx, [eax*2 + 2]
test eax, eax
jne 0x1000c2b8
mov eax, 0x1015e478
jmp 0x1000c2c2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000c2c2
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x1000c2cc
mov ecx, dword [edi]
push edx
push eax
movzx eax, bl
xor eax, 1
inc eax
push eax
push 0
push ecx
push dword [ebp - 0x3d8]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
je 0x1000c321
test bl, bl
mov edx, 0x1015e490
mov ecx, str.EXPAND_SZ
cmovne ecx, edx
mov dword [ebp - 0x3d8], ecx
mov ecx, dword [ebp - 0x3d0]
add ecx, 8
push ecx
push esi
push edi
lea ecx, [ebp - 0x3d8]
push ecx
push ecx
push eax
push ecx
lea ecx, [ebp - 0x3cc]
call fcn.10108418
jmp 0x1000c35e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004aa2
call fcn.100fb0ad
ret 0xc
test bl, bl
mov eax, 0x1015e490
mov ecx, str.EXPAND_SZ
cmovne ecx, eax
lea eax, [ebp - 0x3d0]
push eax
push ecx
mov dword [ebp - 0x3d0], ecx
push ecx
lea ecx, [ebp - 0x3cc]
call fcn.10108418
push 0x101c8f84
lea eax, [ebp - 0x3cc]
push eax
call fcn.10108418
int3
Function at 0x1003b52a
Capabilities:
Get geographical location

Disassembly:
push 0x74
mov eax, 0x10142ba1
call fcn.100fb0fb
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x78], edi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x80], edi
and dword [ebp - 0x7c], 0
push str.CountryCode
call fcn.10108418
mov dword [ebp - 4], 1
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 4]
push edx
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 0x7c], 8
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10108418
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
jne 0x1003b59f
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea eax, [ebp - 0x5c]
push 0x19
jmp 0x1003b5ae
push 0x1015d1bc
lea ecx, [ebp - 0x74]
call fcn.10108418
push 0xa
pop ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10108418
mov dword [ebp - 4], 5
test bl, 2
je 0x1003b5cf
lea ecx, [ebp - 0x74]
and ebx, 0xfffffffd
call fcn.10108418
mov byte [ebp - 4], 6
test bl, 1
je 0x1003b5e3
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffffe
call fcn.10108418
mov ecx, edi
call fcn.100049bb
or ebx, 4
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x7c], ebx
je 0x1003b601
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10108418
lea ecx, [ebp - 0x2c]
call fcn.10108418
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1003b622
mov dword [ebp - 4], 7
mov edx, dword [ecx]
push 1
call dword [edx + 0x44]
mov eax, edi
call fcn.100fb0ad
ret
Function at 0x10045cb8
Capabilities:
Get geographical location

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10143963
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xb0
mov eax, dword [0x101cd15c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x10045e08
push str.Microsoft.Office.Experimentation.Configs.EcsPersistentStore
lea ecx, [ebp - 0xb8]
call fcn.10108418
and dword [ebp - 4], 0
mov ecx, dword [0x101d4fc4]
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.10048ef0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.10108418
push 0x1015d1bc
lea ecx, [ebp - 0x34]
call fcn.10108418
push str.CountryCode
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.10108418
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.10108418
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x88]
call fcn.10108418
lea eax, [ebp - 0xc0]
mov byte [ebp - 0x70], 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.10108418
lea ecx, [ebp - 0x4c]
call fcn.10108418
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.10108418
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10030b54
mov edx, esi
lea ecx, [ebp - 0x64]
call fcn.1000b94c
test al, al
jne 0x10045ddf
push esi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.10026749
lea ecx, [ebp - 0x64]
call fcn.10108418
lea ecx, [ebp - 0xa0]
call fcn.10108418
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x10045e08
call fcn.1000b67c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100fa279
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10051a45
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10051b9c
mov edx, 0x10000000
cmp eax, 0x7c
je 0x10051b9c
cmp eax, 0x29
jne 0x10051a82
cmp dword [esi + 0x10], 0
jne 0x10051b9c
cmp eax, eax
jne 0x10051a82
test dword [esi + 0x50], edx
je 0x10051ba2
cmp eax, 0x2e
jne 0x10051a9d
push 5
lea ecx, [esi + 0x24]
call fcn.10108418
mov ecx, esi
call fcn.10051a1c
jmp 0x10051b86
cmp eax, 0x5c
jne 0x10051af2
mov ecx, esi
call fcn.10051a1c
test byte [esi + 0x50], 0x80
je 0x10051ae6
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x10051ace
push 4
lea ecx, [esi + 0x24]
call fcn.10108418
mov ecx, esi
call fcn.10051a1c
jmp 0x10051b8d
cmp eax, 0x42
jne 0x10051ae6
push 4
lea ecx, [esi + 0x24]
call fcn.10108418
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x10051ac2
mov ecx, esi
call fcn.10108418
jmp 0x10051b86
cmp eax, 0x5b
jne 0x10051b12
mov ecx, esi
call fcn.10051a1c
mov ecx, esi
call fcn.100525d0
cmp dword [esi + 0x4c], 0x5d
je 0x10051a91
push 4
jmp 0x10051ba4
cmp eax, 0x28
jne 0x10051b2f
mov ecx, esi
call fcn.10051a1c
mov ecx, esi
call fcn.10052709
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10051ba2
jmp 0x10051b7b
cmp eax, 0x5e
jne 0x10051b38
push 2
jmp 0x10051aba
cmp eax, 0x24
jne 0x10051b44
push 3
jmp 0x10051aba
cmp eax, 0x2a
je 0x10051b98
cmp eax, 0x2b
je 0x10051b98
cmp eax, 0x3f
je 0x10051b98
cmp eax, 0x7b
je 0x10051b98
cmp eax, 0x7d
jne 0x10051b62
test dword [esi + 0x50], edx
je 0x10051b94
cmp eax, 0x5d
jne 0x10051b6c
test dword [esi + 0x50], edx
je 0x10051b0b
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10108418
mov bl, 1
mov ecx, esi
call fcn.10051a1c
test bl, bl
je 0x10051b8d
mov ecx, esi
call fcn.10108418
mov cl, 1
jmp 0x10051a4c
push 6
jmp 0x10051ba4
push 0xa
jmp 0x10051ba4
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.10108418
int3

Function at 0x1005eb7b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x10
mov esi, ecx
push 1
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1005ebbd
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
test eax, eax
je 0x1005ebbd
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x1005ebbd
cmp word [eax + 2], 0
je 0x1005ebbd
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x1005ebbd
add eax, 0x30
jmp 0x1005ebc2
mov eax, 0x1016e450
pop edi
pop esi
ret
Function at 0x100cc523
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x1c
test byte [0x101d6e80], 0x20
push esi
push edi
mov esi, ecx
je 0x100cc558
push dword [ebx + 0xc]
mov edx, 0x1017e6e8
push dword [ebx + 8]
call fcn.10108418
mov eax, dword [0x101cfc78]
mov ecx, 0x101cfc78
push 0x1c135e
call dword [eax + 4]
lea eax, [esi + 8]
mov ecx, dword [eax]
mov esi, ecx
mov edi, dword [eax + 4]
mov edx, edi
mov dword [ebp - 4], eax
mov eax, ecx
shr eax, 0xc
dec eax
mov dword [ebp - 0x10], esi
shl eax, 0xc
xor eax, ecx
and eax, 0x7f000
xor ecx, eax
mov eax, esi
mov esi, dword [ebp - 4]
push ebx
mov ebx, ecx
mov ecx, edi
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, dword [ebp - 0x10]
jne 0x100cc5a8
cmp ecx, edi
je 0x100cc5d8
mov esi, eax
mov dword [ebp - 0x10], ecx
shr esi, 0xc
mov edi, eax
dec esi
mov edx, ecx
shl esi, 0xc
xor esi, eax
and esi, 0x7f000
xor esi, eax
push ebx
mov ebx, esi
mov esi, dword [ebp - 4]
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, edi
jne 0x100cc5a8
cmp ecx, dword [ebp - 0x10]
jne 0x100cc5a8
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x100e6cca
Capabilities:
Create process on windows

Disassembly:
push 0x7d0
mov eax, 0x1014b08d
call fcn.100fb0fb
mov eax, ecx
mov dword [ebp - 0x780], eax
cmp dword [eax + 4], 0xffffffff
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x784], esi
je 0x100e6d02
push 0
call fcn.10108418
test al, al
je 0x100e6e95
lea ecx, [ebp - 0x2c]
call fcn.100049bb
and dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x100e6d73
cmp dword [ebx + 0x10], 0
je 0x100e6d82
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100e6d24
mov eax, dword [ebx]
push 0x20
pop ecx
cmp cx, word [eax]
je 0x100e6d73
lea ecx, [ebp - 0x44]
call fcn.100049bb
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.10014b27
push ebx
lea eax, [ebp - 0x44]
mov edx, str._s__s
push eax
lea ecx, [ebp - 0x5c]
call fcn.100e66fb
push eax
lea ecx, [ebp - 0x2c]
call fcn.10108418
lea ecx, [ebp - 0x5c]
call fcn.10108418
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.10108418
jmp 0x100e6d82
cmp dword [ebx + 0x10], 0
je 0x100e6d82
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10108418
push 0x44
pop edi
push edi
lea eax, [ebp - 0x7dc]
push 0
push eax
call fcn.100fd6a1
mov dword [ebp - 0x7dc], edi
xor eax, eax
lea edi, [ebp - 0x794]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x780]
cmp dword [edi + 0x1c], 0
jne 0x100e6dbe
and dword [ebp - 0x780], 0
jmp 0x100e6dd5
lea eax, [edi + 0xc]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x780], eax
jb 0x100e6dd5
mov eax, dword [eax]
mov dword [ebp - 0x780], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_GetPriorityClass]
mov edx, eax
or edx, 0x8000000
cmp dword [ebp - 0x1c], 0
jne 0x100e6df4
xor ecx, ecx
jmp 0x100e6dff
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [esi + 0x10], 0
jne 0x100e6e09
xor eax, eax
jmp 0x100e6e13
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100e6e13
mov eax, dword [esi]
lea esi, [ebp - 0x794]
push esi
lea esi, [ebp - 0x7dc]
push esi
push dword [ebp - 0x780]
push 0
push edx
xor edx, edx
push edx
push edx
push edx
push ecx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
jne 0x100e6e67
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
push ebx
push dword [ebp - 0x784]
push ecx
call esi
push eax
push ecx
lea ecx, [ebp - 0x77c]
call fcn.10108418
push 0x101c8f84
lea eax, [ebp - 0x77c]
jmp 0x100e6ead
mov eax, dword [ebp - 0x794]
push dword [ebp - 0x790]
mov dword [edi + 4], eax
mov dword [edi + 8], 0x103
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.10108418
xor eax, eax
call fcn.100fb0ad
ret 0x14
push ecx
push ecx
lea ecx, [ebp - 0x3ec]
call fcn.100e70d5
push 0x101c8f84
lea eax, [ebp - 0x3ec]
push eax
call fcn.10108418
int3
Function at 0x100e7c9f
Capabilities:
Start service

Disassembly:
push 8
mov eax, 0x10141cb0
call fcn.100fb0c7
mov ebx, ecx
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.advapi32.dll_StartServiceW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100e7ceb
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 0x420
jne 0x100e7cf6
push str.OService::StartService___Service_instance_already_running
push ecx
push 0x64
mov edx, 0x7c1
mov ecx, 0x2541043
call fcn.10108418
add esp, 0xc
cmp byte [ebx + 0x14], 0
je 0x100e7d36
mov esi, dword [ebx + 0xc]
jmp 0x100e7d14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
sub esp, 0xc
call fcn.10108418
xor al, al
jmp 0x100e7d38
add esi, 0xffffffe4
mov ecx, esi
call fcn.100e7c9f
mov edi, dword [ebx + 8]
cmp esi, edi
jne 0x100e7d0a
mov esi, dword [ebx + 0xc]
cmp edi, esi
je 0x100e7d33
mov ecx, edi
call fcn.10108418
add edi, 0x1c
cmp edi, esi
jne 0x100e7d22
mov edi, dword [ebx + 8]
mov dword [ebx + 0xc], edi
mov al, 1
call fcn.100fb098
ret

Function at 0x100ed34c
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x101c5a10
call fcn.100fb519
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 0x100ed3c2
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x100ed3c2
mov esi, dword [edx + ecx + 0xd8]
lea eax, [ecx + esi]
cmp edi, eax
jb 0x100ed3c2
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x100ed3c2
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100ed3cb
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 0x100ed5b9
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov edx, dword [0x101d73d4]
push ebx
push esi
mov esi, ecx
mov ebx, 0x10000
cmp esi, 0x7ff80000
push edi
mov edi, 0xfff80000
lea eax, [esi - 0x7ff80000]
cmova ebx, eax
cmp esi, 0x80000000
lea eax, [esi + 0x7ff80000]
cmovb edi, eax
mov eax, dword [0x101d73e0]
test edx, edx
jne 0x100ed601
test eax, eax
je 0x100ed614
mov edx, eax
mov dword [0x101d73d4], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x100ed614
cmp ecx, ebx
jb 0x100ed614
cmp ecx, edi
jbe 0x100ed6f8
mov edx, eax
test eax, eax
jmp 0x100ed636
test edx, edx
je 0x100ed631
mov eax, dword [edx + 8]
test eax, eax
je 0x100ed631
cmp eax, ebx
jb 0x100ed631
cmp eax, edi
jbe 0x100ed6f8
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x101d73d4], edx
jne 0x100ed61a
and esi, 0xffff0000
cmp esi, 0x40000000
jbe 0x100ed678
lea ecx, [esi - 0x40000000]
mov edx, esi
call fcn.10108418
mov edx, eax
test edx, edx
jne 0x100ed6be
lea edx, [esi - 0x40000000]
mov ecx, ebx
call fcn.10108418
mov edx, eax
test edx, edx
jne 0x100ed6be
cmp esi, 0x40000000
jae 0x100ed6a0
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.10108418
mov edx, eax
test edx, edx
jne 0x100ed6be
mov edx, edi
lea ecx, [esi + 0x40000000]
call fcn.10108418
mov edx, eax
test edx, edx
jne 0x100ed6be
mov edx, esi
mov ecx, ebx
call fcn.10108418
mov edx, eax
test edx, edx
jne 0x100ed6be
mov edx, edi
mov ecx, esi
call fcn.10108418
mov edx, eax
test edx, edx
je 0x100ed71d
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x101d73e0]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x101d73d4], edx
mov dword [0x101d73e0], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x100ed6e8
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, ebx
jb 0x100ed71d
cmp esi, edi
ja 0x100ed71d
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.100fd6a1
add esp, 0xc
mov eax, esi
jmp 0x100ed71f
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x100ed5c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov edx, dword [0x101d73d4]
push ebx
push esi
mov esi, ecx
mov ebx, 0x10000
cmp esi, 0x7ff80000
push edi
mov edi, 0xfff80000
lea eax, [esi - 0x7ff80000]
cmova ebx, eax
cmp esi, 0x80000000
lea eax, [esi + 0x7ff80000]
cmovb edi, eax
mov eax, dword [0x101d73e0]
test edx, edx
jne 0x100ed601
test eax, eax
je 0x100ed614
mov edx, eax
mov dword [0x101d73d4], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x100ed614
cmp ecx, ebx
jb 0x100ed614
cmp ecx, edi
jbe 0x100ed6f8
mov edx, eax
test eax, eax
jmp 0x100ed636
test edx, edx
je 0x100ed631
mov eax, dword [edx + 8]
test eax, eax
je 0x100ed631
cmp eax, ebx
jb 0x100ed631
cmp eax, edi
jbe 0x100ed6f8
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x101d73d4], edx
jne 0x100ed61a
and esi, 0xffff0000
cmp esi, 0x40000000
jbe 0x100ed678
lea ecx, [esi - 0x40000000]
mov edx, esi
call fcn.10108418
mov edx, eax
test edx, edx
jne 0x100ed6be
lea edx, [esi - 0x40000000]
mov ecx, ebx
call fcn.10108418
mov edx, eax
test edx, edx
jne 0x100ed6be
cmp esi, 0x40000000
jae 0x100ed6a0
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.10108418
mov edx, eax
test edx, edx
jne 0x100ed6be
mov edx, edi
lea ecx, [esi + 0x40000000]
call fcn.10108418
mov edx, eax
test edx, edx
jne 0x100ed6be
mov edx, esi
mov ecx, ebx
call fcn.10108418
mov edx, eax
test edx, edx
jne 0x100ed6be
mov edx, edi
mov ecx, esi
call fcn.10108418
mov edx, eax
test edx, edx
je 0x100ed71d
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x101d73e0]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x101d73d4], edx
mov dword [0x101d73e0], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x100ed6e8
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, ebx
jb 0x100ed71d
cmp esi, edi
ja 0x100ed71d
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.100fd6a1
add esp, 0xc
mov eax, esi
jmp 0x100ed71f
xor eax, eax
pop edi
pop esi
pop ebx
ret