joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001fb86
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001fbd3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [eax + 0x14]
call fcn.1001c3a2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x1001fc18
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 1
jmp 0x1001fbf5
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x1001fc18
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001fc16
push 0x12d8
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1001fbea
mov esp, ebp
pop ebp
ret
Function at 0x10031dea
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10031e0e
xor eax, eax
jmp 0x10031f57
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10031e2c
xor eax, eax
jmp 0x10031f57
push 1
push 0x3cc5
push 0x70db
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10030e70
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10031e55
xor eax, eax
jmp 0x10031f57
push 0x585c
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x6efd
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
push 1
lea eax, [ebp - 4]
push eax
call fcn.10030cde
add esp, 0x20
push 0x32e0
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x1b11
lea eax, [ebp - 4]
push eax
push 1
call fcn.10030eef
add esp, 0x18
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x7e5d
lea eax, [ebp - 8]
push eax
push 0x76af
call fcn.10030f95
add esp, 0x18
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4729
push 1
push 0x2143
push 0x4b20
call fcn.1003102a
add esp, 0x18
push dword [ebp - 4]
call fcn.1003092f
pop ecx
test eax, eax
jne 0x10031eed
xor eax, eax
jmp 0x10031f57
lea eax, [ebp - 4]
push eax
push 1
call fcn.10031d2f
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10031f3f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x10031f19
xor eax, eax
jmp 0x10031f57
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10031f32
xor eax, eax
jmp 0x10031f57
lea eax, [ebp - 4]
push eax
push 1
call fcn.10031d96
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10031f50
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x10031f54
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x1003cceb
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003cd05
push 0
push 0xbe
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1003cd22
push 0
push 0
push 0
push 0
push 0x95e
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop ebp
ret

