joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004f3f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9b30
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1011d1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x104
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1004f4ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1004f4ed
cmp eax, 3
je 0x1004f471
cmp eax, 2
jne 0x1004f4e8
push 0x5c
push esi
call fcn.100bfedc
add esp, 8
test eax, eax
je 0x1004f4e8
sub eax, esi
lea ecx, [ebp - 0x224]
sar eax, 1
push eax
push esi
call fcn.1004f530
test al, al
jne 0x1004f49a
or esi, 0xffffffff
jmp 0x1004f4ef
xor eax, eax
lea ecx, [ebp - 0x224]
mov word [ebp - 0x226], ax
lea eax, [ebp - 0x226]
push 1
push eax
call fcn.1004f530
test al, al
jne 0x1004f4c0
or esi, 0xffffffff
jmp 0x1004f4ef
mov ecx, dword [ebp - 0x224]
call fcn.1004f3f0
test eax, eax
jne 0x1004f4e8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1004f4ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1004f4ed
or esi, 0xffffffff
jmp 0x1004f4ef
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
mov eax, dword [ebp - 0x224]
cmp eax, ecx
je 0x1004f513
test eax, eax
je 0x1004f513
push eax
call fcn.100c3c60
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100be435
mov esp, ebp
pop ebp
ret
Function at 0x1004f5e0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xc], ecx
mov edx, edi
shl edx, 0x1f
mov eax, edi
mov ecx, edx
mov dword [ebp - 0x14], esi
or ecx, 0x40000000
mov dword [ebp - 0x10], esi
test al, 2
cmove ecx, edx
mov edx, ecx
or edx, 0x100080
test al, 0x10
cmove edx, ecx
mov ecx, edx
or ecx, 0x100100
test al, 0x20
cmove ecx, edx
mov dword [ebp - 8], ecx
test edi, 0x100
je 0x1004f642
xor ecx, ecx
and eax, 0x10002
cmp eax, 2
setne cl
mov dword [ebp - 4], ecx
jmp 0x1004f649
mov dword [ebp - 4], 7
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 4
ja case.default.0x1004f656
jmp dword [eax*4 + 0x1004f7a0]
mov ebx, 1
jmp 0x1004f67e
mov ebx, 2
jmp 0x1004f67e
mov ebx, 3
jmp 0x1004f67e
mov ebx, 4
jmp 0x1004f67e
mov ebx, 5
mov eax, edi
and eax, 0x40000
or eax, 1
shl eax, 7
mov dword [ebp - 0x18], eax
test edi, 0x20000
je 0x1004f6a6
lea eax, [ebp - 0x14]
push eax
call dword [0x1011d0e0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov edx, eax
or edx, 0x8000000
test edi, 0x100000
push 0
cmove edx, eax
mov ecx, edx
or ecx, 0x40000000
test edi, 0x400000
cmove ecx, edx
mov edx, ecx
or edx, 0x20000000
test edi, 0x800000
cmove edx, ecx
mov ecx, edx
or ecx, 0x100
test edi, 0x2000000
cmove ecx, edx
mov edx, ecx
or edx, 0x4000000
test edi, 0x4000000
cmove edx, ecx
mov eax, edx
or eax, 0x200000
test edi, 0x8000000
cmove eax, edx
push eax
push ebx
push 0
push dword [ebp - 4]
mov dword [ebp - 0x18], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [0x1011d098]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1004f779
nop word [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x1004f740
cmp eax, 2
jne 0x1004f779
test esi, esi
jle 0x1004f779
mov eax, 0xc8
cmp esi, eax
cmovl eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [ebp - 0x18]
sub esi, 0xc8
push ebx
push 0
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [0x1011d098]
mov edi, eax
cmp edi, 0xffffffff
je 0x1004f730
cmp dword [ebp - 0x10], 0
je 0x1004f788
push dword [ebp - 0x14]
call dword [0x1011d0e4]
xor eax, eax
cmp edi, 0xffffffff
cmovne eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004f930
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1011d1c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
push esi
push 0x2200080
push 3
push esi
push 7
push 0x100080
push ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], eax
call dword [0x1011d098]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1004f9ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x1004f984
cmp eax, 2
jne 0x1004f9c1
test esi, esi
jle 0x1004f9c1
mov eax, 0xc8
cmp esi, eax
cmovl eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x2200080
push 3
push 0
push 7
push 0x100080
push ebx
sub esi, 0xc8
call dword [0x1011d098]
mov edi, eax
cmp edi, 0xffffffff
je 0x1004f974
jmp 0x1004f9ca
cmp edi, 0xffffffff
je 0x1004fb06
test edi, edi
je 0x1004fb06
lea eax, [ebp - 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x1004f9f3
push edi
or esi, 0xffffffff
call dword [0x1011d08c]
mov ebx, dword [ebp - 0x40]
jmp 0x1004faea
mov ecx, dword [ebp - 0x3c]
call fcn.1004f2d0
mov esi, dword [ebp - 0x44]
mov ebx, eax
mov dword [ebp - 0x40], ebx
test esi, esi
je 0x1004fa40
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov dword [ebp - 0x54], ecx
cmp ecx, 0xffffffff
jne 0x1004fa38
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1004fa35
push edi
or esi, 0xffffffff
call dword [0x1011d08c]
jmp 0x1004faea
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov dword [esi], ecx
mov dword [esi + 4], eax
push edi
xor esi, esi
call dword [0x1011d08c]
test bl, 0x10
je 0x1004faea
mov ebx, dword [ebp - 0x48]
push esi
push 0x2000080
push 3
push esi
push 7
push 0x100080
push ebx
call dword [0x1011d098]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1004fac5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x1004fa83
cmp eax, 2
jne 0x1004fac0
test esi, esi
jle 0x1004fac0
mov eax, 0xc8
cmp esi, eax
cmovl eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x2000080
push 3
push 0
push 7
push 0x100080
push ebx
sub esi, 0xc8
call dword [0x1011d098]
mov edi, eax
cmp edi, 0xffffffff
je 0x1004fa73
jmp 0x1004fac5
cmp edi, 0xffffffff
je 0x1004fb06
test edi, edi
je 0x1004fb06
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
mov eax, dword [ebp - 0x44]
push eax
call fcn.1004f8a0
add esp, 8
mov esi, eax
push edi
call dword [0x1011d08c]
mov ebx, dword [ebp - 0x40]
or ebx, 0x10
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1004faf3
mov dword [eax], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100be435
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be435
mov esp, ebp
pop ebp
ret
Function at 0x1004fb20
Capabilities:
Get file size
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101128d0
push 0x100bfff0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x1011d1c0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x30], edx
mov eax, ecx
mov dword [ebp - 0x28], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, 0xffffffff
jne 0x1004fb99
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1004fb96
or eax, 0xffffffff
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
jmp 0x1004fb9e
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
xor eax, eax
test eax, eax
je 0x1004fbb7
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, edx
jb 0x1004fbd5
ja 0x1004fbc1
cmp edi, ecx
jb 0x1004fbd5
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov esi, ebx
xor eax, eax
add esi, edi
adc eax, dword [ebp + 0x10]
cmp eax, edx
jb 0x1004fbef
ja 0x1004fbeb
cmp esi, ecx
jbe 0x1004fbef
mov ebx, ecx
sub ebx, edi
mov esi, dword [0x10122628]
test esi, esi
jne 0x1004fc0c
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0x44]
mov dword [0x10122628], esi
xor eax, eax
add esi, 0xffffffff
adc eax, 0xffffffff
not esi
not eax
and esi, edi
and eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
sub edi, esi
mov dword [ebp - 0x2c], edi
or edi, 0xffffffff
push 0
push 0
push 0
push 2
push 0
push dword [ebp - 0x28]
call dword [0x1011d094]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1004fcae
mov ecx, dword [ebp - 0x2c]
add ecx, ebx
push ecx
push esi
push dword [ebp - 0x20]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x1004fca5
mov dword [ebp - 4], 0
push ebx
mov eax, dword [ebp - 0x2c]
add eax, esi
push eax
push dword [ebp - 0x30]
call fcn.100c0760
add esp, 0xc
mov edi, ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0xfffffffe
jmp 0x1004fc9e
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x28]
call dword [0x1011d08c]
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004fcd0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1011d1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1004fd7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1004fd7e
cmp eax, 3
je 0x1004fd13
cmp eax, 2
jne 0x1004fd93
push 0x5c
push edi
call fcn.100bfedc
mov esi, eax
add esp, 8
test esi, esi
je 0x1004fd93
sub esi, edi
lea eax, [ebp - 0x20c]
sar esi, 1
push esi
push edi
push 0x104
push eax
call fcn.100d1599
add esi, esi
add esp, 0x10
cmp esi, 0x208
jae 0x1004fda5
xor eax, eax
lea ecx, [ebp - 0x20c]
mov word [ebp + esi - 0x20c], ax
call fcn.1004fcd0
test eax, eax
je 0x1004fd93
push 0
push edi
lfence
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1004fd7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1004fd93
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be435
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100be435
mov esp, ebp
pop ebp
ret
call fcn.100be5e6
int3

Function at 0x100521b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9b87
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1011d1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
push 0x40
call fcn.100be486
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 0x40
push 0
push edi
call fcn.100c0600
add esp, 0x10
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov byte [ebp - 4], 1
mov dword [edi], vtable.INodcommClient.0
mov byte [ebp - 4], 2
lea eax, [edi + 0x38]
push eax
mov dword [edi], vtable.CNodcommAlpcClient.0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call dword [0x1011d0ac]
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
push dword [ebp + 8]
push esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
push ebx
cmp eax, fcn.10017c40
jne 0x1005227b
mov ecx, edi
call fcn.10017c40
jmp 0x10052288
mov ecx, eax
call dword [0x100f5330]
mov ecx, edi
call dword [ebp - 0x10]
test eax, eax
je 0x100522b2
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x100f5330]
mov ecx, edi
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100529a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, edx
mov esi, ecx
mov eax, edi
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x10052a07
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10052a00
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100529f2
and edi, 0xf
jbe 0x100529f2
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x100529e4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10053710
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0xc]
mov edi, ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x100537ac
push 0x1cff
push edi
push 0
push esi
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp ebx, eax
jne 0x100537b7
mov esi, 0x64
nop dword [eax + eax]
cmp esi, 0xffffffff
je 0x1005375c
mov eax, esi
dec esi
test eax, eax
je 0x10053788
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10053788
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [0x1011d110]
jmp 0x10053750
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
cmp eax, esi
mov ecx, esi
cmova eax, esi
sub ecx, eax
cmp esi, 0xffffffff
mov esi, dword [ebp - 4]
cmove ecx, edi
mov edi, ecx
test edi, edi
jne 0x10053732
push edi
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10063c80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e6000
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1011d1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dl, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
mov byte [esi + 4], dl
call fcn.1002d8c0
mov dword [esi + 8], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0xc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x1c], xmm0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10063dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb572
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1011d1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
lea ecx, [edi + 4]
mov dword [edi], 0
push eax
call fcn.10021c00
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], vtable.MapiBinary.0
movq qword [edi + 0x30], xmm0
mov byte [ebp - 4], 3
xor eax, eax
movups xmmword [edi + 0x38], xmm0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 7
mov word [edi + 0x38], ax
mov byte [ebp - 4], 4
lea esi, [edi + 0x6c]
push 0x50
push eax
push esi
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], eax
mov word [edi + 0x64], ax
mov dword [edi + 0x68], eax
call fcn.100c0600
add esp, 8
mov ecx, esi
call fcn.10084aa0
add esp, 4
mov byte [ebp - 4], 5
xor eax, eax
lea ecx, [edi + 0xc8]
mov dword [edi + 0xbc], 0xffffffff
mov dword [edi + 0xc0], 0xffffffff
mov byte [edi + 0xc4], 0
mov word [edi + 0xc5], ax
call fcn.10063f70
mov byte [ebp - 4], 6
lea eax, [edi + 0x164]
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov word [eax + 0x10], 0
mov byte [eax + 0x12], 0
movups xmmword [eax + 0x14], xmm0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0xf
mov byte [eax + 0x14], 0
mov byte [ebp - 4], 8
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
mov byte [ebp - 4], 9
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10016bf0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100642d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb70c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1011d1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
xorps xmm0, xmm0
mov word [ecx], ax
mov dword [ecx + 4], 0xffffffff
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], vtable.MapiBinary.0
movq qword [ecx + 0x18], xmm0
mov dword [ebp - 4], eax
movups xmmword [ecx + 0x20], xmm0
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], 7
mov word [ecx + 0x20], ax
mov byte [ebp - 4], 1
movups xmmword [ecx + 0x38], xmm0
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], 7
mov word [ecx + 0x38], ax
mov byte [ebp - 4], 2
movups xmmword [ecx + 0x50], xmm0
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], 0xf
mov byte [ecx + 0x50], al
mov byte [ebp - 4], 3
movups xmmword [ecx + 0x68], xmm0
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], 0xf
mov byte [ecx + 0x68], al
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100888e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eecb5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x1011d1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x18]
mov dword [ebp - 0x28], esi
push esi
mov byte [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
push 0x18
mov byte [edi + 0x14], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.100be486
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x4c], ecx
mov byte [ebp - 4], 2
lea eax, [edi + 0x50]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.1009ff60
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [edi + 0x30]
mov byte [ebp - 0x24], 0
push eax
call dword [0x1011d0d8]
mov esi, dword [ebp - 0x20]
mov esi, dword [esi]
mov dword [ebp - 0x10], esi
cmp byte [esi + 0xd], 0
jne 0x100889e7
nop word [eax + eax]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x100889d6
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x100889c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push edi
call dword [0x1011d08c]
mov dword [esi + 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.10021cb0
mov esi, dword [ebp - 0x10]
cmp byte [esi + 0xd], 0
je 0x100889a0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
push dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
mov ecx, eax
call fcn.100a0960
push 0x18
push dword [ebp - 0x20]
call fcn.100be473
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008b270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef7fe
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1011d1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.EHExtraData_Item.0
xorps xmm0, xmm0
mov dword [edi + 4], 0xffffffff
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], vtable.MapiBinary.0
movq qword [edi + 0x30], xmm0
mov byte [ebp - 4], 1
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100be486
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x40], eax
mov eax, 1
mov dword [edi + 0x44], 0xffffffff
mov word [edi + 0x48], 0
mov byte [edi + 0x4a], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
lock xadd dword [0x10122d00], eax
inc eax
mov ecx, dword [0x10122cfc]
nop
cmp eax, ecx
jbe 0x1008b36e
mov edx, 0x10122cfc
xchg dword [edx], eax
mov ecx, dword [0x10122cfc]
nop
cmp eax, ecx
ja 0x1008b361
mov eax, dword [0x10122cfc]
nop
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8