Function at 0x438a6c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a80f
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4910a8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push ebx
call dword [0x47044c]
mov ecx, dword [edi + 8]
mov dword [esp + 0x30], eax
mov eax, ecx
and eax, 3
je 0x438acb
cmp eax, 2
jne 0x438abd
inc dword [edi]
jmp 0x438ac6
cmp eax, 3
jne 0x438ac6
add dword [edi + 4], 2
sub ecx, eax
mov dword [edi + 8], ecx
push dword [ebp + 8]
mov esi, dword [0x470098]
call esi
push dword [ebp + 8]
mov dword [esp + 0x18], eax
call esi
push dword [edi + 0xc]
mov dword [esp + 0x1c], eax
push dword [edi + 8]
push dword [ebp + 8]
call dword [0x4700a4]
mov esi, dword [0x470094]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x2c], eax
call esi
push 0xcc0020
push dword [edi + 4]
mov dword [esp + 0x30], eax
push dword [edi]
push dword [ebp + 8]
push dword [edi + 0xc]
push dword [edi + 8]
push ebx
push ebx
push dword [esp + 0x34]
call dword [0x470090]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
push eax
push ecx
push ebx
call dword [0x47010c]
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x438b43
mov dword [esp + 0x20], ebx
jmp 0x438b92
push eax
push ebx
call dword [0x470110]
push dword [esp + 0x20]
mov dword [esp + 0x20], eax
push ebx
call dword [0x470114]
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call dword [0x470144]
fild dword [esp + 0x20]
mov dword [esp + 0x1c], eax
fmul qword [0x4837a0]
call fcn.004685d0
call fcn.00468520
push dword [esp + 0x1c]
push eax
push eax
call fcn.00438d4b
add esp, 0xc
mov dword [esp + 0x20], eax
push dword [esp + 0x20]
push dword [esp + 0x1c]
call esi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x64]
push eax
push 0x18
push dword [esp + 0x28]
call dword [0x470088]
mov eax, dword [edi + 0xc]
sub eax, dword [esp + 0x6c]
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0xff
mov byte [esp + 0x1f], 1
push dword [esp + 0x1c]
push dword [esp + 0x70]
push dword [esp + 0x70]
push ebx
push ebx
push dword [esp + 0x2c]
push dword [esp + 0x84]
push dword [esp + 0x84]
push eax
push ebx
push dword [esp + 0x3c]
call dword [0x4702fc]
push dword [esp + 0x20]
call dword [0x47008c]
mov eax, dword [0x492514]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x8c], ebx
call dword [0x470154]
movzx eax, word [esp + 0x42]
push eax
movzx eax, word [esp + 0x42]
push eax
movzx eax, word [esp + 0x44]
push eax
lea eax, [esp + 0x2c]
push 0x481b1c
push eax
call fcn.00403f43
add esp, 0x14
push 0xffffff
push ecx
lea ecx, [esp + 0x28]
mov esi, esp
mov dword [esp + 0x3c], esp
call fcn.00403f01
push ecx
mov byte [esp + 0x94], 1
mov ebx, dword [edi + 0x10]
mov esi, esp
mov dword [esp + 0x44], esp
call fcn.0040384e
xor ebx, ebx
mov byte [esp + 0x94], bl
call fcn.00438dc3
add esp, 0xc
mov esi, eax
push esi
push dword [esp + 0x1c]
call dword [0x470094]
lea eax, [esp + 0x4c]
push eax
push 0x18
push esi
call dword [0x470088]
push dword [esp + 0x1c]
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push ebx
push dword [esp + 0x2c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
mov eax, dword [edi + 0xc]
sub eax, dword [esp + 0x74]
push eax
mov eax, dword [edi + 8]
sub eax, dword [esp + 0x74]
push eax
push dword [esp + 0x3c]
call dword [0x4702fc]
push esi
call dword [0x47008c]
mov ebx, dword [edi + 0x14]
push ecx
mov esi, esp
mov dword [esp + 0x3c], esp
call fcn.0040384e
push dword [esp + 0x28]
call fcn.004391d6
pop ecx
pop ecx
push dword [esp + 0x24]
mov edi, eax
call dword [0x47008c]
push dword [esp + 0x28]
mov esi, dword [0x470094]
push dword [esp + 0x18]
call esi
push dword [esp + 0x2c]
push dword [esp + 0x1c]
call esi
push dword [esp + 0x14]
mov esi, dword [0x47009c]
call esi
push dword [esp + 0x18]
call esi
push dword [esp + 0x30]
call esi
lea ecx, [esp + 0x20]
call fcn.00404281
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret