Function at 0x4364d0
Capabilities:
Create directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x469ded
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x4812a4]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4812a4]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x108]
mov esi, ecx
mov ebp, 0x10
cmp dword [esi + 0x18], ebp
mov dword [esp + 0x30], eax
jb 0x436527
mov eax, dword [esi + 4]
jmp 0x43652a
lea eax, [esi + 4]
xor ebx, ebx
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp eax, ebx
je 0x4368c5
cmp eax, 0xb7
je 0x4368c5
cmp byte [esp + 0x10c], bl
jne 0x436b97
lea ecx, [esp + 0x34]
push ecx
call fcn.0041f210
mov dword [esp + 0x100], ebx
push 0x24
mov ebp, 0xf
push str.INSTALLER_FAILED_TO_CREATE_DIRECTORY
lea ecx, [esp + 0xe0]
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.00407a50
mov byte [esp + 0x100], 1
lea edi, [esp + 0xd8]
call fcn.00419720
push eax
lea edx, [esp + 0x40]
push edx
call fcn.00420a90
add esp, 8
mov byte [esp + 0x100], bl
cmp dword [esp + 0xf0], 0x10
jb 0x4365d6
mov eax, dword [esp + 0xdc]
push eax
call fcn.00449824
add esp, 4
push 0xa
lea ecx, [esp + 0x40]
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
call fcn.00420760
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + eax + 0x44]
xor esi, esi
test cl, 6
jne 0x43661f
mov eax, dword [esp + eax + 0x64]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x43661f
mov esi, 4
cmp esi, ebx
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x3c]
je 0x436642
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], ebx
jne 0x43663b
or eax, 4
push ebx
push eax
call fcn.004075f0
push 0x1d
push str.INSTALLER_CHECK_ACCESS_RIGHTS
lea ecx, [esp + 0xe0]
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.00407a50
mov byte [esp + 0x100], 2
lea edi, [esp + 0xd8]
call fcn.00419720
push eax
lea edx, [esp + 0x40]
push edx
call fcn.00420a90
add esp, 8
mov byte [esp + 0x100], bl
cmp dword [esp + 0xf0], 0x10
jb 0x4366ad
mov eax, dword [esp + 0xdc]
push eax
call fcn.00449824
add esp, 4
push 0xa
lea ecx, [esp + 0x40]
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
call fcn.00420760
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 4]
xor esi, esi
test byte [esp + eax + 0x44], 6
jne 0x4366f4
mov eax, dword [esp + eax + 0x64]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4366f4
mov esi, 4
cmp esi, ebx
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x3c]
je 0x436717
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], ebx
jne 0x436710
or eax, 4
push ebx
push eax
call fcn.004075f0
push 0x22
push str.INSTALLER_CHECK_INVALID_CHARACTERS
lea ecx, [esp + 0xe0]
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.00407a50
mov byte [esp + 0x100], 3
lea edi, [esp + 0xd8]
call fcn.00419720
push eax
lea edx, [esp + 0x40]
push edx
call fcn.00420a90
add esp, 8
mov byte [esp + 0x100], bl
cmp dword [esp + 0xf0], 0x10
jb 0x436782
mov eax, dword [esp + 0xdc]
push eax
call fcn.00449824
add esp, 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.00420c80
mov byte [esp + 0x100], 4
mov ebp, 8
cmp dword [eax + 0x18], ebp
jb 0x4367bd
mov edx, dword [eax + 4]
jmp 0x4367c0
lea edx, [eax + 4]
mov edi, 7
mov eax, edx
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4367e0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0xe0]
call fcn.00411fd0
mov byte [esp + 0x100], 5
cmp dword [esp + 0xf0], ebp
mov esi, dword [esp + 0xdc]
jae 0x43681c
lea esi, [esp + 0xdc]
push 0x50010
push ecx
call fcn.00419780
add esp, 4
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x2e0]
push esi
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [esp + 0x100], 4
cmp dword [esp + 0xf0], ebp
jb 0x43685e
mov edx, dword [esp + 0xdc]
push edx
call fcn.00449824
add esp, 4
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
mov byte [esp + 0x100], bl
cmp dword [esp + 0x2c], ebp
jb 0x43688e
mov eax, dword [esp + 0x18]
push eax
call fcn.00449824
add esp, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x88]
call fcn.004206d0
lea ecx, [esp + 0x88]
call fcn.0041f2e0
xor al, al
jmp 0x436bfc
push 0x29
mov edi, 0xf
push str.TEMP_AB3D9B7E_F216_4f16_8782_43E3D8EB98C9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00407a50
mov dword [esp + 0x100], 6
lea ecx, [esp + 0xd8]
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.004156a0
add esp, 8
mov byte [esp + 0x100], 8
cmp dword [esp + 0x2c], ebp
jb 0x436921
mov edx, dword [esp + 0x18]
push edx
call fcn.00449824
add esp, 4
cmp dword [esp + 0xf0], ebp
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jae 0x436944
lea eax, [esp + 0xdc]
push ebx
push ebx
push 4
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x436b9b
cmp byte [esp + 0x10c], bl
jne 0x436b61
lea eax, [esp + 0x34]
push eax
call fcn.0041f210
mov byte [esp + 0x100], 9
push str.INSTALLER_FAILED_TO_WRITE_TO_DIRECTORY
lea ecx, [esp + 0x18]
call fcn.004091b0
mov byte [esp + 0x100], 0xa
lea edi, [esp + 0x14]
call fcn.00419720
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00420a90
add esp, 8
mov byte [esp + 0x100], 9
cmp dword [esp + 0x2c], 0x10
jb 0x4369c9
mov edx, dword [esp + 0x18]
push edx
call fcn.00449824
add esp, 4
push 0xa
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00420760
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
xor esi, esi
test byte [esp + eax + 0x44], 6
jne 0x436a0a
mov eax, dword [esp + eax + 0x64]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, ebp
jne 0x436a0a
mov esi, 4
cmp esi, ebx
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x3c]
je 0x436a2d
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], ebx
jne 0x436a26
or eax, 4
push ebx
push eax
call fcn.004075f0
push str.INSTALLER_CHECK_ACCESS_RIGHTS
lea ecx, [esp + 0x18]
call fcn.004091b0
mov byte [esp + 0x100], 0xb
lea edi, [esp + 0x14]
call fcn.00419720
push eax
lea edx, [esp + 0x40]
push edx
call fcn.00420a90
add esp, 8
mov byte [esp + 0x100], 9
cmp dword [esp + 0x2c], 0x10
jb 0x436a76
mov eax, dword [esp + 0x18]
push eax
call fcn.00449824
add esp, 4
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00420c80
mov byte [esp + 0x100], 0xc
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x436aaf
mov eax, dword [eax + 4]
jmp 0x436ab2
add eax, 4
mov edx, eax
lea eax, [esp + 0x14]
call fcn.00412070
mov byte [esp + 0x100], 0xd
mov eax, dword [esp + 0x30]
add eax, 0x2d0
push eax
lea eax, [esp + 0x18]
call fcn.00440f50
mov byte [esp + 0x100], 0xc
cmp dword [esp + 0x2c], esi
jb 0x436af3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00449824
add esp, 4
mov edi, 7
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
mov byte [esp + 0x100], 9
cmp dword [esp + 0xd4], esi
jb 0x436b26
mov edx, dword [esp + 0xc0]
push edx
call fcn.00449824
add esp, 4
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
mov byte [esp + 0x100], 8
lea ecx, [esp + 0x88]
call fcn.004206d0
lea ecx, [esp + 0x88]
call fcn.0041f2e0
mov edi, 0xf
mov dword [esp + 0x100], ebp
cmp dword [esp + 0xf0], 0x10
jb 0x436b82
mov eax, dword [esp + 0xdc]
push eax
call fcn.00449824
add esp, 4
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
xor al, al
jmp 0x436bfc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xdc]
mov esi, 0x10
cmp dword [esp + 0xf0], esi
jae 0x436bbe
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x100], ebp
cmp dword [esp + 0xf0], esi
jb 0x436be5
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00449824
add esp, 4
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
mov al, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.00449829
add esp, 0xf0
ret 8