joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fac0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5035e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x54e938]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push edx
push eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x41fc81
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x41fb47
cmp eax, 2
je 0x41fb47
mov eax, 0x3f4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jbe 0x41fc65
lea eax, [ecx + 3]
cmp eax, ecx
jbe 0x41fc63
lea ecx, [ebp - 0x18]
push ecx
shr eax, 1
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.0041fde0
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
mov edx, dword [esi]
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x41fc44
mov eax, dword [ebp - 0x10]
cmp eax, 1
jne 0x41fbba
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00418650
jmp 0x41fc44
cmp eax, 2
jne 0x41fc3d
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
cmp esi, ebx
jbe 0x41fc28
lea eax, [esi + 1]
cmp eax, esi
jbe 0x41fc28
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], ebx
call fcn.0045a4e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
push esi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp esi, eax
jb 0x41fc13
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00418650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0041a760
jmp 0x41fc44
mov dword [ebp + 8], 0xa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0041a760
jmp 0x41fc44
neg esi
sbb esi, esi
and esi, 0xffffff1e
add esi, 0xea
mov dword [ebp + 8], esi
jmp 0x41fc44
mov dword [ebp + 8], 0x3f4
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x41fc58
push edi
call fcn.00406ec9
add esp, 4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
jmp 0x41fc7e
cmp ecx, ebx
jne 0x41fc77
mov ecx, dword [ebp + 0xc]
push ebx
push 0x50d97c
call fcn.00406300
jmp 0x41fc81
mov dword [ebp + 8], 8
mov edi, dword [ebp + 8]
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 8
Function at 0x4258b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5078f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x54e938]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ebx, [edi + 4]
xor esi, esi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov eax, dword [ebp + 8]
mov dword [edi], vtable.acrobat_broker::SandboxDDEDispatcher.0
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [ebp - 4], esi
cmp dword [0x5513c0], esi
jne 0x42591d
lea ecx, [ebp - 0x1c]
call fcn.004e0f91
push 0x53d2dc
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004e1169
lea edx, [edi + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebx + 4]
cmp eax, 0x52d4e0
jbe 0x42595e
mov ecx, dword [ebx]
cmp ecx, 0x52d4e0
ja 0x42595e
mov esi, 0x52d4e0
sub esi, ecx
cmp eax, dword [ebx + 8]
jne 0x425950
push 1
mov ecx, ebx
call fcn.00414760
mov eax, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
test eax, eax
je 0x425984
jmp 0x425978
cmp eax, dword [ebx + 8]
jne 0x42596c
push 1
mov ecx, ebx
call fcn.00414760
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x425984
mov esi, 0x52d4e0
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
add dword [ebx + 4], 0x40
mov eax, dword [ebx + 4]
cmp eax, 0x52d4a0
jbe 0x4259bf
mov ecx, dword [ebx]
cmp ecx, 0x52d4a0
ja 0x4259bf
mov esi, 0x52d4a0
sub esi, ecx
cmp eax, dword [ebx + 8]
jne 0x4259b1
push 1
mov ecx, ebx
call fcn.00414760
mov eax, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
test eax, eax
je 0x4259e5
jmp 0x4259d9
cmp eax, dword [ebx + 8]
jne 0x4259cd
push 1
mov ecx, ebx
call fcn.00414760
mov eax, dword [ebx + 4]
test eax, eax
je 0x4259e5
mov esi, 0x52d4a0
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add dword [ebx + 4], 0x40
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x20], eax
call esi
mov dword [edi + 0x24], eax
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x425d30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x18], eax
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 4
Function at 0x425b60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a0d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x54e938]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ebx, [edi + 4]
xor esi, esi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x48]
push ecx
mov dword [ebp - 4], esi
mov dword [edi], vtable.acrobat_broker::SandboxWebCamDispatcher.0
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x44], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebx + 4]
cmp eax, 0x52d168
jbe 0x425bf1
mov ecx, dword [ebx]
cmp ecx, 0x52d168
ja 0x425bf1
mov esi, 0x52d168
sub esi, ecx
cmp eax, dword [ebx + 8]
jne 0x425be3
push 1
mov ecx, ebx
call fcn.00414760
mov eax, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
test eax, eax
je 0x425c17
jmp 0x425c0b
cmp eax, dword [ebx + 8]
jne 0x425bff
push 1
mov ecx, ebx
call fcn.00414760
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x425c17
mov esi, 0x52d168
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
add dword [ebx + 4], 0x40
mov eax, dword [ebx + 4]
cmp eax, 0x52d128
jbe 0x425c52
mov ecx, dword [ebx]
cmp ecx, 0x52d128
ja 0x425c52
mov esi, 0x52d128
sub esi, ecx
cmp eax, dword [ebx + 8]
jne 0x425c44
push 1
mov ecx, ebx
call fcn.00414760
mov eax, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
test eax, eax
je 0x425c78
jmp 0x425c6c
cmp eax, dword [ebx + 8]
jne 0x425c60
push 1
mov ecx, ebx
call fcn.00414760
mov eax, dword [ebx + 4]
test eax, eax
je 0x425c78
mov esi, 0x52d128
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
add dword [ebx + 4], 0x40
mov eax, dword [ebx + 4]
cmp eax, 0x52d0e8
jbe 0x425cb3
mov ecx, dword [ebx]
cmp ecx, 0x52d0e8
ja 0x425cb3
mov esi, 0x52d0e8
sub esi, ecx
cmp eax, dword [ebx + 8]
jne 0x425ca5
push 1
mov ecx, ebx
call fcn.00414760
mov eax, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
test eax, eax
je 0x425cd9
jmp 0x425ccd
cmp eax, dword [ebx + 8]
jne 0x425cc1
push 1
mov ecx, ebx
call fcn.00414760
mov eax, dword [ebx + 4]
test eax, eax
je 0x425cd9
mov esi, 0x52d0e8
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add dword [ebx + 4], 0x40
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x24], eax
call esi
lea edx, [edi + 0x40]
push edx
push 0
push edi
push 0x426320
push 0
push 0
mov dword [edi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x20], eax
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 4
Function at 0x428650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 4], 0
jne 0x4286c6
push ebx
lea eax, [ebp - 0x20]
push str.Readerplug_insTest_Tools_aaFEAT.api
mov bl, 1
push eax
mov byte [esi + 4], bl
call fcn.00415460
add esp, 8
cmp dword [ebp - 0x10], 0
je 0x42869d
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x428692
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42869f
xor bl, bl
cmp dword [ebp - 0xc], 8
jb 0x4286b1
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406ec9
add esp, 4
mov byte [esi + 5], bl
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [esi + 5]
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x428b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54e938]
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], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x428c2d
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x428c2d
cmp byte [ebp + 0xc], 0
je 0x428bf8
push 0x5270e8
push 0x105
lea edx, [ebp - 0x210]
push edx
call fcn.00429b90
test eax, eax
js 0x428c2d
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428c14
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x210]
push ecx
jmp 0x428c46
xor edx, edx
push edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
push 0x50d97c
mov ecx, esi
call fcn.00406300
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret

Function at 0x428e30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
cmp ebx, edi
je 0x428ea6
cmp word [ebx], di
je 0x428ea6
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x428ea6
xor eax, eax
mov dword [ebp + 0xc], eax
cmp esi, eax
jbe 0x428e79
lea ecx, [ebp + 0xc]
push ecx
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00428f00
mov edi, dword [ebp - 0x10]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec esi
cmp eax, esi
je 0x428ea1
mov eax, dword [ebp - 0xc]
cmp edi, eax
je 0x428ea6
push 0
push eax
push edi
call fcn.004e0c30
add esp, 0xc
mov edx, 0x50d97c
jmp 0x428eaf
cmp edi, dword [ebp - 0xc]
jne 0x428ead
mov edx, 0x50d97c
jmp 0x428eaf
mov edx, edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov eax, edx
lea ebx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428ed0
sub eax, ebx
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00406300
test edi, edi
je 0x428ef5
push edi
call fcn.00406ec9
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429390
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ebx, eax
test ebx, ebx
je 0x42942f
mov ecx, ebx
cmp word [ebx], si
je 0x4293cf
lea esp, [esp]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4293b5
sub eax, esi
sar eax, 1
cmp word [ecx + eax*2 + 2], dx
lea ecx, [ecx + eax*2 + 2]
jne 0x4293b0
sub ecx, ebx
lea edi, [ecx + 2]
sar edi, 1
cmp edi, 0x3ffffffe
jb 0x4293e4
pop edi
pop esi
xor eax, eax
pop ebx
ret
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
push 0x551c20
neg ecx
or ecx, eax
push ecx
call fcn.0041867c
mov esi, eax
add esp, 8
test esi, esi
je 0x429428
lea eax, [edi + edi]
push eax
push ebx
push eax
push esi
call fcn.0041a095
add esp, 0x10
test eax, eax
je 0x429428
push esi
call fcn.004188d7
add esp, 4
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4297a0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503a18
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x54e938]
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]
xor ebx, ebx
cmp esi, ebx
je 0x429822
cmp word [esi], bx
je 0x429822
mov edi, 7
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00410290
add esp, 4
test al, al
jne 0x429840
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x429816
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ec9
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
xor eax, eax
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.00401316
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x48]
push ecx
call fcn.00429910
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], ebx
jne 0x429872
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040a2c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040a2c0
jmp 0x429822
mov eax, dword [ebp - 0x48]
mov ebx, 8
cmp dword [ebp - 0x34], ebx
jae 0x429882
lea eax, [ebp - 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call edi
test eax, eax
je 0x429855
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x64]
call fcn.00429a10
mov byte [ebp - 4], 2
push 0x5104d4
lea ecx, [ebp - 0x64]
call fcn.00429a40
push esi
lea ecx, [ebp - 0x64]
call fcn.00429a40
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x4298c0
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x4298d4
lea eax, [ebp - 0x2c]
push eax
call edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0040a2c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040a2c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040a2c0
mov eax, esi
jmp 0x429824
Function at 0x429910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5039d2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x54e938]
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, dword [ebp + 8]
xor edi, edi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
mov dword [ebp - 0x21c], edi
push ecx
mov dword [ebp - 0x220], esi
mov word [ebp - 0x218], ax
call fcn.004e15a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
je 0x4299c1
cmp eax, 0x104
jae 0x4299c1
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4299a1
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.00406300
jmp 0x4299dd
push edi
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push 0x50d97c
mov ecx, esi
mov word [esi], dx
call fcn.00406300
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], 1
mov eax, esi
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.00401316
mov esp, ebp
pop ebp
ret

Function at 0x429a70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x214], ecx
jne 0x429aa6
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
mov edi, 8
xor bl, bl
cmp dword [esi + 0x14], edi
jb 0x429ab8
mov eax, dword [esi]
jmp 0x429aba
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x429ad9
cmp eax, 0x50
je 0x429ad9
cmp eax, 0xb7
jne 0x429b6e
cmp dword [esi + 0x14], edi
jb 0x429ae0
mov esi, dword [esi]
lea eax, [ebp - 0x210]
mov ecx, eax
xor edi, edi
mov edx, 0x105
sub esi, ecx
lea ecx, [edx + 0x7ffffef9]
test ecx, ecx
je 0x429b0f
movzx ecx, word [esi + eax]
test cx, cx
je 0x429b0f
mov word [eax], cx
add eax, 2
dec edx
jne 0x429af1
jmp 0x429b13
test edx, edx
jne 0x429b1b
sub eax, 2
mov edi, 0x8007007a
xor edx, edx
mov word [eax], dx
test edi, edi
js 0x429b6e
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x429b6e
push 0x5270e8
push 0x105
lea ecx, [ebp - 0x210]
push ecx
call fcn.00429b90
test eax, eax
js 0x429b6e
mov edx, dword [ebp - 0x214]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [ebp - 0x210]
push edx
push 0
push 0
call eax
test eax, eax
sete bl
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x429c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], ax
call fcn.004e15a0
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x429d37
cmp word [ebp - 0x210], 0
je 0x429d37
test edi, edi
je 0x429cfe
push edi
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x429d37
cmp byte [ebp + 0x14], 0
je 0x429d2f
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x429d37
push 0x5270e8
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.00429b90
test eax, eax
js 0x429d37
lea edx, [ebp - 0x210]
jmp 0x429d3c
mov edx, 0x50d97c
xor ecx, ecx
mov eax, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429d54
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00406300
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x42a800
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506cec
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x54e938]
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, ecx
xor bl, bl
call fcn.00428650
test al, al
je 0x42aa43
push 0x20019
push str.SoftwareAdobeAcrobat_Reader11.0FEATcFeatDir
push 0x80000001
lea ecx, [ebp - 0x274]
call fcn.0040a8c0
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], edi
mov word [ebp - 0x250], ax
lea ecx, [ebp - 0x250]
push ecx
push str.tDIText
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.0041fac0
test eax, eax
jne 0x42aa00
cmp dword [ebp - 0x240], edi
je 0x42aa00
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.00461ec0
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x224], edi
je 0x42a9cf
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x42a8e1
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a9cf
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x42a905
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x42a9cf
cmp dword [ebp - 0x224], 0x104
jae 0x42a9cf
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x42a939
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.00402c49
add esp, 0xc
test eax, eax
jne 0x42a9bd
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x42a960
lea edx, [ebp - 0x218]
push edx
call fcn.0049b5d0
add esp, 4
test al, al
jne 0x42a982
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x42a960
jmp 0x42a9bd
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.00408940
push 1
lea edx, [ebp - 0x26c]
push edx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0042a520
lea ecx, [ebp - 0x26c]
mov bl, al
mov byte [ebp - 4], 2
call fcn.0040a2c0
test bl, bl
jne 0x42a9cf
push 1
lea eax, [ebp - 0x234]
push eax
mov ecx, esi
call fcn.0042a520
mov bl, al
cmp dword [ebp - 0x220], 8
jb 0x42a9e7
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00406ec9
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], dx
cmp dword [ebp - 0x23c], 8
jb 0x42aa18
mov eax, dword [ebp - 0x250]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov word [ebp - 0x250], cx
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040aa70
mov al, bl
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.00401316
mov esp, ebp
pop ebp
ret