joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4297c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
xor al, al
test edi, edi
je 0x42983c
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x42983b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42981e
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x4ace70
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x12
push ebx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
test eax, eax
jne 0x429824
pop ebx
mov al, 1
pop edi
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
pop ebx
pop edi
pop ebp
ret

Function at 0x42d0a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a9a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
lea edi, [esi + 0x10]
mov dword [esi], 0x5c056c
jne 0x42d12f
push 0x5c0588
push edi
call fcn.0042c780
add esp, 8
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0042cb60
test byte [0x633d1c], 1
je 0x42d127
call fcn.0049b990
test al, al
je 0x42d127
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x14]
push 0
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [0x633d24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x2c]
call fcn.0040c7f0
lea ecx, [esi + 0xb8]
call fcn.0042d160
mov ecx, edi
call fcn.0042d1b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x42db20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x105
mov dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42dbb9
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x42dbb9
cmp byte [ebp + 0xc], 0
je 0x42db84
push 0x5c0e34
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.004471d0
test eax, eax
js 0x42dbb9
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x210]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dba0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
jmp 0x42dbd2
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x5b6ea8
mov ecx, esi
call fcn.00409db0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4327f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59af50
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x10]
mov dword [ebp - 0x3c], eax
test ecx, ecx
je 0x43296e
mov edi, dword [esi + 0x14]
mov edx, esi
cmp edi, 8
jb 0x43283b
mov edx, dword [esi]
test ecx, ecx
je 0x43296e
mov eax, edx
cmp word [eax], 0x25
je 0x432858
add eax, 2
sub ecx, 1
jne 0x432845
jmp 0x43296e
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x43296e
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x28], ax
mov eax, esi
mov dword [ebp - 0x18], 0
cmp edi, 8
jb 0x432889
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test edi, edi
je 0x43294f
lea eax, [ebp - 0x35]
mov dword [ebp - 0x2c], 0
push eax
xorps xmm0, xmm0
lea ebx, [edi + 1]
push ebx
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.00443b40
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 1
jb 0x4328cb
mov eax, dword [esi]
push ebx
mov ebx, dword [ebp - 0x34]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x432947
cmp eax, edi
ja 0x432947
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040bef0
lea ecx, [ebp - 0x34]
call fcn.0040bf20
cmp dword [esi + 0x14], 8
jb 0x4328f8
mov esi, dword [esi]
mov edx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
cmp edx, 8
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae edi, ebx
cmp ecx, dword [eax]
jne 0x43292a
test ecx, ecx
je 0x432955
sub edi, esi
mov ax, word [edi + esi]
cmp ax, word [esi]
jne 0x43292a
add esi, 2
sub ecx, 1
jne 0x432917
jmp 0x432955
mov dword [ebp - 4], 2
cmp edx, 8
jb 0x432943
lea eax, [edx + 1]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040a5e0
mov al, 1
jmp 0x432970
lea ecx, [ebp - 0x34]
call fcn.0040bf20
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 3
cmp edx, 8
jb 0x43296e
lea eax, [edx + 1]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040a5e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x438fe0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.00439140
test eax, eax
jne 0x43913b
movaps xmm0, xmmword [0x5e8eb0]
push esi
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x7f03
xor esi, esi
mov dword [ebp - 8], 0x7f01
mov dword [ebp - 4], 0x7f04
push dword [ebp + esi*4 - 0x1c]
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
mov ecx, edi
call fcn.00439140
test eax, eax
jne 0x43913a
inc esi
cmp esi, 7
jb 0x439023
movaps xmm0, xmmword [0x5e8ea0]
xor esi, esi
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 8], 0x7f84
movaps xmm0, xmmword [0x5e8ed0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 4], 0x7f04
movaps xmm0, xmmword [0x5e8ec0]
movups xmmword [ebp - 0x18], xmm0
nop word [eax + eax]
push dword [ebp + esi*4 - 0x38]
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, edi
call fcn.00439140
test eax, eax
jne 0x43913a
inc esi
cmp esi, 0xe
jb 0x439080
push str._AcroAppTimer
push str.apptimer.exe
call fcn.00439180
add esp, 8
test eax, eax
je 0x4390c4
push eax
mov ecx, edi
call fcn.00439140
test eax, eax
jne 0x43913a
push str.SafeNet_Borderless_Single_Sign_On.....
push str.DKAXSvr.exe
call fcn.00439180
add esp, 8
test eax, eax
je 0x4390e6
push eax
mov ecx, edi
call fcn.00439140
test eax, eax
jne 0x43913a
push 0
call fcn.0041d150
add esp, 4
test al, al
je 0x439138
push str.PrivateOutputChannelHelperWindow
push str.QTPro.exe
call fcn.00439180
add esp, 8
test eax, eax
je 0x439116
push eax
mov ecx, edi
call fcn.00439140
test eax, eax
jne 0x43913a
push str.ZinorKnisaPatuach
push str.QTPro.exe
call fcn.00439180
add esp, 8
test eax, eax
je 0x439138
push eax
mov ecx, edi
call fcn.00439140
test eax, eax
jne 0x43913a
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4428b0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cca0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
cmp byte [ecx + 0x38], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
jne 0x4428f3
mov eax, 0x3f0
jmp 0x442a72
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 2
push dword [ecx + 0x30]
call fcn.004427b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x442937
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
test eax, eax
je 0x442930
push eax
call fcn.0041e935
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], edx
jmp 0x44294c
mov esi, dword [ebp - 0x14]
mov edx, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
test edx, edx
je 0x442a63
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp dword [edx], ecx
jbe 0x442a61
mov esi, dword [ebp - 0x24]
lea edi, [edx + 4]
nop
test dword [edi + 4], 0xc0000020
jne 0x442a4f
xor al, al
mov byte [ebp - 0x15], al
test esi, esi
je 0x4429f4
xor ecx, ecx
mov eax, 0x78787879
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4429eb
xor eax, eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi]
push dword [edi]
add ecx, eax
call fcn.004090f0
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x442a38
mov ecx, dword [ebp - 0x24]
inc dword [ebp - 0x28]
add dword [ebp - 0x2c], 0x44
mov esi, dword [ebp - 0x24]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
jb 0x4429a8
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
test al, al
jne 0x442a4f
push dword [edi]
lea ecx, [ebp - 0x7c]
call fcn.00412d40
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [edx + 0x20]
je 0x442a3c
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x6c]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x40], eax
add dword [edx + 0x1c], 0x44
jmp 0x442a49
mov al, 1
jmp 0x4429ee
lea eax, [ebp - 0x7c]
push eax
push ecx
lea ecx, [edx + 0x18]
call fcn.00442400
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc ecx
add edi, 8
mov dword [ebp - 0x20], ecx
cmp ecx, dword [edx]
jb 0x442970
mov esi, dword [ebp - 0x30]
xor edi, edi
test esi, esi
je 0x442a70
push esi
call fcn.0041e935
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 4
Function at 0x444ba0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d0c2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 2
call fcn.00444af0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x10]
call fcn.00444b20
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x14]
call fcn.00444b20
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x18]
call fcn.00444b20
mov dword [esi + 0x1c], 0
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov byte [ebp - 4], 9
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x444d21
mov ecx, eax
mov eax, 0x78787879
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x3c3c3c3
ja 0x444da8
mov edi, eax
shl edi, 4
add edi, eax
shl edi, 2
cmp edi, 0x1000
jb 0x444cc0
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x444da8
push eax
lfence
call fcn.00406b5e
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x444dad
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x444cd4
test edi, edi
je 0x444cd2
push edi
lfence
call fcn.00406b5e
add esp, 4
jmp 0x444cd4
xor eax, eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], eax
add eax, edi
mov edi, dword [ebp - 0x14]
mov dword [edx + 0x3c], eax
mov ecx, dword [edx + 0x34]
nop dword [eax + eax]
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x40]
add esi, 0x44
mov dword [ecx + 0x40], eax
add ecx, 0x44
cmp esi, edi
jne 0x444cf0
mov dword [edx + 0x38], ecx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x444d48
cmp eax, 0xffffffff
je 0x444d48
call fcn.00413e80
push dword [ebp + 8]
call fcn.00415030
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x444d6f
cmp eax, 0xffffffff
je 0x444d6f
call fcn.00413e80
push dword [ebp + 0xc]
call fcn.00415030
add esp, 4
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0xc
test eax, eax
je 0x444d92
cmp eax, 0xffffffff
je 0x444d92
call fcn.00413e80
push dword [ebp + 0x10]
call fcn.00415030
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
call fcn.0047ea50
call fcn.0056e2db
int3
Function at 0x445c20
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1c], eax
xor bl, bl
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x15], bl
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
test eax, eax
je 0x445d5b
mov dword [eax], 0
test edi, edi
je 0x445d5b
push 2
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x445d5b
push esi
mov esi, dword [ebp - 0xc]
add esi, 8
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x445d47
push 2
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x445d40
mov eax, dword [ebp - 0x10]
xor esi, esi
test eax, eax
je 0x445d24
nop word [eax + eax]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x445d21
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x445d21
cmp byte [ecx], 0
mov edi, ecx
jne 0x445cff
mov ecx, dword [ebp - 0x1c]
call fcn.004090f0
push eax
lea eax, [edi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x445d14
mov ecx, dword [ebp - 0x14]
movzx eax, word [edi + 2]
push eax
push ecx
push 0xffffffffffffffff
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_AddAce]
test eax, eax
je 0x445d21
mov eax, dword [ebp - 0x10]
inc esi
mov edi, dword [ebp - 0x20]
cmp esi, eax
jb 0x445cc0
jmp 0x445d24
mov eax, dword [ebp - 0x10]
cmp esi, eax
jne 0x445d40
mov ecx, dword [ebp - 0x24]
mov al, 1
pop esi
pop edi
mov dword [ecx], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [ebp - 0x15]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x445f50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d338
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov edi, dword [0x634a80]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x54]
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
test bl, bl
jne 0x446094
mov ebx, dword [ebp - 0x2c]
mov ecx, ebx
call fcn.004460c0
mov ecx, ebx
call fcn.00448960
mov ecx, ebx
call fcn.00448c00
cmp byte [ebx + 4], 0
jne 0x445fde
push 0x17
mov ecx, ebx
call fcn.00449730
push 0x18
mov ecx, ebx
call fcn.00449730
push 0x4265a0
push 0x635318
call fcn.00426240
add esp, 8
test al, al
je 0x446086
lea eax, [ebp - 0x28]
push str.Acrobatplug_ins_test_toolsAcroNGLToolsqe_ngl_tool.exe
push eax
call fcn.00448260
add esp, 8
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
je 0x44604f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44604f
mov edi, dword [ebx]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [edi]
push ecx
push 5
push 2
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 2
cmp eax, 8
jb 0x44606b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.00449e30
mov ecx, ebx
call fcn.0044b430
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4470b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x10], 0
jne 0x4470e4
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 8
push ebx
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4470f1
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x447110
cmp eax, 0x50
je 0x447110
cmp eax, 0xb7
jne 0x4471ad
cmp dword [esi + 0x14], 8
jb 0x447118
mov esi, dword [esi]
lea ecx, [ebp - 0x210]
mov edx, 0x105
mov eax, ecx
sub esi, eax
nop word [eax + eax]
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x44714e
movzx eax, word [esi + ecx]
test ax, ax
je 0x44714e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x447130
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x4471ad
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x4471ad
push 0x5c0e34
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.004471d0
test eax, eax
js 0x4471ad
mov edi, dword [edi]
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
test eax, eax
sete bl
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004016cd
mov esp, ebp
pop ebp
ret 8

Function at 0x447330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0x10]
xor bl, bl
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4473d6
cmp word [ebp - 0x210], 0
je 0x4473d6
test edi, edi
je 0x4473a4
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4473d6
cmp byte [ebp + 0x14], bl
je 0x4473d4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x4473d6
push 0x5c0e34
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.004471d0
test eax, eax
js 0x4473d6
mov bl, 1
test bl, bl
mov dword [esi + 0x10], 0
mov eax, 0x5b6ea8
mov dword [esi + 0x14], 7
lea edx, [ebp - 0x210]
cmove edx, eax
xor eax, eax
mov ecx, edx
mov word [esi], ax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447400
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00409db0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x44c840
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
or eax, 0x20019
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push edi
push eax
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44c89a
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x44c8a2
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi], 0
jmp 0x44c8d8
mov ecx, dword [ebp - 8]
mov edx, dword [edi]
dec ecx
mov dword [edi + 4], ecx
test edx, edx
je 0x44c8d8
test ecx, ecx
js 0x44c8d8
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [edi + 8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x44c8de
xor eax, eax
mov word [edi + 8], ax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004016cd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4544f0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor ecx, ecx
mov esi, 0x633d38
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x454546
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x454532
push str.advapi32.dll
call fcn.004396f0
add esp, 4
test eax, eax
je 0x454546
push 0x5c0668
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [esi], ecx
mov dword [ebp - 8], 0
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [esi], ecx
mov esi, eax
test esi, esi
je 0x454581
push 4
lea eax, [ebp - 8]
mov ecx, esi
push eax
call dword [0x5b1854]
call esi
test al, al
je 0x454581
mov eax, dword [ebp - 8]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
call fcn.00576ed8
add esp, 4
test eax, eax
jne 0x4545aa
mov eax, dword [ebp - 0xc]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00576ec6
add esp, 4
call fcn.00576ea5
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004016cd
mov esp, ebp
pop ebp
ret