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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41db10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.00407258
mov dword [ebp - 0x1c], eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040102b
mov dword [ebp - 4], 0
push 4
mov ecx, dword [ebp - 0x24]
add ecx, 4
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401174
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov edx, dword [ebp - 0x24]
add edx, 8
push edx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 4
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov eax, dword [ebp - 0x24]
add eax, 0xa
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 6
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov ecx, dword [ebp - 0x24]
add ecx, 0xc
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 8
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov edx, dword [ebp - 0x24]
add edx, 0xe
push edx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0xa
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov eax, dword [ebp - 0x24]
add eax, 0x10
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0xc
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x12
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0xe
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
mov edx, dword [ebp - 0x24]
add edx, 0x14
push edx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x10
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
mov eax, dword [ebp - 0x24]
add eax, 0x18
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x14
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x18
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov edx, dword [ebp - 0x24]
add edx, 0x20
push edx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x1c
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov eax, dword [ebp - 0x24]
add eax, 0x22
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x1e
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x20
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov edx, dword [ebp - 0x24]
add edx, 0x26
push edx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x22
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 2
mov eax, dword [ebp - 0x24]
add eax, 0x28
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x24
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
mov ecx, dword [ebp - 0x24]
add ecx, 0x2c
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x26
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
mov edx, dword [ebp - 0x24]
add edx, 0x30
push edx
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x2a
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax + 0x20]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x34
call fcn.00417280
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
add eax, 0x2e
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
xor eax, eax
mov ax, word [edx + 0x22]
test eax, eax
je 0x406ba0
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx + 0x22]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x38
call fcn.00401174
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx + 0x20]
lea eax, [eax + edx + 0x2e]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx + 0x24]
test edx, edx
je 0x406bec
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax + 0x24]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x44
call fcn.00417280
push eax
lea ecx, [ebp - 0x18]
call fcn.00401174
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [edx + 0x20]
lea edx, [eax + ecx + 0x2e]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax + 0x22]
add edx, ecx
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 1
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00401174
push eax
mov ecx, dword [ebp + 8]
call fcn.0041cad5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401068
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4