joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462080
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movdqa xmm0, xmmword [eax]
lea edx, [esi - 1]
pxor xmm0, xmmword [edi]
movdqa xmmword [eax], xmm0
cmp edx, 1
jbe 0x4620ce
add edx, 0xfffffffe
lea ecx, [edi + 0x10]
shr edx, 1
inc edx
mov edi, edi
movdqa xmm0, xmmword [eax]
lea ecx, [ecx + 0x20]
aesenc xmm0, xmmword [ecx - 0x20]
movdqa xmmword [eax], xmm0
aesenc xmm0, xmmword [ecx - 0x10]
movdqa xmmword [eax], xmm0
dec edx
jne 0x4620b0
movdqa xmm0, xmmword [eax]
add esi, esi
aesenc xmm0, xmmword [edi + esi*8 - 0x10]
movdqa xmmword [eax], xmm0
aesenclast xmm0, xmmword [edi + esi*8]
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4620f0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x18]
sub esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movdqa xmm1, xmmword [eax]
movdqa xmm0, xmmword [ecx]
mov eax, dword [ebp + 0x14]
pxor xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
push esi
mov esi, dword [ebp + 0x10]
pxor xmm0, xmm1
movdqa xmmword [edx], xmm0
push edi
mov edi, dword [ebp + 0x1c]
movdqa xmm0, xmmword [esi]
pxor xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
pxor xmm0, xmm1
movdqa xmmword [eax], xmm0
cmp edi, 1
jbe 0x4621a5
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
add edi, 0x10
dec ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
jmp 0x462160
dec dword [esp + 0xc]
lea edi, [edi + 0x10]
movdqa xmm1, xmmword [edi - 0x10]
movdqa xmm0, xmmword [ecx]
aesenc xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesenc xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesenc xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
jne 0x462160
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add edi, edi
movdqa xmm0, xmmword [ecx]
movdqa xmm1, xmmword [eax + edi*8]
mov eax, dword [ebp + 0x14]
aesenclast xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesenclast xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesenclast xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesenclast xmm0, xmm1
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4628e0
Capabilities:
Create process on windows
Delete file
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
push esi
push edi
push 0x4010cc
push 4
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push 0x4010d8
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46295c
mov eax, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
call fcn.00462880
push 0x44
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00468010
add esp, 0xc
mov dword [ebp - 0x68], 0x44
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movdqa xmmword [ebp - 0x20], xmm0
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4010d8
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x46294e
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x1c]
call esi
call fcn.004628b0
push 0x4010d8
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x4662c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
dec edx
mov bl, byte [edx + esi]
movsx eax, bl
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
test edx, edx
jle 0x46633b
cmp edx, 0x20
jb 0x46632c
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x4662fe
dec ecx
or ecx, 0xffffffe0
inc ecx
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
movdqu xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
pxor xmm0, xmm1
movdqu xmmword [ecx - 0x30], xmm0
movdqu xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm1
movdqu xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x466305
pop edi
cmp eax, edx
jge 0x46633b
xor byte [eax + esi], bl
lea ecx, [eax + esi]
inc eax
cmp eax, edx
jl 0x466330
pop esi
pop ebx
pop ebp
ret
Function at 0x466340
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi + 0x14]
mov ecx, ebx
mov eax, dword [esi + 0x18]
shr ecx, 3
and ecx, 0x3f
mov dword [ebp + 0xc], eax
mov byte [ecx + esi + 0x1c], 0x80
inc ecx
cmp ecx, 0x38
jle 0x466391
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [esi + 0x1c]
add eax, ecx
push 0
push eax
call fcn.00468010
push esi
call fcn.004664c0
push 0x38
lea eax, [esi + 0x1c]
push 0
push eax
call fcn.00468010
add esp, 0x1c
jmp 0x4663a9
mov eax, 0x38
sub eax, ecx
push eax
lea eax, [esi + 0x1c]
add eax, ecx
push 0
push eax
call fcn.00468010
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x54], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x55], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x56], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 0x58], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0x59], al
mov eax, ebx
shr eax, 8
push esi
mov byte [esi + 0x57], cl
mov byte [esi + 0x5a], al
mov byte [esi + 0x5b], bl
call fcn.004664c0
mov ecx, dword [ebp + 8]
add esp, 4
movzx eax, byte [esi + 3]
mov byte [ecx + 3], al
movzx eax, byte [esi + 2]
mov byte [ecx + 2], al
movzx eax, byte [esi + 1]
mov byte [ecx + 1], al
movzx eax, byte [esi]
mov byte [ecx], al
movzx eax, byte [esi + 7]
mov byte [ecx + 7], al
movzx eax, byte [esi + 6]
mov byte [ecx + 6], al
movzx eax, byte [esi + 5]
mov byte [ecx + 5], al
movzx eax, byte [esi + 4]
mov byte [ecx + 4], al
movzx eax, byte [esi + 0xb]
mov byte [ecx + 0xb], al
movzx eax, byte [esi + 0xa]
mov byte [ecx + 0xa], al
movzx eax, byte [esi + 9]
mov byte [ecx + 9], al
movzx eax, byte [esi + 8]
mov byte [ecx + 8], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 0xf], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 0xe], al
movzx eax, byte [esi + 0xd]
mov byte [ecx + 0xd], al
movzx eax, byte [esi + 0xc]
mov byte [ecx + 0xc], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 0x13], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 0x12], al
movzx eax, byte [esi + 0xd]
mov byte [ecx + 0x11], al
movzx eax, byte [esi + 0xc]
pop esi
mov byte [ecx + 0x10], al
pop ebx
pop ebp
ret

Function at 0x466480
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x5c], 0
pop ebp
ret
Function at 0x4764a4
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48a120]
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.0046e560
mov dword [ebp - 0x14], eax
cmp dword [0x491088], esi
jne 0x476597
push 0x800
push esi
push 0x406334
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x476524
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x476677
push esi
push esi
push 0x406334
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x476677
push 0x40634c
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x476677
push eax
call ebx
push 0x406358
push edi
mov dword [0x491088], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push 0x406368
push edi
mov dword [0x49108c], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push 0x40637c
push edi
mov dword [0x491090], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x491098], eax
test eax, eax
je 0x476594
push 0x406398
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x491094], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x4765bc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4765af
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4765d1
push 4
pop eax
jmp 0x476679
cmp dword [ebp - 0x14], esi
je 0x4765d1
push dword [0x491088]
call dword [sym.imp.KERNEL32.DLL_DecodePointer]
push 3
jmp 0x4765b6
mov eax, dword [0x491094]
mov ebx, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, edi
je 0x47662f
cmp dword [0x491098], edi
je 0x47662f
push eax
call ebx
push dword [0x491098]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47662f
test eax, eax
je 0x47662f
call ecx
test eax, eax
je 0x476624
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 0x476624
test byte [ebp - 8], 1
jne 0x47662f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47665f
mov eax, dword [0x49108c]
cmp eax, edi
je 0x47665c
push eax
call ebx
test eax, eax
je 0x47665c
call eax
mov esi, eax
test esi, esi
je 0x47665c
mov eax, dword [0x491090]
cmp eax, edi
je 0x47665c
push eax
call ebx
test eax, eax
je 0x47665c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x491088]
call ebx
test eax, eax
je 0x476677
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x476679
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467ff6
mov esp, ebp
pop ebp
ret
Function at 0x2005647
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x404
lea ebp, [esp - 4]
mov eax, dword [0x2019688]
xor eax, ebp
mov dword [ebp + 0x404], eax
push 0x20
mov eax, 0x201110e
call fcn.020101ac
mov edi, ecx
mov eax, dword [ebp + 0x414]
mov esi, dword [ebp + 0x410]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
call dword [0x2019668]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp], ebx
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x20056fd
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.02001d40
test eax, eax
jl 0x20056fd
mov edi, dword [ebp - 0x24]
cmp edi, 0x400
jg 0x20056e5
push edi
call fcn.0200256c
test al, al
je 0x20056e5
mov eax, edi
call fcn.02010380
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x20056ee
push edi
lea ecx, [ebp - 0x20]
call fcn.02002707
push dword [ebp - 0x1c]
push edi
push esi
push eax
call fcn.02001e25
cmp eax, ebx
jne 0x2005742
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x200570d
lea ecx, [ebp]
call fcn.020024f7
lea ecx, [ebp - 0x20]
call fcn.02002485
mov eax, 0x8007000e
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0201016a
add ebp, 0x408
leave
ret 0x10
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
jne 0x2005761
call fcn.02001eac
mov esi, eax
jmp 0x200582b
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x200577e
call fcn.02001eac
jmp 0x2005820
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x2005774
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x18], esi
jae 0x20057c5
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x20057b1
lea ecx, [ebp]
call fcn.020024f7
mov esi, 0x8007000e
lea ecx, [ebp - 0x20]
call fcn.02002485
mov eax, esi
jmp 0x200571a
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.02002c78
mov dword [ebp - 4], 1
jmp 0x20057ed
cmp dword [ebp], ebx
jne 0x20057f9
mov esi, 0x8007000e
jmp 0x2005822
push esi
push dword [ebp - 0x14]
push esi
push dword [ebp]
call fcn.02001e8c
mov eax, dword [ebp]
add esp, 0x10
push dword [ebp + 0x41c]
mov byte [eax + esi], bl
push dword [ebp]
lea ecx, [ebp - 0x2c]
call fcn.02003ba1
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x20057b6
lea ecx, [ebp]
call fcn.020024f7
jmp 0x20057b6
Function at 0x2008f25
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
mov dword [ebp + 0x74], 0x20195dc
mov dword [ebp + 0x24], 0
lea eax, [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x50]
push edx
call fcn.02009405
add esp, 8
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x24]
push ecx

Function at 0x2008f5b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x38]
push eax
call fcn.02009355
add esp, 0x10
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x30]
push edx
push 0
call dword [ebp + 0x20]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x38]
push eax
call fcn.02009355
add esp, 0x10
mov dword [ebp + 0x1c], eax
push 0x104
mov ecx, dword [ebp + 0x60]
push ecx
Function at 0x2008ff5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x45c7d3eb
pop eax
add byte [eax], al
add byte [eax], al

Function at 0x2009355
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*8 + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
jmp 0x20093ad
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x20093f5
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.020092e5
add esp, 8
cmp eax, dword [ebp + 0x10]
jne 0x20093f3
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x20093f7
jmp 0x20093a4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x2009405
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 0xc
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
je 0x200947c
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
push eax
call fcn.02008e95
add esp, 4
cmp dword [ebp + 8], eax
jne 0x2009472
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
jmp 0x200947e
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x2009448
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10006ffa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10007044
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10007035
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x7e1efc39
jmp 0x10007042
push 0
push 0xc27
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1000707b
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x12b7
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.100065e9
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x10017830
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x1005bfdf
call fcn.1005b550
sub esp, 0x1c
push ebx
push esi
mov byte [ebp - 0x14], cl
mov esi, edx
mov dword [ebp - 0x1c], 0x3063
cmp dword [ebp - 0x1c], 0x33a2
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
jle 0x100178b0
xor edi, edi
mov dword [ebp - 0x18], edi
xor ebx, ebx
and dword [ebp - 0x24], 0
mov esi, edi
mov edi, dword [ebp - 0x24]
mov ecx, ebx
shl esi, cl
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x10075c58
cdq
push edx
push eax
call fcn.1000ed7e
inc edi
cmp edi, 0x19db
jl 0x1001786f
mov edi, dword [ebp - 0x18]
inc ebx
cmp ebx, 0x374c
jl 0x10017862
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x100d
jl 0x10017860
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, dword [ebp - 0x20]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x2d4a
jge 0x100178eb
mov edx, str.xbvlgkf_ujkgoqbpy_wkui_lbczdnl_tflkure_qfbd_yhagzmbpy_jtrakn
mov ecx, 0x10075c58
call fcn.1001381a
jmp 0x100178eb
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x14], 0
je 0x10017902
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10017907
mov eax, dword [esi]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100207c3
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005c430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
push ecx
mov edx, 0x1c83
lea ecx, [esp + 0x40]
call fcn.1003423e
pop ecx
xor esi, esi
lea ecx, [esp + 0x6c]
push eax
mov dword [esp + 0x98], esi
call fcn.1001565d
xor ebx, ebx
mov byte [esp + 0x94], 2
push esi
inc ebx
lea ecx, [esp + 0x40]
push ebx
call fcn.1000fb4b
sub esp, 0x10
lea eax, [esp + 0x7c]
mov edx, 0x7532
push eax
push ecx
mov cl, bl
call fcn.100204a2
add esp, 0x14
lea ecx, [esp + 0x28]
mov edx, 0x1b86
call fcn.1003423e
mov edx, 0x1b87
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x40]
call fcn.1003423e
pop ecx
mov edx, eax
mov byte [esp + 0x94], 4
lea ecx, [esp + 0x18]
call fcn.1001cf85
push esi
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], 6
call fcn.1000fb4b
push ecx
mov edx, 0x1b88
lea ecx, [esp + 0x58]
call fcn.1003423e
pop ecx
mov edx, eax
mov byte [esp + 0x94], 7
lea ecx, [esp + 0xc]
call fcn.1001cf85
push esi
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 9
call fcn.1000fb4b
push ebx
push ebx
lea eax, [esp + 0x20]
mov edx, 0x15cb
push eax
lea eax, [esp + 0x30]
mov cl, bl
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100205e3
add esp, 0x14
lea ecx, [esp + 0xc]
call fcn.10020f5d
lea ecx, [esp + 0x18]
call fcn.10020f5d
push esi
push ebx
lea ecx, [esp + 0x2c]
call fcn.1000fb4b
or dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.100173c2
mov ecx, dword [esp + 0x8c]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100221a1
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c4d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100221f1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x62b6
call fcn.100227d0
add esp, 0x10
jmp 0x1002232e
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 0x211d
mov dword [ebp - 0x34], str.tdepf_ijilttsyi_afno_eizzs_solqhca_oxyf_zmqrfzj_zadk_mtf_ofo_gzwfottr_visaf
cmp dword [ebp - 0x24], 0x23ad
jle 0x1002229f
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
and dword [ebp - 0x1c], 0
jmp 0x10022227
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x54f8
jge 0x1002229f
and dword [ebp - 0x14], 0
jmp 0x1002223d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x71fb
jge 0x1002229d
and dword [ebp - 0x18], 0
jmp 0x10022253
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4c4b
jge 0x1002229b
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub eax, edx
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x64]
call fcn.10001af4
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.1000e8bf
push eax
call fcn.1004677c
pop ecx
lea ecx, [ebp - 0x64]
call fcn.1000e8a1
jmp 0x1002224c
jmp 0x10022236
jmp 0x10022220
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x1fff
jge 0x100222bb
push dword [ebp - 0x34]
call fcn.1004677c
pop ecx
jmp 0x100222d7
or dword [ebp - 4], 0xffffffff
jmp 0x100222e1
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10022328
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 1
jmp 0x1002230d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jl 0x10022326
mov dword [ebp - 0x44], 0xfffffffc
cmp dword [ebp - 0x44], 0
je 0x10022324
jmp 0x10022326
jmp 0x10022302
jmp 0x1002232e
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret