Function at 0x41a730
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ecx, 0xb3
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x2e4]
push ebx
sub esp, 0x43c
mov edx, dword [0x4425b4]
mov esi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x3f8]
mov eax, dword fs:[0x18]
mov edx, dword [edx + 0xbc]
mov dword [esp + 4], 0
lea esi, [ebp - 0x3d8]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov ebx, ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [0x4425b4]
mov eax, ebx
mov ecx, 0x44
sub esp, 0xc
mov dword [edx + 0xbc], 0
rep stosd dword es:[edi], eax
mov eax, dword [0x4425b8]
lea edi, [ebp - 0x2e4]
mov dword [ebp - 0x2f0], 0x110
mov eax, dword [eax + 0x24]
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x2e4]
mov dword [esp + 4], esi
lea esi, [ebp - 0x3f8]
mov dword [esp + 8], 2
mov edx, dword [edx + 0xc]
mov dword [esp], edx
call dword [eax + 0x10]
mov eax, dword [0x4425b8]
mov eax, dword [eax + 0x24]
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x3c8]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov edx, dword [0x4425b4]
mov edx, dword [edx + 0xc]
mov dword [esp], edx
call dword [eax + 0x10]
mov eax, dword [0x4425b8]
mov eax, dword [eax + 0x24]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov edx, dword [0x4425b4]
mov edx, dword [edx + 0xc]
mov dword [esp], edx
call dword [eax + 0x10]
cmp dword [ebp - 0x3ec], 3
mov dword [ebp - 0x2ec], 0
je 0x41aba8
mov edx, dword [0x4425b4]
xor ebx, ebx
mov dword [ebp - 0x3fc], 0
mov eax, ebx
mov ebx, edx
mov edx, eax
jmp 0x41a8ef
mov eax, dword [ebx + 0xbc]
lea esi, [eax + edx - 0x310]
mov ecx, dword [esi + 0x30c]
test ecx, ecx
je 0x41a8bd
lea eax, [ebp - 0x2e4]
add esi, 0x3c
mov dword [ebp - 0x3fc], edx
mov dword [esp + 8], 0x2cc
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ucrtbase.dll_memcmp
xor ecx, ecx
mov edx, dword [ebp - 0x3fc]
test eax, eax
mov eax, dword [ebx + 0xbc]
setne cl
mov dword [eax + edx + 0x30c], ecx
mov eax, dword [ebp - 0x404]
cmp eax, 0xc8
ja 0x41ab68
mov ecx, dword [ebp - 0x408]
test ecx, ecx
je 0x41ab68
mov edx, dword [ebp - 0x400]
mov dword [ebp - 0x3fc], eax
lea edi, [ebp - 0x2e4]
mov eax, dword [0x4425b8]
mov dword [ebp - 0x400], edx
mov dword [esp + 0x10], edi
lea edi, [ebp - 0x3f8]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x429e90
mov dword [esp + 0x18], 0x429eb0
mov dword [esp + 0x14], 0x419f90
mov dword [esp + 0xc], edi
mov ecx, dword [ebx + 0xc]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 4], ecx
mov eax, dword [eax + 0x24]
mov eax, dword [eax]
mov dword [esp], eax
call sub.dbghelp.dll_StackWalkEx
mov edx, dword [ebp - 0x3fc]
sub esp, 0x28
mov dword [ebp - 0x408], eax
test edx, edx
mov edx, dword [ebp - 0x400]
je 0x41a972
test eax, eax
je 0x41ab90
mov eax, dword [ebp - 0x3fc]
lea esi, [edx + 0x310]
mov dword [ebp - 0x40c], edx
mov ebx, dword [0x4425b4]
mov dword [ebp - 0x400], esi
add eax, 1
mov dword [ebp - 0x404], eax
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x41ab30
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov edx, dword [ebp - 0x40c]
sub esp, 0x10
mov dword [ebx + 0xbc], eax
mov eax, dword [0x4425b4]
lea esi, [ebp - 0x2e4]
mov ecx, dword [ebp - 0x3f8]
mov dword [ebp - 0x40c], edx
mov eax, dword [eax + 0xbc]
mov dword [eax + edx], ecx
mov ecx, dword [ebp - 0x3f4]
mov dword [eax + edx + 4], ecx
mov ecx, dword [ebp - 0x3f0]
mov dword [eax + edx + 8], ecx
mov ecx, dword [ebp - 0x3ec]
mov dword [eax + edx + 0xc], ecx
lea eax, [ebp - 0x3f8]
mov dword [esp], eax
call fcn.00416c20
mov edx, dword [ebp - 0x40c]
mov ebx, eax
mov eax, dword [0x4425b4]
mov ecx, dword [eax + 0xbc]
mov dword [ecx + edx + 0x30], ebx
mov ecx, dword [ebp - 0x3d8]
mov eax, dword [eax + 0xbc]
mov dword [eax + edx + 0x10], ecx
mov ecx, dword [ebp - 0x3d4]
mov dword [eax + edx + 0x14], ecx
mov ecx, dword [ebp - 0x3d0]
mov dword [eax + edx + 0x18], ecx
mov ecx, dword [ebp - 0x3cc]
mov dword [eax + edx + 0x1c], ecx
lea eax, [ebp - 0x3d8]
mov dword [esp], eax
call fcn.00416c20
mov edx, dword [ebp - 0x40c]
mov ebx, eax
mov eax, dword [0x4425b4]
mov ecx, dword [eax + 0xbc]
mov dword [ecx + edx + 0x34], ebx
mov eax, dword [eax + 0xbc]
mov ecx, dword [ebp - 0x3c8]
mov dword [eax + edx + 0x20], ecx
mov ecx, dword [ebp - 0x3c4]
mov dword [eax + edx + 0x24], ecx
mov ecx, dword [ebp - 0x3c0]
mov dword [eax + edx + 0x28], ecx
mov ecx, dword [ebp - 0x3bc]
mov dword [eax + edx + 0x2c], ecx
lea eax, [ebp - 0x3c8]
mov dword [esp], eax
call fcn.00416c20
mov ebx, dword [0x4425b4]
mov edx, dword [ebp - 0x40c]
mov ecx, dword [ebx + 0xbc]
mov dword [ecx + edx + 0x38], eax
mov edi, dword [ebx + 0xbc]
mov ecx, 0xb3
add edi, edx
add edi, 0x3c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2ec]
mov esi, dword [ebp - 0x3fc]
mov eax, dword [ebx + 0xbc]
mov dword [eax + edx + 0x308], ecx
test esi, esi
jne 0x41a870
mov eax, dword [ebx + 0xbc]
mov ecx, 1
jmp 0x41a8bd
mov esi, dword [ebp - 0x400]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x40c]
sub esp, 0xc
jmp 0x41a9d6
mov edx, ebx
mov dword [edx + 0xc4], 0
mov esi, dword [ebp - 0x404]
mov dword [edx + 0xc0], esi
call fcn.0041a060
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3fc]
mov edx, dword [0x4425b4]
mov dword [ebp - 0x404], eax
jmp 0x41ab6a
cmp dword [ebp - 0x3cc], 3
je 0x41a84b
lea eax, [ebp - 0x3d8]
mov dword [esp], eax
call fcn.00416c20
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3cc], 3
jmp 0x41a84b