Function at 0x475680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x922a6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8ec
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00911f0c
lea ecx, [esp + 0x30]
mov dword [esp + 0x900], 0
call fcn.00911f0c
lea ecx, [esp + 0x28]
mov byte [esp + 0x900], 1
call fcn.00911f0c
lea ecx, [esp + 0x34]
mov byte [esp + 0x900], 2
call fcn.00911f0c
lea ecx, [esp + 0x10]
mov byte [esp + 0x900], 3
call fcn.00911f0c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x900], 4
call fcn.00911f0c
lea ecx, [esp + 0x20]
mov byte [esp + 0x900], 5
call fcn.00911f0c
lea ecx, [esp + 0x24]
mov byte [esp + 0x900], 6
call fcn.00911f0c
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x904], 7
call fcn.00735050
push 2
push 0xa
push 0x25
lea eax, [esp + 0x1c]
push 0xa771b0
push eax
mov byte [esp + 0x914], 8
mov dword [0xa8e738], 2
call fcn.00911f42
push 3
push 0xa
push 0x25
lea ecx, [esp + 0x40]
push 0xa771b0
push ecx
call fcn.00911f42
push 2
push 0xa
push 0x25
lea edx, [esp + 0x44]
push 0xa771b0
push edx
call fcn.00911f42
mov al, byte [esi + 0x518]
mov edi, dword [ebp + 8]
add esp, 0x3c
test al, al
je 0x475811
push 0xa78498
lea ecx, [esp + 0x10]
call fcn.00911f06
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [eax - 8]
mov eax, dword [esi + 0x738]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x9c8]
sub eax, ebx
mov dword [esp + 0x14], edx
imul eax, ecx
cdq
sub eax, edx
push ebx
sar eax, 1
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0x97c]
sar ecx, 1
mov edx, dword [esi + eax*4 + 0x484]
mov eax, dword [esi + 0x9c8]
imul eax, dword [esi + 0x738]
add ecx, edx
cdq
sub eax, edx
mov edx, dword [edi]
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
sub ecx, 3
push eax
push ecx
mov ecx, edi
call dword [edx + 0x64]
mov al, byte [esi + 0x51c]
mov ebx, dword [ebp + 0x1c]
test al, al
je 0x4758db
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push ecx
push edx
mov ecx, esi
call fcn.008f5ce0
fld dword [esi + 0x9e4]
fcompp
fnstsw ax
test ah, 0x41
je 0x4758db
mov eax, dword [0xa8e738]
mov ecx, dword [esi + 0x748]
push eax
push ecx
push 0x25
lea edx, [esp + 0x1c]
push 0xa771b0
push edx
call fcn.00911f42
mov eax, dword [esp + 0x24]
mov ecx, dword [0xa8e738]
mov edx, dword [ebx + 4]
add esp, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004126e0
mov ecx, dword [esp + 0x14]
sub esp, 8
lea edx, [esp + 0x14]
fstp qword [esp]
push ecx
push edx
call fcn.00911f42
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov ecx, dword [eax]
mov eax, dword [esi + 0x9c8]
imul eax, dword [esi + 0x748]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
cdq
mov ecx, dword [ecx - 8]
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0x5b8]
push ecx
mov ecx, dword [esp + 0x10]
sar edx, 1
sub eax, edx
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x1c]
sub eax, 3
push ecx
push eax
mov ecx, edi
call dword [edx + 0x64]
mov al, byte [esi + 0x51d]
test al, al
je 0x4759a5
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
push edx
push eax
mov ecx, esi
call fcn.008f5ce0
fld dword [esi + 0x9e4]
fcompp
fnstsw ax
test ah, 0x41
je 0x4759a5
mov ecx, dword [0xa8e738]
mov edx, dword [esi + 0x74c]
push ecx
push edx
push 0x25
lea eax, [esp + 0x1c]
push 0xa771b0
push eax
call fcn.00911f42
mov ecx, dword [esp + 0x24]
mov edx, dword [0xa8e738]
mov eax, dword [ebx + 0xc]
add esp, 0x14
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 8]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004126e0
mov edx, dword [esp + 0x14]
sub esp, 8
lea eax, [esp + 0x14]
fstp qword [esp]
push edx
push eax
call fcn.00911f42
mov eax, dword [esi + 0x9c8]
mov ecx, dword [ebp + 0xc]
imul eax, dword [esi + 0x74c]
mov edx, dword [ecx]
add esp, 0x10
mov dword [esp + 0x14], edx
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esi + 0x5bc]
sar ecx, 1
sub eax, ecx
mov ecx, dword [edx - 8]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x10]
sub eax, 3
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x64]
mov al, byte [esi + 0x51e]
test al, al
je 0x475a6f
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
push edx
push eax
mov ecx, esi
call fcn.008f5ce0
fld dword [esi + 0x9e4]
fcompp
fnstsw ax
test ah, 0x41
je 0x475a6f
mov ecx, dword [0xa8e738]
mov edx, dword [esi + 0x750]
push ecx
push edx
push 0x25
lea eax, [esp + 0x1c]
push 0xa771b0
push eax
call fcn.00911f42
mov ecx, dword [esp + 0x24]
mov edx, dword [0xa8e738]
mov eax, dword [ebx + 0x14]
add esp, 0x14
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004126e0
mov edx, dword [esp + 0x14]
sub esp, 8
lea eax, [esp + 0x14]
fstp qword [esp]
push edx
push eax
call fcn.00911f42
mov eax, dword [esi + 0x9c8]
mov ecx, dword [ebp + 0xc]
imul eax, dword [esi + 0x750]
mov edx, dword [ecx]
add esp, 0x10
mov dword [esp + 0x14], edx
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esi + 0x5c0]
sar ecx, 1
sub eax, ecx
mov ecx, dword [edx - 8]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x10]
sub eax, 3
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x64]
mov al, byte [esi + 0x51f]
test al, al
je 0x475b39
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
push edx
push eax
mov ecx, esi
call fcn.008f5ce0
fld dword [esi + 0x9e4]
fcompp
fnstsw ax
test ah, 0x41
je 0x475b39
mov ecx, dword [0xa8e738]
mov edx, dword [esi + 0x754]
push ecx
push edx
push 0x25
lea eax, [esp + 0x1c]
push 0xa771b0
push eax
call fcn.00911f42
mov ecx, dword [esp + 0x24]
mov edx, dword [0xa8e738]
mov eax, dword [ebx + 0x1c]
add esp, 0x14
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x18]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004126e0
mov edx, dword [esp + 0x14]
sub esp, 8
lea eax, [esp + 0x14]
fstp qword [esp]
push edx
push eax
call fcn.00911f42
mov eax, dword [esi + 0x9c8]
mov ecx, dword [ebp + 0xc]
imul eax, dword [esi + 0x754]
mov edx, dword [ecx]
add esp, 0x10
mov dword [esp + 0x14], edx
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esi + 0x5c4]
sar ecx, 1
sub eax, ecx
mov ecx, dword [edx - 8]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x10]
sub eax, 3
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x64]
mov al, byte [esi + 0x520]
test al, al
je 0x475c03
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
push edx
push eax
mov ecx, esi
call fcn.008f5ce0
fld dword [esi + 0x9e4]
fcompp
fnstsw ax
test ah, 0x41
je 0x475c03
mov ecx, dword [0xa8e738]
mov edx, dword [esi + 0x758]
push ecx
push edx
push 0x25
lea eax, [esp + 0x1c]
push 0xa771b0
push eax
call fcn.00911f42
mov ecx, dword [esp + 0x24]
mov edx, dword [0xa8e738]
mov eax, dword [ebx + 0x24]
add esp, 0x14
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x20]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004126e0
mov edx, dword [esp + 0x14]
sub esp, 8
lea eax, [esp + 0x14]
fstp qword [esp]
push edx
push eax
call fcn.00911f42
mov eax, dword [esi + 0x9c8]
mov ecx, dword [ebp + 0xc]
imul eax, dword [esi + 0x758]
mov edx, dword [ecx]
add esp, 0x10
mov dword [esp + 0x14], edx
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esi + 0x5c8]
sar ecx, 1
sub eax, ecx
mov ecx, dword [edx - 8]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x10]
sub eax, 3
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x64]
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x521]
test al, al
mov dword [esp + 0x14], edx
je 0x475cc3
mov ecx, dword [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.008f5ce0
fld dword [esi + 0x9e4]
fcompp
fnstsw ax
test ah, 0x41
je 0x475cc3
mov eax, dword [0xa8e738]
mov ecx, dword [esi + 0x75c]
push eax
push ecx
push 0x25
lea edx, [esp + 0x1c]
push 0xa771b0
push edx
call fcn.00911f42
mov eax, dword [0xa8e738]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add esp, 0x14
push eax
push ecx
push edx
mov ecx, esi
call fcn.004126e0
sub esp, 8
lea eax, [esp + 0x14]
fstp qword [esp]
push ebx
push eax
call fcn.00911f42
mov eax, dword [esi + 0x9c8]
mov ecx, dword [ebp + 0xc]
imul eax, dword [esi + 0x75c]
mov esi, dword [esi + 0x5cc]
mov ecx, dword [ecx]
cdq
sub eax, edx
mov ebx, dword [edi]
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x1c]
add esp, 0x10
sub esi, 3
mov edx, dword [eax - 8]
push edx
push eax
push ecx
push esi
mov ecx, edi
call dword [ebx + 0x64]
push fcn.00911ee2
push 0x12d
lea edx, [esp + 0xa4]
push 4
push edx
mov byte [esp + 0x910], 9
call fcn.009128f2
lea ecx, [esp + 0x38]
mov byte [esp + 0x900], 7
call fcn.00911f36
lea ecx, [esp + 0x24]
mov byte [esp + 0x900], 6
call fcn.00911ee2
lea ecx, [esp + 0x20]
mov byte [esp + 0x900], 5
call fcn.00911ee2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x900], 4
call fcn.00911ee2
lea ecx, [esp + 0x10]
mov byte [esp + 0x900], 3
call fcn.00911ee2
lea ecx, [esp + 0x34]
mov byte [esp + 0x900], 2
call fcn.00911ee2
lea ecx, [esp + 0x28]
mov byte [esp + 0x900], 1
call fcn.00911ee2
lea ecx, [esp + 0x30]
mov byte [esp + 0x900], 0
call fcn.00911ee2
lea ecx, [esp + 0xc]
mov dword [esp + 0x900], 0xffffffff
call fcn.00911ee2
mov ecx, dword [esp + 0x8f8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18