Function at 0x4d4cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x517ef0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x52d194]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x10]
push ecx
xor ebx, ebx
push 0x555f68
push edx
mov dword [esp + 0x44], ebx
call fcn.0041c7b0
mov eax, dword [0x52d194]
add esp, 0xc
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x38], 1
cmp ecx, ebx
jne 0x4d4d92
mov ecx, dword [0x5e3e34]
cmp eax, ecx
je 0x4d4e2e
cmp dword [eax - 0xc], ebx
jge 0x4d4d67
mov edx, dword [0x52d120]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4d4d6c
cmp dword [ecx - 0xc], ebx
jge 0x4d4d7f
mov eax, dword [ecx - 8]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00437fe0
jmp 0x4d4e2e
lea ecx, [esp + 0xc]
call fcn.0041b490
mov eax, dword [0x5e3e34]
jmp 0x4d4e20
cmp ecx, 1
jne 0x4d4ddc
mov ecx, dword [0x5e3e28]
cmp eax, ecx
je 0x4d4e2e
cmp dword [eax - 0xc], ebx
jge 0x4d4db7
mov edx, dword [0x52d120]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4d4dbc
cmp dword [ecx - 0xc], ebx
jge 0x4d4dcc
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.00437fe0
jmp 0x4d4e2e
lea ecx, [esp + 0xc]
call fcn.0041b490
mov eax, dword [0x5e3e28]
jmp 0x4d4e20
cmp ecx, 2
jne 0x4d4e2e
mov ecx, dword [0x5e3e2c]
cmp eax, ecx
je 0x4d4e2e
cmp dword [eax - 0xc], ebx
jge 0x4d4dfd
mov edx, dword [0x52d120]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4d4e02
cmp dword [ecx - 0xc], ebx
jge 0x4d4e12
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.00437fe0
jmp 0x4d4e2e
lea ecx, [esp + 0xc]
call fcn.0041b490
mov eax, dword [0x5e3e2c]
mov dword [esp + 0xc], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x10]
mov eax, 0x55e34c
test eax, eax
push ebp
mov dword [esp + 0x28], esi
je 0x4d4ffe
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x4d4ffe
cmp esi, ebx
jne 0x4d4e61
mov dword [esp + 0x4c], ebx
jmp 0x4d4e68
push esi
call edi
mov dword [esp + 0x4c], eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi - 8]
lea eax, [esi + ecx*2]
cmp esi, eax
mov dword [esp + 0x1c], eax
jae 0x4d4ffe
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
push 0x55e34c
push esi
call edi
add esp, 8
test eax, eax
je 0x4d4eaa
lea esi, [eax + ebp*2]
push 0x55e34c
push esi
inc ebx
call edi
add esp, 8
test eax, eax
jne 0x4d4e97
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x4d4e82
test ebx, ebx
mov dword [esp + 0x1c], ebx
jle 0x4d4ffe
lea ecx, [esp + 0x10]
call fcn.0044e150
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
sub ebx, ebp
imul ebx, dword [esp + 0x1c]
mov eax, dword [esi - 8]
mov dword [esp + 0x18], eax
add ebx, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x30], ebx
cmp eax, ebx
jl 0x4d4efb
cmp dword [esi - 0xc], 1
jle 0x4d4f3f
lea edi, [esi - 0xc]
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edi
call fcn.0041b330
test eax, eax
je 0x4d4ffe
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x10]
shl ecx, 1
mov edx, ecx
mov eax, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0041b4d0
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
mov ecx, dword [esi - 8]
lea eax, [esi + ecx*2]
cmp esi, eax
mov dword [esp + 0x1c], eax
jae 0x4d4ffb
jmp 0x4d4f59
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
push 0x55e34c
push esi
call edi
mov edi, eax
add esp, 8
test edi, edi
je 0x4d4fe0
mov eax, dword [esp + 0x10]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x18]
sar edx, 1
sub eax, edx
lea ecx, [edi + ebp*2]
sub eax, ebp
lea ebx, [eax + eax]
mov eax, dword [esp + 0x4c]
push ebx
push ecx
lea esi, [eax + eax]
lea eax, [esi + edi]
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov ecx, esi
mov esi, dword [esp + 0x34]
mov edx, ecx
mov eax, dword [esp + 0x58]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebp
and ecx, 3
push 0x55e34c
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3c]
push esi
mov word [ebx + esi], 0
mov ebx, dword [esp + 0x2c]
add ebx, eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4d4f6a
mov ebx, dword [esp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x4d4f53
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebx
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x24]
push edx
push 0x5211f8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [esp + 0x24]
pop ebp
test eax, eax
je 0x4d50aa
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d50aa
push eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [esp + 0x18]
call fcn.00437fe0
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call ebx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push str.__id
call fcn.0043ffe0
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ecx
call edi
push str.JScript
mov esi, eax
call edi
mov edx, dword [esp + 0x44]
mov edi, eax
push edi
push esi
push edx
call fcn.00470060
add esp, 0xc
test esi, esi
je 0x4d50a3
push esi
call ebx
test edi, edi
je 0x4d50aa
push edi
call ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.00402520
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00402520
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc