Function at 0x48aa80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce879
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4fafc0]
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.004b3990
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 0x48b73c
mov ecx, 0xa
cmp esi, 7
ja 0x48ab84
mov ecx, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
jmp 0x48abdc
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x48ab97
mov eax, 0x7ffffffe
jmp 0x48ab9d
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.0045f300
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 0x48ac04
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 0x48ac16
mov eax, 0x104
lea ecx, [ebp - 0x28]
push 0
sub eax, esi
push eax
call fcn.004b3990
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 0x48ad26
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 0x48b73c
cmp esi, 7
ja 0x48ac76
movups xmm0, xmmword [edi]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 7
jmp 0x48acd1
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x48ac89
mov eax, 0x7ffffffe
jmp 0x48ac94
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.0045f300
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 0x48ad1f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48ad15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ad15
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
add esp, 8
movq xmm0, qword [ebp - 0x48]
jmp 0x48ad41
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 0x48ad83
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48ad79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b70f
push ecx
push edx
call fcn.004be688
add esp, 8
movups xmm0, xmmword [ebp - 0x80]
push 7
push str.Windows
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.0045f390
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004acdb0
mov ecx, dword [ebp - 0x44]
add esp, 0xc
mov byte [ebp - 4], 1
mov esi, eax
cmp ecx, 7
jbe 0x48ae12
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48ae08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b70f
push ecx
push edx
call fcn.004be688
add esp, 8
cmp esi, 0xffffffff
je 0x48b239
lea eax, [ebp - 0x58]
push 0x2e
push eax
call fcn.0049f160
mov esi, eax
add esp, 8
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x48ae9a
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x48ae68
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48ae5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48aec6
push ecx
push edx
call fcn.004be688
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 0x48aed6
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48aecc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48aecc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
add esp, 8
push 0x5c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00498ab0
push str.Temp
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
call fcn.0045ec30
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x48af70
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x48af3e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48af34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48afea
push ecx
push edx
call fcn.004be688
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 0x48afa6
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48af9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48afea
push ecx
push edx
call fcn.004be688
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 0x48affa
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48aff0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48aff0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
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 0x48b73c
cmp esi, 7
ja 0x48b042
mov ecx, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
jmp 0x48b09f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x48b055
mov eax, 0x7ffffffe
jmp 0x48b060
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.0045f300
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]
test esi, esi
mov byte [ebp - 4], 5
mov dword [ebp - 0xac], 7
sete al
test esi, esi
je 0x48b114
mov edi, dword [ebp - 0x28]
test al, al
jne 0x48b0df
lea edx, [esi - 1]
cmp esi, edx
jbe 0x48b741
cmp ecx, 7
lea eax, [ebp - 0x28]
cmova eax, edi
movzx eax, word [eax + edx*2]
cmp eax, 0x5c
je 0x48b114
cmp eax, 0x2f
je 0x48b114
cmp esi, ecx
jae 0x48b0fb
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 0x48b114
push 0x5c
mov byte [ebp - 0xa4], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0xa4]
push 1
call fcn.00460ae0
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.0045ec30
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x48b1af
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x48b17d
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48b173
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b229
push ecx
push edx
call fcn.004be688
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 0x48b1e5
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48b1db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b229
push ecx
push edx
call fcn.004be688
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 0x48b239
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48b22f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b22f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
add esp, 8
cmp dword [ebp - 0x30], 0
jne 0x48b6b5
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 0x4dc108
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00461900
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004adad0
add esp, 8
lea ecx, [ebp - 0x70]
push eax
call fcn.004663f0
lea ecx, [ebp - 0x28]
call fcn.004b38e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.004b38e0
mov edi, dword [ebp - 0x60]
test edi, edi
jne 0x48b666
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.0045f390
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004adad0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x48b345
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x48b31e
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48b314
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b3bf
push ecx
push edx
call fcn.004be688
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 0x48b37b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48b371
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b3bf
push ecx
push edx
call fcn.004be688
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 0x48b3cf
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48b3c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b3c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
add esp, 8
test edi, edi
jne 0x48b666
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.0045f390
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004adad0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x48b473
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x48b44c
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48b442
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b442
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
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.004b38e0
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 7
cmp eax, 7
jbe 0x48b497
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x58]
push eax
call fcn.004b36b0
add esp, 0xc
test edi, edi
jne 0x48b666
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.00461900
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004adad0
add esp, 8
lea ecx, [ebp - 0x88]
push eax
call fcn.004663f0
lea ecx, [ebp - 0xa0]
call fcn.004b38e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.004b38e0
cmp dword [ebp - 0x78], edi
jne 0x48b57c
push str.USERNAME
lea ecx, [ebp - 0x58]
call fcn.00461900
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004adad0
add esp, 8
lea ecx, [ebp - 0x88]
push eax
call fcn.004663f0
lea ecx, [ebp - 0xa0]
call fcn.004b38e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.004b38e0
cmp dword [ebp - 0x78], edi
jne 0x48b57c
push 3
push 0x4dc14c
lea ecx, [ebp - 0x88]
call fcn.004b3c00
push str._tmp
call fcn.0047a160
add esp, 4
test al, al
je 0x48b59e
push 5
push str._tmp_
lea ecx, [ebp - 0x28]
call fcn.004b3c00
jmp 0x48b5c1
lea eax, [ebp - 0xa0]
push eax
call fcn.0047af30
add esp, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.004663f0
lea ecx, [ebp - 0xa0]
call fcn.004b38e0
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00498ab0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0045ebd0
add esp, 0x18
lea ecx, [ebp - 0x28]
push eax
call fcn.004663f0
lea ecx, [ebp - 0xa0]
call fcn.004b38e0
lea ecx, [ebp - 0x58]
call fcn.004b38e0
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 0xb
cmp eax, 7
jbe 0x48b629
push eax
push dword [ebp - 0x88]
lea eax, [ebp - 0x88]
push eax
call fcn.004b36b0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.004793f0
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.004b3c00
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x48b67b
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.004b36b0
add esp, 0xc
jmp 0x48b67b
cmp dword [ebp - 0x5c], 7
lea eax, [ebp - 0x70]
push edi
cmova eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x40]
push eax
call fcn.004b3c00
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x48b6b5
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48b6ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b70f
push ecx
push edx
call fcn.004be688
add esp, 8
cmp dword [ebp - 0x2c], 7
lea edx, [ebp - 0x40]
cmova edx, dword [ebp - 0x40]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b6c5
sub ecx, esi
mov esi, dword [ebp - 0xb0]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004b3c00
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x48b71f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48b715
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b715
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
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.004beb23
mov esp, ebp
pop ebp
ret
call fcn.004b3940
call fcn.004b3980
int3