Function at 0x48a790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9b90
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4f4f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], edi
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xac], 1
mov dword [ebp - 0x30], eax
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.004b3a40
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004613e0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp ecx, 0x104
jb 0x48a86e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x104
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x48a880
mov eax, 0x104
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.004b3a40
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0x104
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x48a90c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.004613e0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xac], 3
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x48a8fd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48a8f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48a8f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
movups xmm1, xmmword [ebp - 0x58]
movq xmm0, qword [ebp - 0x48]
movups xmmword [ebp - 0x50], xmm1
jmp 0x48a927
movups xmm0, xmmword [ebp - 0x28]
mov dword [ebp - 0xac], 3
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
movq qword [ebp - 0xb8], xmm0
cmp edx, 8
jb 0x48a969
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48a95f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b37f
push edx
push ecx
call fcn.004be864
add esp, 8
movups xmm0, xmmword [ebp - 0x50]
push 7
xor eax, eax
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x40], xmm0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movq xmm0, qword [ebp - 0xb8]
push str.Windows
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004b3de0
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004acdc0
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 0xffffffff
mov byte [ebp - 4], 1
setne al
mov byte [ebp - 0xa1], al
cmp edx, 8
jb 0x48aa0e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48a9fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b37f
push edx
push ecx
call fcn.004be864
mov al, byte [ebp - 0xa1]
add esp, 8
test al, al
je 0x48ad19
lea eax, [ebp - 0x28]
push 0x2e
push eax
call fcn.0049f1f0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x48aa95
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x48aa63
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48aa59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48aac1
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48aad1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48aac7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48aac7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
push 0x5c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004987a0
push str.Temp
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.0045ebd0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x48ab6b
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x48ab39
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ab2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48abe5
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48aba1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ab97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48abe5
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, 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], 1
cmp edx, 8
jb 0x48abf5
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48abeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48abeb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
push 0x5c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004987a0
push str.Temp
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.0045ebd0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x48ac8f
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x48ac5d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ac53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ad09
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48acc5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48acbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ad09
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, 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], 1
cmp edx, 8
jb 0x48ad19
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ad0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ad0f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
cmp dword [ebp - 0x30], 0
jne 0x48b3b1
xor esi, esi
mov dword [ebp - 0x70], 0
mov edi, 7
mov dword [ebp - 0x60], esi
xor eax, eax
mov dword [ebp - 0x5c], edi
mov word [ebp - 0x70], ax
push 3
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
push 0x4d70b0
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
call fcn.004b3de0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004adaa0
lea ecx, [ebp - 0x70]
add esp, 8
cmp ecx, eax
je 0x48ad9a
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], esi
mov esi, dword [ebp - 0x60]
mov dword [eax + 0x14], edi
mov edi, dword [ebp - 0x5c]
mov word [eax], cx
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x48add0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48adc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ae14
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, 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], 6
cmp edx, 8
jb 0x48ae24
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ae1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ae1a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
test esi, esi
jne 0x48b25a
push 6
xor eax, eax
mov dword [ebp - 0x28], esi
push str.TMPDIR
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004b3de0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004adaa0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xa8], eax
add esp, 8
cmp ecx, eax
je 0x48aed3
cmp edi, 8
jb 0x48aeac
mov ecx, dword [ebp - 0x70]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x48ae9c
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48af4d
push edi
push ecx
call fcn.004be864
mov eax, dword [ebp - 0xa8]
add esp, 8
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov esi, dword [ebp - 0x60]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x48af09
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48aeff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48af4d
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, 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], 6
cmp edx, 8
jb 0x48af5d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48af53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48af53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
test esi, esi
jne 0x48b25a
push 4
xor eax, eax
mov dword [ebp - 0x28], esi
push str.TEMP
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004b3de0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004adaa0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x48b005
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x48afde
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x70]
mov eax, ecx
cmp edx, 0x1000
jb 0x48afd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b07f
push edx
push ecx
call fcn.004be864
add esp, 8
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x60], xmm0
mov esi, dword [ebp - 0x60]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x48b03b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b031
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b07f
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, 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], 6
cmp edx, 8
jb 0x48b08f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b085
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b085
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
test esi, esi
jne 0x48b25a
xor eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push str.USER
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.004614a0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004adaa0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.004660d0
lea ecx, [ebp - 0xa0]
call fcn.004b3870
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.004b3870
cmp dword [ebp - 0x18], esi
jne 0x48b172
push str.USERNAME
lea ecx, [ebp - 0x88]
call fcn.004614a0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004adaa0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.004660d0
lea ecx, [ebp - 0xa0]
call fcn.004b3870
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.004b3870
cmp dword [ebp - 0x18], esi
jne 0x48b172
push 3
push 0x4d70f4
lea ecx, [ebp - 0x28]
call fcn.004b3de0
push str._tmp
call fcn.00479db0
add esp, 4
test al, al
je 0x48b194
push 5
push str._tmp_
lea ecx, [ebp - 0x58]
call fcn.004b3de0
jmp 0x48b1b7
lea eax, [ebp - 0xa0]
push eax
call fcn.0047ac20
add esp, 4
lea ecx, [ebp - 0x58]
push eax
call fcn.004660d0
lea ecx, [ebp - 0xa0]
call fcn.004b3870
push 0x5c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004987a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0045eb70
add esp, 0x18
lea ecx, [ebp - 0x58]
push eax
call fcn.004660d0
lea ecx, [ebp - 0xa0]
call fcn.004b3870
lea ecx, [ebp - 0x88]
call fcn.004b3870
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x48b219
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004b42c0
lea eax, [ebp - 0x58]
push eax
call fcn.00478e40
add esp, 4
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x40]
cmovae eax, dword [ebp - 0x58]
push dword [ebp - 0x48]
push eax
call fcn.004b3de0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x48b392
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004b42c0
jmp 0x48b392
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x70]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], ecx
cmp esi, ecx
ja 0x48b29d
cmp ecx, 8
mov dword [ebp - 0x30], esi
lea edi, [ebp - 0x40]
cmovae edi, dword [ebp - 0x40]
add esi, esi
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
jmp 0x48b392
cmp esi, 0x7ffffffe
ja 0x48b40b
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x48b2cb
mov eax, 0xfffffffe
mov edi, 0x7ffffffe
push eax
call fcn.0045f1c0
add esp, 4
jmp 0x48b32a
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x48b2ef
mov eax, 0xfffffffe
mov edi, 0x7ffffffe
push eax
call fcn.0045f1c0
add esp, 4
jmp 0x48b32a
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x48b410
add eax, eax
cmp eax, 0x1000
jb 0x48b319
push eax
call fcn.0045f1c0
add esp, 4
jmp 0x48b32a
test eax, eax
je 0x48b328
push eax
call sub.mfc140u.dll_operator_2
add esp, 4
jmp 0x48b32a
xor eax, eax
mov dword [ebp - 0x30], esi
add esi, esi
push esi
push dword [ebp - 0xbc]
mov dword [ebp - 0x2c], edi
mov edi, eax
push edi
mov dword [ebp - 0xa8], eax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
add esp, 0xc
mov word [edi + esi], ax
mov eax, dword [ebp - 0xb4]
cmp eax, 8
jb 0x48b38f
mov ecx, dword [ebp - 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b385
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b385
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x48b3ab
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004b42c0
mov edi, dword [ebp - 0xb0]
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b3c1
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004b3de0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x48b3ee
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004b42c0
mov eax, edi
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.004bee1d
mov esp, ebp
pop ebp
ret
call fcn.004b3960
call fcn.004b37d0
int3