Function at 0x432e43
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes
Print debug messages

Disassembly:
push 0x3fc
mov eax, 0x4f0c6f
call fcn.004bcf2f
mov ebx, ecx
mov dword [ebp - 0x2d0], ebx
xor esi, esi
cmp dword [ebx + 0x14], esi
je 0x4333db
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x218]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x432e9e
push 5
pop ecx
mov esi, str._flash_ksb
lea eax, [ebp - 0x218]
rep movsd dword es:[edi], dword [esi]
push 0
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.004045b0
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.004045b0
push str.ksb_repair.cab
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00404710
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x290]
call fcn.004045b0
push str.ksb_repair
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
call fcn.00404710
push ecx
push ecx
lea ecx, [ebp - 0x370]
call fcn.0043436a
mov byte [ebp - 4], 3
lea esi, [ebx + 4]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 8
cmovae eax, dword [ebp - 0x248]
pop ebx
mov dword [ebp - 0x2d4], eax
cmp dword [esi + 0x14], ebx
jb 0x432f61
mov edi, dword [esi]
jmp 0x432f63
mov edi, esi
lea eax, [ebp - 0x370]
push eax
call fcn.004370ac
pop ecx
mov edx, str.CrashRepair::StartRepair
mov ecx, eax
call fcn.004370de
mov edx, str.__Download_Url_is:
mov ecx, eax
call fcn.0043732b
mov edx, edi
mov ecx, eax
call fcn.0043732b
mov edx, str.__Download_File_is:
mov ecx, eax
call fcn.0043732b
mov edx, dword [ebp - 0x2d4]
mov ecx, eax
call fcn.0043732b
push eax
call fcn.004370ac
pop ecx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x370]
call fcn.00434465
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], ebx
jb 0x432fce
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 3
call fcn.00402120
cmp dword [esi + 0x14], ebx
jb 0x432feb
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x278]
call fcn.004045b0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.004333fb
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.00402120
cmp dword [ebp - 0x234], ebx
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x230]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.004045b0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmovae eax, dword [ebp - 0x230]
push eax
call esi
cmp eax, 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
sete bl
call fcn.00402120
test bl, bl
jne 0x43337d
cmp dword [ebp - 0x294], 8
lea eax, [ebp - 0x2a8]
lea ecx, [ebp - 0x278]
cmovae eax, dword [ebp - 0x2a8]
push eax
call fcn.004045b0
mov ecx, dword [ebp - 0x2d0]
lea eax, [ebp - 0x278]
xor ebx, ebx
mov byte [ebp - 4], 7
push ebx
push 0x433aef
push eax
call fcn.004338d5
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.00402120
lea ecx, [ebp - 0x290]
call fcn.00432bbd
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2c4], ebx
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00433713
test eax, eax
je 0x43336c
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [ebp - 0x2c8]
cmp ecx, eax
je 0x43336c
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
cmp eax, 1
ja 0x43336c
cmp dword [ecx + 0x14], 0x10
jb 0x433136
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x260]
call fcn.00401f90
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x278]
call fcn.00432d9a
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
call fcn.004020a0
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00404580
mov edi, 0x50c8cc
mov byte [ebp - 4], 0xc
push edi
lea ecx, [ebp - 0x2c0]
call fcn.00404710
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00405440
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404580
push edi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xd
call fcn.00404710
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x230]
call fcn.00405440
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x2c0]
call fcn.00432c89
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call esi
cmp eax, 0xffffffff
je 0x4332f6
call fcn.00433ce6
lea eax, [ebp - 0x230]
push eax
call fcn.00433b15
mov edi, eax
call fcn.00433e97
push ecx
push ecx
lea ecx, [ebp - 0x408]
call fcn.0043436a
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
push eax
cmovae esi, dword [ebp - 0x230]
call fcn.004370ac
pop ecx
push edi
push ecx
mov edx, str.CrashRepair::StartRepair
mov ecx, eax
call fcn.004370de
mov edx, str.__Register_File_is:
mov ecx, eax
call fcn.0043732b
mov edx, esi
mov ecx, eax
call fcn.0043732b
mov edx, str.__Register_result:
mov ecx, eax
call fcn.0043732b
pop ecx
mov ecx, eax
call fcn.0043449d
push eax
call fcn.004370ac
pop ecx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x408]
call fcn.00434465
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x4332b0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xe
call fcn.00402120
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0xd
call fcn.00434422
lea eax, [ebp - 0x3b8]
mov dword [ebp - 0x3b8], 0x510d48
push eax
mov dword [ebp - 0x3b8], 0x4fa99c
call fcn.004bb6d3
pop ecx
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xc
call fcn.00402120
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xb
call fcn.00402120
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 8
call fcn.00402120
lea ecx, [ebp - 0x290]
call fcn.00432bbd
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x260]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.004045b0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x10
call fcn.00432bbd
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 8
call fcn.00402120
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 3
call fcn.00416a30
jmp 0x43337f
xor ebx, ebx
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 2
call fcn.00434422
lea eax, [ebp - 0x320]
mov dword [ebp - 0x320], 0x510d48
push eax
mov dword [ebp - 0x320], 0x4fa99c
call fcn.004bb6d3
pop ecx
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 1
call fcn.00402120
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], bl
call fcn.00402120
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a8]
call fcn.00402120
call fcn.004bcede
ret