Function at 0x4b18c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520cf9
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x584f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xb4], eax
xor ecx, ecx
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
xor eax, eax
mov dword [ebp - 0xac], 1
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push eax
push 0x104
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.004d9500
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [ebp - 0x2c], 7
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
xorps xmm0, xmm0
cmova edi, dword [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
cmp esi, 0x7ffffffe
ja 0x4b2577
mov ecx, 0xa
cmp esi, 7
ja 0x4b19c4
mov ecx, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
jmp 0x4b1a1c
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4b19d7
mov eax, 0x7ffffffe
jmp 0x4b19dd
cmp eax, 0xa
cmovb eax, ecx
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045bf50
mov ecx, eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
lea eax, [esi*2 + 2]
push eax
push edi
push ecx
mov dword [ebp - 0x28], ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp esi, 0x104
jb 0x4b1a44
cmp ecx, 7
mov dword [ebp - 0x18], 0x104
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x4b1a56
mov eax, 0x104
lea ecx, [ebp - 0x28]
push 0
sub eax, esi
push eax
call fcn.004d9500
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
push 0x104
cmova ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
push ecx
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x4b1b66
cmp dword [ebp - 0x2c], 7
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
xorps xmm0, xmm0
cmova edi, dword [ebp - 0x40]
movups xmmword [ebp - 0x58], xmm0
cmp esi, 0x7ffffffe
ja 0x4b2577
cmp esi, 7
ja 0x4b1ab6
movups xmm0, xmmword [edi]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 7
jmp 0x4b1b11
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4b1ac9
mov eax, 0x7ffffffe
jmp 0x4b1ad4
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045bf50
mov ecx, eax
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x44], eax
lea eax, [esi*2 + 2]
push eax
push edi
push ecx
mov dword [ebp - 0x58], ecx
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [ebp - 0x58]
add esp, 0x14
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xac], 3
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x80], xmm0
cmp ecx, 7
jbe 0x4b1b5f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1b55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b1b55
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050686b
add esp, 8
movq xmm0, qword [ebp - 0x48]
jmp 0x4b1b81
movups xmm0, xmmword [ebp - 0x28]
mov dword [ebp - 0xac], 3
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
movq qword [ebp - 0xa8], xmm0
cmp ecx, 7
jbe 0x4b1bc3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1bb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b254a
push ecx
push edx
call fcn.0050686b
add esp, 8
movups xmm0, xmmword [ebp - 0x80]
push 7
push 0x5389b4
movups xmmword [ebp - 0x40], xmm0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movq xmm0, qword [ebp - 0xa8]
movq qword [ebp - 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.0045bfe0
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004d2fc0
mov ecx, dword [ebp - 0x44]
add esp, 0xc
mov byte [ebp - 4], 1
mov esi, eax
cmp ecx, 7
jbe 0x4b1c52
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1c48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b254a
push ecx
push edx
call fcn.0050686b
add esp, 8
cmp esi, 0xffffffff
je 0x4b2070
lea eax, [ebp - 0x58]
push 0x2e
push eax
call fcn.004c7c90
mov esi, eax
add esp, 8
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4b1cda
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b1ca8
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1c9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b1d06
push ecx
push edx
call fcn.0050686b
add esp, 8
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4b1d16
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1d0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b1d0c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050686b
add esp, 8
push 0x5c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004c1c80
push str.Temp
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
call fcn.00482be0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4b1db0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b1d7e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1d74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b1e2a
push ecx
push edx
call fcn.0050686b
add esp, 8
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4b1de6
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1ddc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b1e2a
push ecx
push edx
call fcn.0050686b
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x4b1e3a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1e30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b1e30
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050686b
add esp, 8
cmp dword [ebp - 0x2c], 7
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
xorps xmm0, xmm0
cmova edi, dword [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
cmp esi, 0x7ffffffe
ja 0x4b2577
cmp esi, 7
ja 0x4b1e82
mov ecx, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
jmp 0x4b1edf
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4b1e95
mov eax, 0x7ffffffe
jmp 0x4b1ea0
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045bf50
mov ecx, eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
lea eax, [esi*2 + 2]
push eax
push edi
push ecx
mov dword [ebp - 0x28], ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 5
mov dword [ebp - 0xac], 7
test esi, esi
je 0x4b1f4b
lea edx, [esi - 1]
cmp esi, edx
jbe 0x4b257c
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
cmp ecx, 7
cmova eax, edi
movzx eax, word [eax + edx*2]
cmp eax, 0x5c
je 0x4b1f4b
cmp eax, 0x2f
je 0x4b1f4b
cmp esi, ecx
jae 0x4b1f32
lea eax, [esi + 1]
cmp ecx, 7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, edi
mov dword [eax + esi*2], 0x5c
jmp 0x4b1f4b
push 0x5c
mov byte [ebp - 0xa4], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0xa4]
push 1
call fcn.00484260
mov dword [ebp - 0xac], 0
push str.Temp
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00482be0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4b1fe6
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b1fb4
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1faa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2060
push ecx
push edx
call fcn.0050686b
add esp, 8
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4b201c
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b2012
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2060
push ecx
push edx
call fcn.0050686b
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x4b2070
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b2066
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b2066
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050686b
add esp, 8
cmp dword [ebp - 0x30], 0
jne 0x4b24ec
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 7
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x70], ax
push 0x5389d0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00484fe0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d35d0
add esp, 8
lea ecx, [ebp - 0x70]
push eax
call fcn.00488d20
lea ecx, [ebp - 0x28]
call fcn.00475e90
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00475e90
mov edi, dword [ebp - 0x60]
test edi, edi
jne 0x4b249d
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x48], edi
push str.TMPDIR
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], edi
movups xmmword [ebp - 0x58], xmm0
call fcn.0045bfe0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d35d0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x4b217c
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x4b2155
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b214b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b21f6
push ecx
push edx
call fcn.0050686b
add esp, 8
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x60], xmm0
mov edi, dword [ebp - 0x60]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4b21b2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b21a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b21f6
push ecx
push edx
call fcn.0050686b
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x4b2206
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b21fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b21fc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050686b
add esp, 8
test edi, edi
jne 0x4b249d
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x48], edi
push str.TEMP
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], edi
movups xmmword [ebp - 0x58], xmm0
call fcn.0045bfe0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d35d0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x4b22aa
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x4b2283
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b2279
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b2279
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050686b
add esp, 8
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x60], xmm0
mov edi, dword [ebp - 0x60]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x28]
call fcn.00475e90
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 7
cmp eax, 7
jbe 0x4b22ce
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x58]
push eax
call fcn.004d9440
add esp, 0xc
test edi, edi
jne 0x4b249d
xorps xmm0, xmm0
mov dword [ebp - 0x18], edi
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
push str.USER
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.00484fe0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004d35d0
add esp, 8
lea ecx, [ebp - 0x88]
push eax
call fcn.00488d20
lea ecx, [ebp - 0xa0]
call fcn.00475e90
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.00475e90
cmp dword [ebp - 0x78], edi
jne 0x4b23b3
push str.USERNAME
lea ecx, [ebp - 0x58]
call fcn.00484fe0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004d35d0
add esp, 8
lea ecx, [ebp - 0x88]
push eax
call fcn.00488d20
lea ecx, [ebp - 0xa0]
call fcn.00475e90
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.00475e90
cmp dword [ebp - 0x78], edi
jne 0x4b23b3
push 3
push 0x538a14
lea ecx, [ebp - 0x88]
call fcn.004d96d0
push str._tmp
call fcn.0049eaf0
add esp, 4
test al, al
je 0x4b23d5
push 5
push str._tmp_
lea ecx, [ebp - 0x28]
call fcn.004d96d0
jmp 0x4b23f8
lea eax, [ebp - 0xa0]
push eax
call fcn.004a0a40
add esp, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.00488d20
lea ecx, [ebp - 0xa0]
call fcn.00475e90
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c1c80
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00482b80
add esp, 0x18
lea ecx, [ebp - 0x28]
push eax
call fcn.00488d20
lea ecx, [ebp - 0xa0]
call fcn.00475e90
lea ecx, [ebp - 0x58]
call fcn.00475e90
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 0xb
cmp eax, 7
jbe 0x4b2460
push eax
push dword [ebp - 0x88]
lea eax, [ebp - 0x88]
push eax
call fcn.004d9440
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.0049ddc0
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x40]
cmova eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.004d96d0
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x4b24b2
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.004d9440
add esp, 0xc
jmp 0x4b24b2
cmp dword [ebp - 0x5c], 7
lea eax, [ebp - 0x70]
push edi
cmova eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x40]
push eax
call fcn.004d96d0
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x4b24ec
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b24e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b254a
push ecx
push edx
call fcn.0050686b
add esp, 8
cmp dword [ebp - 0x2c], 7
lea edx, [ebp - 0x40]
cmova edx, dword [ebp - 0x40]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b2500
sub ecx, esi
mov esi, dword [ebp - 0xb0]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004d96d0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b255a
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b2550
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b2550
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050686b
add esp, 8
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.00506d06
mov esp, ebp
pop ebp
ret
call fcn.00475ef0
call fcn.00475f20
int3