Function at 0x40b030
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push ebx
push 0x400
push esi
push edi
mov dword [esp + 0x5c], ebx
call fcn.00438a20
push ebx
push 0x400
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push esi
push edi
fstp qword [esp + 0x38]
call fcn.00438970
push ebx
push 0x400
mov edi, edx
mov esi, eax
push edi
push esi
call fcn.00438a20
push ebx
push 0x400
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push edi
push esi
fstp qword [esp + 0x28]
call fcn.00438970
push ebx
push 0x400
mov edi, edx
mov esi, eax
push edi
push esi
call fcn.00438a20
push ebx
push 0x400
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push edi
push esi
fstp qword [esp + 0x30]
call fcn.00438970
push ebx
push 0x400
mov edi, edx
mov esi, eax
push edi
push esi
call fcn.00438a20
push ebx
push 0x400
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push edi
push esi
fstp qword [esp + 0x40]
call fcn.00438970
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
mov dword [ebp + 0x10], edx
fstp qword [esp + 0x38]
fld qword [0x46fcb8]
fld qword [esp + 0x38]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b376
fld qword [0x470c80]
fld qword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b164
fld qword [esp + 0x20]
fcomp qword [0x470c78]
fnstsw ax
test ah, 1
je 0x40b376
fld qword [0x46fcb8]
fld qword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b328
fld qword [0x470c80]
fld qword [esp + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b1a3
fld qword [esp + 0x18]
fcomp qword [0x470c78]
fnstsw ax
test ah, 1
je 0x40b328
fld qword [0x46fcb8]
fld qword [esp + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b2c0
fld qword [0x470c80]
fld qword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b1e2
fld qword [esp + 0x28]
fcomp qword [0x470c78]
fnstsw ax
test ah, 1
je 0x40b2c0
fld qword [0x46fcb8]
fld qword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x40b25a
lea eax, [esp + 0x14]
push eax
call fcn.0040ae70
mov esi, eax
fld qword [esp + 0x2c]
fmul qword [0x470c70]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 7
fadd qword [esp + 0x20]
fstp qword [esp]
push ecx
call fcn.0040a130
mov edx, dword [esi]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s__s
push ecx
mov byte [esp + 0x68], 8
call fcn.004022f0
add esp, 0x1c
lea ecx, [esp + 0x10]
call fcn.004018d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], bl
call fcn.004018d0
jmp 0x40b405
fld qword [0x46fcb8]
fld qword [esp + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x40b2ad
lea edx, [esp + 0x14]
push edx
call fcn.0040ae00
fld qword [esp + 0x2c]
mov eax, dword [eax]
mov byte [esp + 0x50], 9
push eax
call fcn.00438814
push eax
lea ecx, [esp + 0x18]
push 0x470c54
push ecx
call fcn.004022f0
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], bl
call fcn.004018d0
jmp 0x40b405
push 0x470c50
lea ecx, [esp + 0x10]
call fcn.00402660
jmp 0x40b405
lea edx, [esp + 0x10]
push edx
call fcn.0040aee0
mov esi, eax
fld qword [esp + 0x1c]
fmul qword [0x470c70]
push ecx
lea eax, [esp + 0x1c]
mov byte [esp + 0x54], 5
fadd qword [esp + 0x28]
fstp qword [esp]
push eax
call fcn.0040a130
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push str._s__s
push eax
mov byte [esp + 0x68], 6
call fcn.004022f0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x1c
mov byte [esp + 0x4c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40b3d9
lea eax, [esp + 0x10]
push eax
call fcn.0040af50
mov esi, eax
fld qword [esp + 0x24]
fmul qword [0x470c70]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 3
fadd qword [esp + 0x38]
fstp qword [esp]
push ecx
call fcn.0040a130
mov edx, dword [esi]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s__s
push ecx
mov byte [esp + 0x68], 4
call fcn.004022f0
mov byte [esp + 0x68], 3
jmp 0x40b3c2
lea eax, [esp + 0x10]
push eax
call fcn.0040afc0
mov esi, eax
fld qword [esp + 0x34]
fmul qword [0x470c70]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 1
fadd qword [esp + 0x40]
fstp qword [esp]
push ecx
call fcn.0040a130
mov edx, dword [esi]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s__s
push ecx
mov byte [esp + 0x68], 2
call fcn.004022f0
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x1c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b3e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x4c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b405
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.00401470
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x4c], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b43c
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret