Function at 0x415270
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65a568
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x8c]
mov eax, dword [ecx + 0x7f8]
cmp eax, 0x47
je 0x41565c
cmp eax, 0x48
je 0x41565c
mov eax, dword [edi + 0x5750]
test eax, eax
jle 0x4152d1
add eax, 0xffffffff
mov dword [edi + 0x5750], eax
jne 0x4152d1
mov eax, dword [ecx]
mov edx, dword [0x6b76f8]
mov eax, dword [eax + 0xd8]
push edx
call eax
mov eax, dword [edi + 0x5584]
cmp eax, 1
je 0x41565c
cmp eax, 2
je 0x41565c
cmp eax, 3
je 0x41565c
cmp eax, 0xd
je 0x41565c
mov eax, edi
call fcn.00414fb0
test al, al
jne 0x41565c
mov eax, dword [edi + 0x5574]
test eax, eax
jle 0x415324
add eax, 0xffffffff
mov dword [edi + 0x5574], eax
jne 0x415324
call fcn.00414250
mov eax, dword [edi + 0x55a4]
test eax, eax
je 0x41535a
lea edx, [eax - 1]
test edx, edx
mov dword [edi + 0x55a4], edx
jne 0x4153fe
lea eax, [edx + 0x29]
mov esi, edi
call fcn.0040dfb0
mov eax, edi
call fcn.00415170
mov dword [edi + 0x559c], 1
mov esi, dword [edi + 0x160]
call fcn.00428210
test al, al
jne 0x41565c
mov esi, dword [edi + 0x557c]
mov ebx, dword [edi + 0x5564]
cmp esi, ebx
jne 0x4153b5
call fcn.00414e90
test al, al
jne 0x41565c
mov ecx, dword [edi + 0x8c]
cmp dword [ecx + 0x7f8], 0x1f
je 0x41565c
mov eax, ecx
call fcn.00456670
test al, al
jne 0x4153b5
call fcn.004566e0
test al, al
je 0x41565c
add dword [edi + 0x559c], 0xffffffff
cmp esi, ebx
mov ecx, dword [edi + 0x559c]
jne 0x415493
mov eax, dword [edi + 0x8c]
call fcn.00456670
test al, al
je 0x415493
test ecx, ecx
jne 0x41565c
mov ecx, edi
call fcn.0040d8f0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
cmp edx, 0x2d5
jne 0x415421
mov ecx, dword [edi + 0x8c]
mov edx, dword [ecx]
mov eax, dword [0x6b75fc]
mov edx, dword [edx + 0xd8]
push eax
call edx
jmp 0x41535a
mov eax, dword [edi + 0x8c]
mov eax, dword [eax + 0x83c]
mov ecx, dword [eax + 8]
cmp ecx, 1
je 0x415470
cmp ecx, 3
je 0x415470
cmp ecx, 4
je 0x415470
cmp ecx, 5
je 0x415470
cmp ecx, 2
jne 0x41565c
cmp edx, 0x2bc
jne 0x41565c
call fcn.0045e890
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
cmp edx, 0x190
jne 0x41565c
call fcn.0045e890
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
mov eax, dword [edi + 0x55a0]
sub eax, ecx
cmp ecx, 5
jle 0x4154cd
cmp eax, 0x190
jle 0x4154cd
add esi, 0xffffffff
push esi
mov ebx, edi
call fcn.004143a0
cmp eax, dword [edi + 0x5594]
jg 0x4154cd
mov eax, 0xc8
cmp dword [edi + 0x559c], eax
jle 0x4154cd
mov dword [edi + 0x559c], eax
cmp dword [edi + 0x559c], 5
jne 0x415542
mov ecx, dword [edi + 0x557c]
push ecx
mov edx, edi
call fcn.0040a590
test al, al
je 0x41553b
mov esi, edi
call fcn.0040df50
push str._ADVICE_HUGE_WAVE_
lea ecx, [esp + 0x10]
call fcn.00404d70
mov ebx, 0x29
lea ecx, [ebx - 0x1a]
lea edx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.0040df10
lea ecx, [esp + 0xc]
call fcn.00404db0
mov dword [edi + 0x55a4], 0x2ee
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
mov eax, edi
call fcn.00415170
cmp dword [edi + 0x559c], 0
jne 0x41565c
call fcn.00414450
mov edx, dword [edi + 0x557c]
sub edx, 1
push edx
mov ebx, edi
call fcn.004143a0
mov ecx, dword [edi + 0x8c]
mov dword [edi + 0x5598], eax
call fcn.004567e0
test al, al
jne 0x415587
cmp dword [ecx + 0x7f8], 0x1f
je 0x415587
xor bl, bl
jmp 0x415589
mov bl, 1
mov edx, dword [edi + 0x557c]
cmp edx, dword [edi + 0x5564]
jne 0x4155bb
mov eax, ecx
call fcn.00456670
test al, al
je 0x4155bb
mov dword [edi + 0x5594], 0
mov dword [edi + 0x559c], 0x157c
jmp 0x415650
push edx
mov edx, edi
call fcn.0040a590
test al, al
je 0x4155e1
test bl, bl
jne 0x4155e1
mov dword [edi + 0x5594], 0
mov dword [edi + 0x559c], 0x1194
jmp 0x415650
fld dword [str.ff_ff__f]
sub esp, 8
fstp dword [esp + 4]
fld dword [0x688680]
fstp dword [esp]
call fcn.00515ee0
fimul dword [edi + 0x5598]
add esp, 8
call fcn.00643d70
mov ecx, dword [edi + 0x8c]
mov dword [edi + 0x5594], eax
call fcn.00456860
test al, al
jne 0x415646
mov eax, dword [ecx + 0x7f8]
cmp eax, 0x1b
je 0x415646
cmp eax, 0x1f
je 0x415646
mov eax, 0x258
call fcn.005b57b0
add eax, 0x9c4
mov dword [edi + 0x559c], eax
jmp 0x415650
mov dword [edi + 0x559c], 0x2ee
mov eax, dword [edi + 0x559c]
mov dword [edi + 0x55a0], eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret