Function at 0x4da1b0
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x50
mov ebx, ecx
call fcn.004ebb43
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x4da3f1
mov eax, dword [0x62271c]
lea ebp, [esi + 4]
mov dword [ebp], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x52763c
mov byte [esi + 0x28], 0
lea edi, [eax*4]
mov dword [esi + 8], 0
mov dword [esi + 0x20], 3
mov dword [esi], vtable.Struct.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov word [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x4da261
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov edi, dword [eax + 0x2134]
test edi, edi
je 0x4da274
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4da281
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], edi
mov al, byte [ebx + 0x3d]
mov edi, dword [esp + 0x1c]
mov byte [esi + 0x3d], al
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x40], eax
mov al, byte [esp + 0x18]
test al, al
je 0x4da2e9
test edi, edi
jne 0x4da2e0
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [esi + 0x48], eax
test eax, eax
je 0x4da3f1
push dword [esi + 0x40]
mov byte [esi + 0x3c], 1
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x4c], eax
test eax, eax
je 0x4da3f1
push dword [ebx + 0x40]
push dword [ebx + 0x4c]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x4da2ef
test al, al
je 0x4da2e9
mov dword [esi + 0x48], edi
jmp 0x4da2ef
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x48], eax
cmp dword [ebx + 0x34], 0
mov dword [esp + 0x10], 0
jbe 0x4da420
xor ebp, ebp
mov edi, dword [esi + 0x38]
cmp dword [esi + 0x34], edi
jne 0x4da33f
test edi, edi
je 0x4da313
add edi, edi
jmp 0x4da318
mov edi, 4
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
push dword [esi + 0x30]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
test eax, eax
je 0x4da3ca
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], edi
mov eax, dword [ebx + 0x30]
push dword [eax + ebp + 0x18]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov edx, eax
add esp, 4
test edx, edx
je 0x4da3ca
mov ecx, dword [ebx + 0x30]
inc dword [esi + 0x34]
add ecx, ebp
mov edi, dword [esi + 0x30]
add edi, ebp
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov dword [edi + 0x18], edx
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x10], eax
movzx eax, word [ecx + 4]
mov word [edi + 4], ax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
mov al, byte [ecx + 1]
mov byte [edi + 1], al
mov al, byte [ecx]
mov byte [edi], al
mov al, byte [ecx + 2]
mov byte [edi + 2], al
mov al, byte [ecx + 3]
mov byte [edi + 3], al
movzx eax, word [ecx + 6]
mov word [edi + 6], ax
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4da3a9
mov dword [edi + 0x14], ecx
jmp 0x4da404
cmp byte [esp + 0x18], 0
je 0x4da3fb
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4da3bb
mov eax, dword [esi + 0x48]
push eax
push 1
call fcn.004da1b0
mov dword [edi + 0x14], eax
test eax, eax
jne 0x4da404
mov edx, dword [esi]
mov eax, dword [edx + 8]
cmp eax, method.Object.virtual_8
jne 0x4da479
cmp dword [esi + 4], 1
lea edi, [esi + 4]
jne 0x4da3ee
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
test al, al
jne 0x4da3f1
lock dec dword [edi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
mov dword [edi + 0x14], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [esp + 0x10]
add ebp, 0x1c
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebx + 0x34]
jb 0x4da303
mov edi, dword [esp + 0x1c]
lea ebp, [esi + 4]
cmp byte [esp + 0x18], 0
je 0x4da486
test edi, edi
jne 0x4da486
cmp dword [esi + 0x34], 1
ja 0x4da43c
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
cmp word [eax], di
je 0x4da486
push 0
push 0
mov ecx, esi
call fcn.004da1b0
mov dword [esi + 0x44], eax
test eax, eax
jne 0x4da48d
mov edx, dword [esi]
mov eax, dword [edx + 8]
cmp eax, method.Object.virtual_8
jne 0x4da479
cmp dword [ebp], 1
jne 0x4da46b
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
test al, al
jne 0x4da3f1
lock dec dword [ebp]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
push esi
call eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
mov dword [esi + 0x44], 0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 8