Function at 0x1003e204
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003e23a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1003e235
push 0x1726
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x1003e312
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1003e293
mov dword [ebp - 8], 1
jmp 0x1003e297
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov edx, dword [ebp - 8]
lea ecx, [edx + ecx + 0x176df7e4]
cmp dword [eax], ecx
jne 0x1003e2b6
mov dword [ebp - 0xc], 1
jmp 0x1003e2ba
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jne 0x1003e2cd
mov dword [ebp - 0x10], 1
jmp 0x1003e2d1
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x93c1
jne 0x1003e2e5
or eax, 0xffffffff
jne 0x1003e2e5
and dword [ebp - 0x44], 0
jmp 0x1003e2ec
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx]
jl 0x1003e306
mov dword [ebp - 0x20], 1
jmp 0x1003e30a
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100481c2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push 3
lea ecx, [ebp - 0x2c]
call fcn.10026565
mov dword [ebp - 0x10], 0xfffffff7
xor esi, esi
inc esi
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], 0x974edf0e
mov dword [ebp - 0xc], 0xfffffffe
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xf995
mov dword [ebp - 8], ebx
jmp 0x1004820e
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x20], esi
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x10048204
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x2c]
call fcn.10048165
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
pop ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
neg ecx
push 7
sbb ecx, ecx
neg ecx
add ecx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
pop ecx
cmp ecx, eax
sbb eax, eax
xor edx, edx
neg eax
imul eax, eax, 0x3e52
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
cmp eax, ecx
mov eax, dword [ebp - 0x20]
setg dl
xor ecx, ecx
cmp eax, edx
setg cl
cmp ecx, 0xeaf86f25
sbb eax, eax
inc eax
sub eax, 0xfff9
je 0x1004828a
cmp dword [ebp - 0x18], ebx
jne 0x1004828c
mov esi, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
imul ecx, esi, 0xfffc
cmp ecx, eax
setg dl
imul edx, dword [ebp - 0x18]
mov byte [ebp - 1], bl
test edx, edx
je 0x100482ba
cmp byte [ebp - 1], bl
je 0x100482c6
push 0x1726
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x100482c6
cmp byte [ebp - 1], bl
je 0x100482c6
push ecx
call fcn.10048186
pop ecx
lea eax, [ebp - 0xc]
push eax
push ecx
call fcn.10048191
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.10026617
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004d227
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1004d24e
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1004d249
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1004d388
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1004d2b7
mov dword [ebp - 0x20], 1
jmp 0x1004d2bb
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
imul eax, dword [eax], 0xfffffffd
add eax, 3
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1004d2da
mov dword [ebp - 0x10], 1
jmp 0x1004d2de
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x94ccb090
je 0x1004d2f0
mov dword [ebp - 0x14], 1
jmp 0x1004d2f4
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xffffffff
jge 0x1004d303
mov dword [ebp - 0x18], 1
jmp 0x1004d307
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x18]
cmp eax, 0x30bc
jne 0x1004d320
mov dword [ebp - 0x1c], 1
jmp 0x1004d324
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 0x24]
call fcn.100265d2
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
cmp dword [ebp - 0x20], ecx
jg 0x1004d341
mov dword [ebp - 0x28], 1
jmp 0x1004d345
and dword [ebp - 0x28], 0
push 2
mov ecx, dword [ebp - 0x24]
call fcn.100265d2
mov ecx, dword [ebp - 0x28]
imul ecx, dword [eax]
test ecx, ecx
jne 0x1004d367
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
jne 0x1004d367
and dword [ebp - 0x54], 0
jmp 0x1004d36e
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1007fbeb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008a38c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1007099c
mov dword [ebp - 0x14], eax
cmp dword [0x163a49bc], esi
jne 0x1007fcde
push 0x800
push esi
push 0x10007af4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007fc6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007fdbe
push esi
push esi
push 0x10007af4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007fdbe
push 0x10007b0c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007fdbe
push eax
call ebx
push 0x10007b18
push edi
mov dword [0x163a49bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b28
push edi
mov dword [0x163a49c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b3c
push edi
mov dword [0x163a49c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x163a49cc], eax
test eax, eax
je 0x1007fcdb
push 0x10007b58
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x163a49c8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007fd03
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007fcf6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007fd18
push 4
pop eax
jmp 0x1007fdc0
cmp dword [ebp - 0x14], esi
je 0x1007fd18
push dword [0x163a49bc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007fcfd
mov eax, dword [0x163a49c8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007fd76
cmp dword [0x163a49cc], edi
je 0x1007fd76
push eax
call ebx
push dword [0x163a49cc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007fd76
test eax, eax
je 0x1007fd76
call ecx
test eax, eax
je 0x1007fd6b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007fd6b
test byte [ebp - 8], 1
jne 0x1007fd76
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007fda6
mov eax, dword [0x163a49c0]
cmp eax, edi
je 0x1007fda3
push eax
call ebx
test eax, eax
je 0x1007fda3
call eax
mov esi, eax
test esi, esi
je 0x1007fda3
mov eax, dword [0x163a49c4]
cmp eax, edi
je 0x1007fda3
push eax
call ebx
test eax, eax
je 0x1007fda3
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x163a49bc]
call ebx
test eax, eax
je 0x1007fdbe
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007fdc0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x10004a30
Capabilities:
Encode data using xor

Disassembly:
jl 0x10004a32
mov byte [edx], bh
pop ebx
or eax, dword [esp + ebx*2 - 0x9dedc47]
xchg esi, eax
cmp ch, byte [edx + esi - 0x16]
invalid
in eax, 0x62
xchg esi, eax
or al, 0xdc
cmp byte [edx - 0x5b], bl
jecxz 0x10004a5e
xchg dword [edx], esi
adc byte [edx - 0x29aa39f6], ah

Function at 0x10040490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b684c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1021e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x14], 0
je 0x10040504
mov dword [ebx], 0x10010eb4
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x50], 0x10010e20
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov eax, dword [ebx]
lea esi, [ebx + 4]
push 0
push esi
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x10010e28
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.1004be60
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x10010eb0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], 0x10010e30
call fcn.1018d216
mov esi, eax
add esp, 4
test esi, esi
je 0x10040583
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.1018eee4
add esp, 4
mov dword [esi + 4], eax
jmp 0x10040585
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax], 0x10010e70
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10040610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6870
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1021e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x10010e30
call fcn.1018d216
mov esi, eax
add esp, 4
test esi, esi
je 0x10040670
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1018eee4
add esp, 4
mov dword [esi + 4], eax
jmp 0x10040672
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x100408d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6870
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1021e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x10010e30
call fcn.1018d216
mov esi, eax
add esp, 4
test esi, esi
je 0x10040930
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1018eee4
add esp, 4
mov dword [esi + 4], eax
jmp 0x10040932
xor esi, esi
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea edi, [eax + 0x14]
mov dword [eax + 0x20], ecx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x34], esi
lea esi, [eax + 8]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov esi, dword [ebp - 0x10]
not ecx
and ecx, 1
mov dword [edi], 0
shl ecx, 2
mov eax, ebx
mov dword [edx], 0
mov edx, ecx
or edx, 2
mov dword [esi], 0x10010e70
and al, 2
mov dword [esi + 0x38], 0
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10040a60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6903
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1021e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov byte [ebx + 0xc], 0
mov dword [ebx], 0x10010d20
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edi, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
mov dword [edi], 0x10010c68
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 1
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov word [edi + 0x30], 0
lea esi, [ebx + 0x50]
mov dword [ebx], 0x10010d3c
mov dword [edi], 0x10010d58
push 0x20
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, ebx
mov dword [ebx], 0x10010d7c
mov dword [edi], 0x10010d98
mov dword [ebx + 0x58], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10041790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6bb2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1021e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0x10010ce4
mov dword [ebx + 8], 0x10010cac
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 0x10], 0
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x24], 0
mov dword [ebx + 0x18], 0x10010cbc
mov dword [ebx + 0x28], 0
mov dword [ebp - 4], 0
mov byte [ebx + 0x2c], 0
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 1
call fcn.10053f40
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 2
push 0x40
lea eax, [edi + 5]
mov dword [ebp - 0x10], edi
push 0
push eax
mov dword [edi], 0x10010cc4
mov byte [edi + 4], 0
call fcn.101a4190
lea esi, [edi + 0x48]
mov dword [esi], 0
push 0x50
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.1018d216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x50]
mov byte [ebp - 4], 3
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x58]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x20
mov byte [ebp - 4], 5
call fcn.10049ed0
lea ecx, [ebx + 0x98]
mov byte [ebp - 4], 6
mov word [ecx + 0x18], 0
call fcn.10054040
mov eax, dword [ebp + 8]
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0xffffffff
mov dword [ebx + 0xc0], 0xffffffff
mov dword [ebx + 0xc4], 0
mov word [ebx + 0xc8], 0
mov byte [ebx + 0xca], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov eax, ebx
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 0
mov dword [ebx + 0xf8], 0
mov dword [ebx + 0xfc], 0
mov dword [ebx + 0x100], 0
mov dword [ebx + 0x104], 0
mov dword [ebx + 0x108], 0
mov dword [ebx + 0x10c], 0
mov dword [ebx + 0x110], 0
mov dword [ebx + 0x114], 0
mov byte [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0xc8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4