Function at 0x4c3bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x644c91
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [0x74ea5c]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
cmp eax, edi
jne 0x4c3c0d
mov eax, 0x74ea60
push edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00402a70
add esp, 0xc
mov dword [esp + 0xc8], edi
mov edx, dword [esp + 0x10]
xor ecx, ecx
push edi
mov word [esp + 0x2c], cx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
call fcn.00401980
mov byte [esp + 0xc8], 1
mov eax, dword [0x74ea5c]
mov ecx, eax
cmp eax, edi
jne 0x4c3c59
mov ecx, 0x74ea60
mov eax, dword [esp + 0x24]
cmp eax, edi
jne 0x4c3c65
lea eax, [esp + 0x28]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c3c8b
cmp dx, di
je 0x4c3c87
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c3c8b
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4c3c65
xor eax, eax
jmp 0x4c3c90
sbb eax, eax
sbb eax, 0xffffffff
add esi, 4
cmp eax, edi
jne 0x4c3ca2
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
jmp 0x4c3cac
mov edx, dword [ebp + 8]
mov eax, dword [0x74ea68]
push edx
push eax
push str._sp_proxy_ld.pac
push esi
call fcn.00402f80
add esp, 0x10
cmp ebx, edi
je 0x4c3dfb
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c3cc7
sub eax, edx
cmp eax, 5
mov dword [esp + 0x18], eax
jl 0x4c3d34
mov eax, dword [esi]
xor ecx, ecx
push edi
mov word [esp + 0x38], cx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
call fcn.00401980
mov byte [esp + 0xc8], 2
mov eax, dword [esp + 0x30]
cmp eax, edi
jne 0x4c3d09
lea eax, [esp + 0x34]
push edi
push edi
push 2
push edi
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4c3d60
mov byte [esp + 0xc8], 1
lea ecx, [esp + 0x30]
call fcn.004011f0
mov byte [esp + 0xc8], 0
lea ecx, [esp + 0x24]
call fcn.004011f0
mov dword [esp + 0xc8], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402570
xor eax, eax
jmp 0x4c3e25
mov dword [esp + 0x14], edi
mov ecx, 0x1e
mov esi, str.Array.prototype.indexOf__function_v_s___for__var_is0__i_this.length__i__if__this_i_v__return_i__return__1____n
lea edi, [esp + 0x3c]
lea eax, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 1]
jmp 0x4c3d80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c3d80
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
sub eax, edx
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x48]
push eax
push ebx
call edi
mov esi, eax
test esi, esi
je 0x4c3dc2
cmp dword [esp + 0x14], 0
je 0x4c3dc2
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
push ebx
call edi
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4c3d23
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x14]
jne 0x4c3d23
mov edx, dword [esp + 0x20]
mov dword [edx + 0x1c], 1
mov byte [esp + 0xc8], 1
lea ecx, [esp + 0x30]
call fcn.004011f0
mov byte [esp + 0xc8], 0
lea ecx, [esp + 0x24]
call fcn.004011f0
mov dword [esp + 0xc8], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402570
mov eax, 1
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00613241
mov esp, ebp
pop ebp
ret 8