Function at 0x418260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462f80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.0043f6d0
xor ebx, ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x30], ebx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x34], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x475818
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x34], bl
call fcn.004483e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
cmp ax, bx
jge 0x4182ff
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475710
call fcn.0043f770
push ecx
mov byte [esp + 0x34], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475810
jmp 0x41832a
jne 0x418342
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x34], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475800
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x34], bl
call fcn.004483e0
jmp 0x4184ab
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x475808
call fcn.0043f770
mov ecx, dword [0x4824d4]
call fcn.0044a270
mov eax, dword [esi + 0x18]
lea ebp, [esi + 0x14]
cmp eax, ebx
je 0x418377
mov ecx, dword [ebp + 8]
sub ecx, eax
test ecx, 0xfffffff8
jne 0x41839b
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x34], 4
mov ecx, esp
mov dword [esp + 0x24], esp
jmp 0x418323
push 6
push 0x4757f8
lea ecx, [esp + 0x18]
call fcn.0043fb50
mov dl, byte [esi + 0x46]
lea ecx, [esp + 0x10]
push edx
push 3
call fcn.0043f9f0
xor edi, edi
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x4184a0
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jae 0x4184a0
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x10]
mov edx, dword [eax + edi*8]
shr edx, 8
push edx
push 4
call fcn.0043f9f0
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x10]
mov al, byte [eax + edi*8]
push eax
push 5
call fcn.0043f9f0
push edi
mov ecx, ebp
call fcn.00428890
mov dl, byte [eax + 5]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push 1
push ecx
mov ecx, esi
call fcn.0042a4e0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x3c], 5
call fcn.0043f6e0
mov ecx, dword [0x4824d4]
mov byte [esp + 0x38], bl
call fcn.0044a3f0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0043f6e0
mov ecx, esi
call fcn.0042a920
add word [esi + 0x24], ax
mov ax, word [esi + 0x24]
cmp ax, 0xa
jle 0x41849a
movsx eax, ax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsin
call fcn.00458eac
cdq
xor eax, edx
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 6
push ecx
call fcn.0043cc50
add esp, 4
inc edi
jmp 0x4183bc
mov ecx, dword [0x4824d4]
call fcn.0044a5e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0043f810
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret