Function at 0x406e29
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41db23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 0x22]
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ax, word [edx + 0x20]
lea ecx, [ecx + eax + 0x1e]
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040102b
mov dword [ebp - 4], 0
push 4
push 0x4242c4
lea ecx, [ebp - 0x18]
call fcn.00401174
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 2
mov eax, dword [ebp - 0x20]
add eax, 0xa
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 4
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 2
mov ecx, dword [ebp - 0x20]
add ecx, 0xc
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 6
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 2
mov edx, dword [ebp - 0x20]
add edx, 0xe
push edx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 8
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 2
mov eax, dword [ebp - 0x20]
add eax, 0x10
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0xa
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 2
mov ecx, dword [ebp - 0x20]
add ecx, 0x12
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0xc
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 4
mov edx, dword [ebp - 0x20]
add edx, 0x14
push edx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0xe
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 4
mov eax, dword [ebp - 0x20]
add eax, 0x18
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x12
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 4
mov ecx, dword [ebp - 0x20]
add ecx, 0x1c
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x16
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 2
mov edx, dword [ebp - 0x20]
add edx, 0x20
push edx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x1a
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 2
mov eax, dword [ebp - 0x20]
add eax, 0x22
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x1c
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 0x20]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x34
call fcn.00417280
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x1e
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 0x22]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0x38
call fcn.00401174
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [edx + 0x20]
lea edx, [eax + ecx + 0x1e]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 1
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
push eax
mov ecx, dword [ebp + 8]
call fcn.0041cad5
mov ecx, dword [ebp - 0x20]
add ecx, 0x38
call fcn.004010ae
mov ecx, dword [ebp - 0x20]
mov word [ecx + 0x22], 0
mov ecx, dword [ebp + 8]
call fcn.0041c155
mov edx, dword [ebp - 0x20]
mov word [edx + 0x26], ax
mov ecx, dword [ebp + 8]
call fcn.0041cd28
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401068
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4