Function at 0x432243
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
mov ebx, ecx
mov dword [esp + 0x48], edx
xor ecx, ecx
push esi
push edi
cmp dword [ebx + 0x10], ecx
jne 0x432266
xor al, al
jmp 0x432bab
push 5
pop eax
push 0xffffffffffffffe9
pop esi
mov dword [esp + 0xc], eax
mov dword [esp + 0xc], esi
jmp 0x43235e
mov dword [esp + 0x1c], 7
mov dword [esp + 0x1c], 0x12
jmp 0x43234f
mov dword [esp + 0x28], 0xceafd94f
mov dword [esp + 0x28], 0xfffffff3
jmp 0x432341
mov dword [esp + 0x40], 0x23607a98
mov dword [esp + 0x18], ecx
jmp 0x4322c1
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x70], 0x23d1
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 1
jl 0x4322b1
mov dword [esp + 0x40], ecx
jmp 0x432337
mov dword [esp + 0x18], 0x29822cb3
mov dword [esp + 0x18], ecx
jmp 0x43232d
mov dword [esp + 0x10], ecx
mov dword [esp + 0x10], ecx
jmp 0x432303
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x70], ecx
jne 0x432309
mov byte [esp + 0x37], cl
lea ecx, [esp + 0x37]
call fcn.00431142
inc dword [esp + 0x10]
xor ecx, ecx
cmp dword [esp + 0x10], ecx
jle 0x4322e6
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x10], ecx
jl 0x432329
mov byte [esp + 0x36], cl
lea ecx, [esp + 0x36]
call fcn.0042ea8b
dec dword [esp + 0x10]
push 0
pop ecx
jns 0x432313
inc dword [esp + 0x18]
cmp dword [esp + 0x18], ecx
jle 0x4322dc
inc dword [esp + 0x40]
cmp dword [esp + 0x40], ecx
jle 0x4322ce
dec dword [esp + 0x28]
cmp dword [esp + 0x28], esi
jle 0x4322a3
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xfffffff6
jle 0x43228e
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x13
jne 0x432279
lea ecx, [esp + 0x50]
call fcn.0042ee35
xor edx, edx
mov dword [esp + 0x1c], 1
push 3
mov dword [esp + 0x10], edx
pop edi
jmp 0x432395
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x74], 0x4e1a
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x432385
dec dword [esp + 0x7c]
push 2
mov dword [esp + 0x20], edx
pop esi
jmp 0x43249b
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x432402
mov dword [esp + 0xc], 0xa622a149
mov dword [esp + 0xc], edx
cmp dword [esp + 0xc], esi
jg 0x4323f2
call fcn.004316f4
mov byte [esp + 0x35], 0
lea ecx, [esp + 0x35]
call fcn.004319ac
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jle 0x4323d3
xor edx, edx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x74]
mov dword [esp + 0xc], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jle 0x4323c1
mov dword [esp + 0x10], edx
jmp 0x43248d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x74]
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x74], ecx
mov byte [esp + 0x17], dl
cmp byte [esp + 0x17], 0
je 0x432489
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], 0xb0e446df
mov dword [esp + 0xc], 6
jmp 0x432470
mov byte [esp + 0x17], dl
cmp byte [esp + 0x17], 0
je 0x432458
push 0xc2f
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor edx, edx
mov byte [esp + 0x17], dl
cmp byte [esp + 0x17], 0
je 0x43246c
push edx
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
xor edx, edx
dec dword [esp + 0xc]
cmp dword [esp + 0xc], 0xffffffe2
jl 0x43243f
inc dword [esp + 0x28]
push edx
push 0x1f79
call dword [sym.imp.USER32.dll_ValidateRect]
xor edx, edx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jle 0x43240e
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xfffffff4
jle 0x4323ab
cmp dword [ebx + 0x14], 0x10
jb 0x4324b0
mov ecx, dword [ebx]
jmp 0x4324b2
mov ecx, ebx
cmp dword [ebx + 0x14], 0x10
mov dword [esp + 0x4c], ecx
jb 0x4324c0
mov edx, dword [ebx]
jmp 0x4324c2
mov edx, ebx
mov eax, dword [ebx + 0x10]
add eax, edx
cmp ecx, eax
je 0x432b38
push esi
lea ecx, [esp + 0x98]
call fcn.00413a85
mov dword [esp + 0xc], 0xffffffff
lea ecx, [esp + 0xe4]
mov dword [esp + 0xc], 0
mov dword [esp + 0xc], 0
push esi
call fcn.00413a85
lea edx, [esp + 0x94]
lea ecx, [esp + 0x24]
call fcn.0042f51f
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x24], ecx
inc edx
jmp 0x43252c
mov eax, dword [esp + 0x24]
mov dword [esp + eax*4 + 0x48], 0xc184c506
inc dword [esp + 0x24]
cmp dword [esp + 0x24], edx
jl 0x43251c
mov dword [esp + 0x24], ecx
jmp 0x432547
mov eax, dword [esp + 0x24]
mov dword [esp + eax*4 + 0x84], ecx
inc dword [esp + 0x24]
cmp dword [esp + 0x24], edx
jl 0x432538
lea edx, [esp + 0xe4]
lea ecx, [esp + 0x24]
call fcn.0042f60e
mov dword [esp + 0x48], 0
jmp 0x43271f
mov dword [esp + 0x18], 0xa6b950ba
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc], 0xf6fb807c
mov dword [esp + 0x1c], 0x96f377cc
push esi
call fcn.00413a85
mov dword [esp + 0xc], 1
lea ecx, [esp + 0xd8]
mov dword [esp + 0xc], 0xc92d14b4
push esi
call fcn.00413a85
mov dword [esp + 0x38], 0
jmp 0x4325c9
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xc0]
and dword [eax + ecx*4], 0
inc dword [esp + 0x38]
cmp dword [esp + 0x38], esi
jl 0x4325b6
lea edx, [esp + 0xd8]
lea ecx, [esp + 0x38]
call fcn.0042f97f
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x18], 1
jg 0x432703
mov dword [esp + 0xc], 0xfffffffd
mov dword [esp + 0x28], 0x6799626d
mov dword [esp + 0xc], 0xffff
mov dword [esp + 0x10], ecx
jmp 0x43261d
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x10c], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x43260e
mov dword [esp + 0x10], ecx
jmp 0x432635
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x54], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x432629
mov eax, dword [esp + 0xc]
inc dword [esp + 0xc]
test eax, eax
jne 0x4326dc
mov dword [esp + 0xc], 0xaadab70c
xor ecx, ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0xd8]
mov esi, dword [esp + 0x54]
push 3
imul eax, dword [eax], 0xfffffffc
cmp eax, dword [edi + 4]
mov eax, dword [esp + 0x98]
setg cl
imul esi, ecx
mov ecx, dword [esp + 0x10]
add ecx, dword [eax + edx*4]
xor edx, edx
mov eax, dword [esp + 0x20]
cmp ecx, esi
setl dl
xor ecx, ecx
cmp edx, eax
setle cl
xor edx, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x20]
cmp eax, ecx
mov eax, dword [esp + 0xc4]
setge dl
xor ecx, ecx
cmp edx, dword [eax]
mov eax, dword [esp + 0x2c]
setg cl
sub ecx, eax
xor eax, eax
cmp ecx, dword [edi + 4]
pop edi
setne al
mov dword [esp + 0x54], eax
mov dword [esp + 0x84], 0x89cdee7b
mov eax, dword [esp + 0xe4]
mov dword [eax], 1
call fcn.0042fb1c
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 1
push 0
pop ecx
jle 0x4325f0
push 2
pop esi
lea ecx, [esp + 0xd8]
call fcn.00413e03
lea ecx, [esp + 0xc0]
call fcn.00413e03
inc dword [esp + 0x48]
cmp dword [esp + 0x48], 1
jle 0x43256a
lea ecx, [esp + 0xe4]
call fcn.00413e03
lea ecx, [esp + 0x94]
call fcn.00413e03
mov eax, dword [esp + 0x4c]
mov al, byte [eax]
cmp al, 0x30
jl 0x43296d
cmp al, 0x39
jg 0x43296d
push 1
lea ecx, [esp + 0xf4]
call fcn.00413a85
mov dword [esp + 0xc], 0
jmp 0x432783
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xf0]
and dword [eax + ecx*4], 0
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 1
jl 0x432770
call fcn.00431c6c
mov byte [esp + 0x17], 0
cmp byte [esp + 0x17], 0
je 0x4327a0
call fcn.004304d3
lea ecx, [esp + 0xf0]
call fcn.00413e03
lea eax, [esp + 0x4c]
push eax
push 0x4083
lea eax, [esp + 0x58]
push eax
push 0
push 0x7dfb
call fcn.00435c48
add esp, 0x14
mov dword [esp + 0x30], 0x5ba7723
mov dword [esp + 0x44], 0xd4e6
lea ecx, [esp + 0xa8]
mov dword [esp + 0x20], 0xfffffffe
push esi
call fcn.00413a85
mov dword [esp + 0x10], 0
jmp 0x432809
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x58], 0xd018d30
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x4327f9
mov dword [esp + 0x10], 0
jmp 0x43282c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xa8]
mov dword [eax + ecx*4], esi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x43281a
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x24]
call fcn.00430566
pop ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
jmp 0x43294d
mov dword [esp + 0x28], 0x5a60c437
mov dword [esp + 0x30], ecx
jmp 0x43293f
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], edi
cmp dword [esp + 0x44], ecx
jl 0x43293b
mov dword [esp + 0xc], 0x2a83a0f0
mov dword [esp + 0xc], edi
cmp dword [esp + 0xc], ecx
jl 0x432931
push 5
pop edi
mov eax, dword [esp + 0x20]
cmp dword [esp + eax*4 + 0x58], ecx
je 0x4328a9
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], 0xf1e5c8a5
call fcn.00430823
jmp 0x432921
mov eax, dword [esp + 0x20]
cmp dword [esp + eax*4 + 0x58], ecx
jne 0x4328c9
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], ecx
jne 0x4328c9
mov eax, dword [esp + 0x30]
mov eax, dword [esp + eax*4 + 0x58]
mov eax, dword [esp + 0xa8]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + eax*4 + 0x58]
add eax, 0xfff6
jne 0x4328e6
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
xor edx, edx
mov eax, dword [esp + eax*4 + 0x58]
cmp eax, 0xffffffff
mov eax, dword [esp + 0x20]
sete dl
xor ecx, ecx
mov eax, dword [esp + eax*4 + 0x58]
cmp edx, eax
mov eax, dword [esp + 0x20]
setg cl
cmp edi, ecx
mov eax, dword [esp + eax*4 + 0x58]
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
mov eax, dword [esp + 0x20]
setne cl
mov dword [esp + eax*4 + 0x58], ecx
dec dword [esp + 0xc]
push 0
pop ecx
jns 0x43288c
push 3
pop edi
dec dword [esp + 0x44]
jns 0x432873
inc dword [esp + 0x30]
cmp dword [esp + 0x30], edi
jle 0x432861
inc dword [esp + 0x20]
cmp dword [esp + 0x20], edi
jle 0x432850
lea ecx, [esp + 0xa8]
call fcn.00413e03
mov ecx, dword [esp + 0x4c]
inc ecx
jmp 0x4324b2
push 0x847
push 0x3ed1
push 0x4586
lea eax, [esp + 0x5c]
xor ebx, ebx
push eax
push 0x63e7
push 0x32e5
push 0x3b38
push ebx
call fcn.00436506
add esp, 0x20
lea ecx, [esp + 0x100]
push esi
call fcn.00413a85
push edi
lea ecx, [esp + 0xb8]
call fcn.00413a85
mov dword [esp + 0x3c], ebx
jmp 0x4329cd
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x100]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x3c]
cmp dword [esp + 0x3c], esi
jl 0x4329bb
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x3c]
call fcn.00430976
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x4329f2
call fcn.00430d02
mov esi, dword [esp + 0xb4]
mov dword [esi + 4], ebx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x2c], 1
cmp dword [esp + 0x2c], ebx
jl 0x432a63
push 1
lea ecx, [esp + 0xd0]
call fcn.00413a85
lea edx, [esp + 0xcc]
lea ecx, [esp + 0xfc]
call fcn.00430db0
mov edi, dword [esp + 0xcc]
mov dword [edi], 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], bl
call fcn.00431f7e
dec dword [edi]
jns 0x432a40
lea ecx, [esp + 0xcc]
call fcn.00413e03
dec dword [esp + 0x2c]
jns 0x432a12
mov dword [esp + 0x2c], 1
cmp dword [esp + 0x2c], ebx
jl 0x432a86
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x432a80
call fcn.00430f88
dec dword [esp + 0x2c]
jns 0x432a71
inc dword [esi + 4]
cmp dword [esi + 4], 1
jle 0x4329fc
lea ecx, [esp + 0xb4]
call fcn.00413e03
lea ecx, [esp + 0x100]
call fcn.00413e03
mov dword [esp + 0xc], ebx
jmp 0x432ac4
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xa0], 0xea75
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x432ab1
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x432b2c
mov dword [esp + 0x10], 1
mov dword [esp + 0x10], 0xfffffff7
jmp 0x432b1c
mov dword [esp + 0x18], 0xa876e6ba
mov dword [esp + 0x18], ebx
jmp 0x432b0d
mov dword [esp + 0xc], 0x61ab6ec7
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 7
jge 0x432af5
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffff9
jle 0x432ae7
push ebx
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringByteLen]
dec dword [esp + 0xa4]
jmp 0x43225f
push edi
lea ecx, [esp + 0x8c]
call fcn.00413a85
mov dword [esp + 0x80], 0xffff
mov dword [esp + 0x6c], 0xd4a7c769
mov dword [esp + 0xc], 0
jmp 0x432b78
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov dword [eax + ecx*4], 0xa61928c1
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x432b62
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
and dword [ecx + 4], 0
mov ecx, dword [esp + 0x88]
mov dword [ecx], edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x6c], edx
call fcn.00413e03
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret