Function at 0x48e5c0
Capabilities:
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x114], 0
xor eax, eax
mov ebx, edx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x124], eax
cmp dword [edi + 0x1c], eax
je 0x48e601
test ebx, ebx
je 0x48e606
mov eax, 1
lea esi, [edi + 0x109f0]
mov dword [edi + 0x7c], eax
mov ecx, esi
mov dword [edi + 0x10b80], 0
mov dword [edi + 0x10b84], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48e628
sub ecx, edx
mov dword [edi + 0x10b88], ecx
test ebx, ebx
je 0x48e6e9
mov eax, esi
cmp byte [eax], 0
je 0x48e65c
cmp byte [eax], 0x5c
jne 0x48e64e
mov byte [eax], 0x2f
push eax
call fcn.004b4612
add esp, 4
cmp byte [eax], 0
jne 0x48e646
mov al, byte [edi + 0x109f0]
mov dword [ebp - 0x114], esi
cmp al, 0x2f
jne 0x48e688
inc esi
mov dword [edi + 0x10b84], 1
mov word [ebp - 0x110], 0x2f
mov dword [ebp - 0x114], esi
jmp 0x48e6e9
movzx eax, al
push eax
call fcn.004aeaeb
add esp, 4
test eax, eax
je 0x48e6e9
cmp byte [edi + 0x109f1], 0x3a
jne 0x48e6e9
mov dword [edi + 0x10b84], 1
movzx eax, byte [esi]
mov byte [ebp - 0x110], al
movzx eax, byte [esi + 1]
add esi, 2
mov byte [ebp - 0x10f], al
lea eax, [ebp - 0x10e]
mov dword [ebp - 0x114], esi
cmp byte [esi], 0x2f
jne 0x48e6e6
inc esi
mov byte [ebp - 0x10e], 0x2f
lea eax, [ebp - 0x10d]
mov dword [ebp - 0x114], esi
mov byte [eax], 0
push 1
lea edx, [ebp - 0x110]
mov ecx, edi
call fcn.0048ef00
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x48eb1a
lea esi, [ebp - 0x110]
mov byte [ebp - 0x110], al
mov dword [ebp - 0x11c], esi
cmp dword [ebp - 0x120], eax
jne 0x48e75a
cmp dword [edi + 0x24], eax
je 0x48e739
lea eax, [edi + 0x109f0]
push 0x2f
push eax
call fcn.004afa66
add esp, 8
mov edx, eax
jmp 0x48e73f
mov edx, dword [ebp - 0x114]
test edx, edx
jne 0x48e751
lea edx, [edi + 0x109f0]
mov dword [ebp - 0x114], edx
jmp 0x48e760
inc edx
mov dword [ebp - 0x114], edx
jmp 0x48e760
mov edx, dword [ebp - 0x114]
movzx ecx, byte [edx]
mov dword [ebp - 0x120], ecx
test ecx, ecx
je 0x48e977
lea eax, [ecx - 0x20]
cmp eax, 0x5c
ja case.0x48e784.33
movzx eax, byte [eax + 0x48ecd0]
jmp dword [eax*4 + 0x48ecbc]
lea edx, [ebp - 0x110]
mov byte [esi], 0
mov ecx, edi
call fcn.0048ed30
mov ecx, 0x4e3df4
lea eax, [ebp - 0x110]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48e7c6
test dl, dl
je 0x48e7c2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48e7c6
add eax, 2
add ecx, 2
test dl, dl
jne 0x48e7a6
xor eax, eax
jmp 0x48e7cb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48e7e6
mov byte [ebp - 0x110], al
lea esi, [ebp - 0x110]
mov dword [ebp - 0x118], eax
jmp 0x48e8f8
cmp dword [edi + 0x64], 0
jne 0x48e841
mov ecx, 0x4e3df8
lea eax, [ebp - 0x110]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48e817
test dl, dl
je 0x48e813
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48e817
add eax, 2
add ecx, 2
test dl, dl
jne 0x48e7f7
xor eax, eax
jmp 0x48e81c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48e841
mov byte [ebp - 0x110], al
lea esi, [ebp - 0x110]
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x118], eax
jmp 0x48e8f8
cmp byte [ebp - 0x110], 0
je 0x48e86e
push 2
lea edx, [ebp - 0x110]
mov ecx, edi
call fcn.0048ef00
mov ebx, eax
add esp, 4
and eax, 0x7f00
cmp eax, 0x100
jg 0x48eb1a
xor eax, eax
lea esi, [ebp - 0x110]
mov dword [ebp - 0x118], eax
jmp 0x48e8f8
mov byte [esi], 0x5f
inc esi
jmp 0x48e8f8
mov dword [ebp - 0x118], esi
mov byte [esi], 0x3b
inc esi
jmp 0x48e8f8
cmp dword [edi + 0x3c], 0
jne case.0x48e784.34
lea edx, [edi + 0x109f0]
mov ecx, edi
call fcn.0048e030
test eax, eax
je 0x48e8b0
cmp dword [edi + 0x10b94], 0
jne case.0x48e784.34
mov byte [esi], 0x20
inc esi
jmp 0x48e8f8
push ecx
call fcn.004aeb43
add esp, 4
test eax, eax
jne 0x48e8cc
cmp dword [ebp - 0x120], 0x7f
jb 0x48e8fe
call fcn.004b3c1b
push eax
push dword [ebp - 0x114]
call fcn.004b3b02
push eax
push dword [ebp - 0x114]
push esi
call fcn.004b6150
add esp, 0x14
push esi
call fcn.004b4612
add esp, 4
mov esi, eax
mov dword [ebp - 0x11c], esi
push dword [ebp - 0x114]
call fcn.004b4612
mov edx, eax
add esp, 4
mov dword [ebp - 0x114], edx
movzx ecx, byte [edx]
mov dword [ebp - 0x120], ecx
test ecx, ecx
jne 0x48e771
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x48e977
cmp dword [edi + 0x38], ecx
jne 0x48e977
push ecx
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.00493320
push eax
push str.warning:__skipped__..___path_component_s__in__s_n
push esi
call fcn.004ad5d8
add esp, 0xc
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
test ebx, 0xffff80ff
jne 0x48e977
and ebx, 0x7f00
or ebx, 1
cmp byte [edi + 0x109f0], 0
lea esi, [edi + 0x109f0]
mov ecx, dword [edi + 0x10b88]
mov eax, esi
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], eax
je 0x48e9d4
lea ebx, [ebx]
test ecx, ecx
je 0x48e9ce
mov dword [ebp - 0x120], esi
call fcn.004b3c1b
push eax
push esi
call fcn.004b3b02
mov ecx, dword [ebp - 0x124]
add esi, eax
sub ecx, eax
add esp, 8
mov dword [ebp - 0x124], ecx
cmp byte [esi], 0
jne 0x48e9a0
mov eax, dword [ebp - 0x120]
cmp byte [eax], 0x2f
jne 0x48eb2d
lea esi, [edi + 0x109f0]
mov ecx, edi
push 4
mov edx, esi
call fcn.0048ef00
add esp, 4
cmp dword [edi + 0x10b80], 0
je 0x48eab2
cmp dword [edi + 0x38], 0
jne 0x48ea3d
push 0
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.00493320
push eax
push str.___creating:___22s_n
push esi
call fcn.004ad5d8
add esp, 0xc
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
lea esi, [edi + 0x109f0]
mov eax, dword [edi + 0x8d8]
mov eax, dword [eax + 0x14]
test al, 0x6f
je 0x48ea93
and eax, 0x7f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x48ea93
push 1
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.00493320
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nwarning___d_:_could_not_set_file_attributes_for__s_n
push esi
call fcn.004ad5d8
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
and ebx, 0xffff90ff
or ebx, 0x1000
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x78], 1
jne 0x48eb0e
mov eax, dword [edi + 0x8d8]
mov eax, dword [eax + 0x14]
test al, 0x6f
je 0x48eb0e
and eax, 0x7f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x48eb0e
push 1
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.00493320
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nwarning___d_:_could_not_set_file_attributes_for__s_n
push esi
call fcn.004ad5d8
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
and ebx, 0xffff82ff
or ebx, 0x200
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x11c]
mov byte [eax], 0
cmp dword [edi + 0x54], 0
jne 0x48eb80
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x48eb80
lea esi, [eax + 1]
movzx eax, byte [esi]
push eax
call fcn.004aeb18
add esp, 4
test eax, eax
je 0x48eb72
lea esp, [esp]
movzx eax, byte [esi + 1]
inc esi
push eax
call fcn.004aeb18
add esp, 4
test eax, eax
jne 0x48eb60
cmp byte [esi], 0
jne 0x48eb80
mov eax, dword [ebp - 0x118]
mov byte [eax], 0
lea edx, [ebp - 0x110]
mov ecx, edi
call fcn.0048ed30
cmp byte [ebp - 0x110], 0
jne 0x48ebe8
push 1
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.00493320
push eax
push str.mapname:__conversion_of__s_failed_n
push esi
call fcn.004ad5d8
add esp, 0xc
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ecx, dword [ebp - 4]
and ebx, 0xffff83ff
or ebx, 0x300
xor ecx, ebp
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push 3
lea edx, [ebp - 0x110]
mov ecx, edi
call fcn.0048ef00
add esp, 4
lea edx, [edi + 0x109f0]
mov ecx, edi
push 4
call fcn.0048ef00
mov eax, dword [edi + 0x8d8]
add esp, 4
test byte [eax + 0x18], 0x20
je 0x48eb1a
movzx eax, byte [edi + 0x10b8c]
add al, 0x60
cmp dword [edi + 0x38], 0
mov byte [ebp - 0x118], al
mov ax, word [0x4ec26c]
mov word [ebp - 0x117], ax
movzx eax, byte [0x4ec26e]
mov byte [ebp - 0x115], al
jne 0x48ec85
push 0
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.00493320
push eax
lea eax, [ebp - 0x118]
push eax
push str.labelling__s___22s_n
push esi
call fcn.004ad5d8
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
lea eax, [edi + 0x109f0]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
test eax, eax
jne 0x48eb0e
push 1
lea esi, [edi + 0x8dc]
push str.mapname:__error_setting_volume_label_n
push esi
call fcn.004ad5d8
add esp, 8
jmp 0x48ebbe