Function at 0x5845c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
lea esp, [esp]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp case.default.0x584652
fstp st(0)
mov ecx, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [ecx]
mov al, byte [ebx + 0x36]
add ecx, 4
test al, 0xc
mov dword [esp + 0xc], ecx
je 0x584630
dec dword [ebx + 0x3c]
je 0x584617
test al, 4
je 0x584630
push ecx
mov esi, ebx
call fcn.00583a40
mov al, byte [ebx + 6]
add esp, 4
cmp al, 1
je 0x585618
mov esi, dword [ebx + 0xc]
mov eax, edi
shr eax, 6
and eax, 0xff
mov ecx, edi
mov dword [esp + 0x18], eax
shl eax, 4
and ecx, 0x3f
cmp ecx, 0x25
mov dword [esp + 0x20], eax
lea ebx, [eax + esi]
ja case.default.0x584652
jmp dword [ecx*4 + 0x58562c]
shr edi, 0x17
shl edi, 4
mov eax, dword [edi + esi + 8]
add edi, esi
test eax, eax
je 0x584683
cmp eax, 1
jne 0x584673
cmp dword [edi], 0
je 0x584683
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 8], 1
jmp case.default.0x584652
mov eax, 1
mov dword [ebx], eax
mov dword [ebx + 8], eax
jmp case.default.0x584652
mov eax, edi
shr eax, 0x17
test ah, 1
je 0x5846ac
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x5846b1
shl eax, 4
add eax, esi
shr edi, 0xe
test edi, 0x100
mov ecx, eax
je 0x5846cf
mov eax, dword [esp + 0x10]
and edi, 0xff
shl edi, 4
add edi, eax
jmp 0x5846da
and edi, 0x1ff
shl edi, 4
add edi, esi
mov edx, dword [ecx + 8]
mov eax, edi
mov edi, 3
cmp edx, edi
jne 0x584700
cmp dword [eax + 8], edi
jne 0x584700
fld qword [ecx]
fld qword [eax]
call sub.msvcr71.dll__CIpow
fstp qword [ebx]
mov dword [ebx + 8], edi
jmp case.default.0x584652
push 0xa
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x10]
mov dword [edx + 0x18], esi
push edx
mov esi, ecx
mov edi, ebx
call fcn.005843e0
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0xc]
add esp, 8
jmp case.default.0x584652
mov eax, edi
shr eax, 0x17
test ah, 1
je 0x58473e
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x584743
shl eax, 4
add eax, esi
shr edi, 0xe
test edi, 0x100
je 0x58475f
mov ecx, dword [esp + 0x10]
and edi, 0xff
shl edi, 4
add edi, ecx
jmp 0x58476a
and edi, 0x1ff
shl edi, 4
add edi, esi
mov ebx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], ebx
mov edx, dword [eax + 8]
cmp edx, dword [edi + 8]
jne 0x584792
push edi
push eax
push esi
call fcn.005840f0
add esp, 0xc
test eax, eax
je 0x584792
mov eax, 1
jmp 0x584794
xor eax, eax
cmp eax, dword [esp + 0x18]
jne 0x5847a6
mov eax, dword [ebx]
shr eax, 0xe
lea ebx, [ebx + eax*4 - 0x7fffc]
mov esi, dword [esi + 0xc]
add ebx, 4
mov dword [esp + 0xc], ebx
jmp case.default.0x584652
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
shr edi, 0x17
mov edi, dword [ecx + edi*4 + 0x14]
mov eax, dword [edi + 8]
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
cmp dword [ebx + 8], 4
jl case.default.0x584652
mov ebx, dword [ebx]
test byte [ebx + 5], 3
je case.default.0x584652
test byte [edi + 5], 4
je case.default.0x584652
mov eax, dword [ebp + 8]
push ebx
push edi
push eax
call fcn.005827b0
add esp, 0xc
jmp case.default.0x584652
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, edi
shr edi, 0xe
and edi, 0x1ff
push edi
shr ebx, 0x17
sub edi, ebx
inc edi
push edi
push esi
mov dword [esi + 0x18], ecx
call fcn.005841d0
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x40]
add esp, 0xc
cmp edx, ecx
jb 0x584842
push esi
call fcn.005826a0
add esp, 4
mov esi, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
shl ebx, 4
mov ecx, dword [ebx + esi]
add ebx, esi
mov dword [eax + esi], ecx
mov edx, dword [ebx + 4]
mov dword [eax + esi + 4], edx
mov ecx, dword [ebx + 8]
mov dword [eax + esi + 8], ecx
jmp case.default.0x584652
mov eax, dword [ebx + 8]
test eax, eax
je 0x58487c
cmp eax, 1
jne 0x584878
cmp dword [ebx], 0
je 0x58487c
xor eax, eax
jmp 0x584881
mov eax, 1
shr edi, 0xe
and edi, 0x1ff
cmp eax, edi
je 0x5848a2
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
shr edx, 0xe
lea eax, [eax + edx*4 - 0x7fffc]
mov dword [esp + 0xc], eax
add dword [esp + 0xc], 4
jmp case.default.0x584652
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 8]
cmp eax, 3
lea ecx, [ebx + 0x20]
mov dword [esp + 0x18], ecx
je 0x5848ee
cmp eax, 4
jne 0x584910
mov edx, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
add edx, 0x10
push edx
call fcn.00580560
add esp, 8
test eax, eax
je 0x584910
fld qword [esp + 0x30]
mov dword [ebx + 8], 3
fstp qword [ebx]
cmp dword [ebx + 0x18], 3
je 0x584917
lea eax, [ebx + 0x10]
push eax
push eax
call fcn.00583960
add esp, 8
test eax, eax
jne 0x584917
mov ecx, dword [ebp + 8]
push 0x619d78
push ecx
jmp 0x58493e
push 0x619d50
jmp 0x58493a
mov edx, dword [esp + 0x18]
cmp dword [edx + 8], 3
je 0x584946
mov eax, edx
push eax
push eax
call fcn.00583960
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
jne 0x584946
push 0x619d34
mov eax, dword [ebp + 8]
push eax
call fcn.005834f0
add esp, 8
fld qword [ebx]
mov ecx, dword [esp + 0x18]
fsub qword [ecx]
mov dword [ebx + 8], 3
fstp qword [ebx]
mov edx, dword [esp + 0xc]
shr edi, 0xe
lea eax, [edx + edi*4 - 0x7fffc]
mov dword [esp + 0xc], eax
jmp case.default.0x584652
mov eax, edi
shr eax, 0x17
test ah, 1
je 0x584988
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x58498d
shl eax, 4
add eax, esi
shr edi, 0xe
test edi, 0x100
mov ecx, eax
je 0x5849ab
mov eax, dword [esp + 0x10]
and edi, 0xff
shl edi, 4
add edi, eax
jmp 0x5849b6
and edi, 0x1ff
shl edi, 4
add edi, esi
mov eax, edi
mov edi, dword [ecx + 8]
mov edx, 3
cmp edi, edx
jne 0x5849d7
cmp dword [eax + 8], edx
jne 0x5849d7
fld qword [eax]
fmul qword [ecx]
mov dword [ebx + 8], edx
fstp qword [ebx]
jmp case.default.0x584652
push 7
jmp 0x584702
shr edi, 0x17
shl edi, 4
mov ecx, dword [edi + esi + 8]
add edi, esi
mov eax, 3
cmp ecx, eax
jne 0x584a01
fld qword [edi]
mov dword [ebx + 8], eax
fchs
fstp qword [ebx]
jmp case.default.0x584652
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
push 0xb
mov dword [eax + 0x18], ecx
push eax
mov eax, edi
mov esi, edi
mov edi, ebx
call fcn.005843e0
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0xc]
add esp, 8
jmp case.default.0x584652
mov eax, dword [esp + 0x10]
shr edi, 0xe
shl edi, 4
add edi, eax
mov eax, dword [edi]
mov dword [ebx], eax
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov edx, dword [edi + 8]
mov dword [ebx + 8], edx
jmp case.default.0x584652
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov eax, edi
shr eax, 0xe
test ah, 1
je 0x584a6c
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x584a76
and eax, 0x1ff
shl eax, 4
add eax, esi
mov edx, dword [ebp + 8]
shr edi, 0x17
push ebx
push eax
shl edi, 4
add edi, esi
push edi
push edx
call fcn.00583c20
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
add esp, 0x10
jmp case.default.0x584652
mov ecx, dword [esp + 0x14]
shr edi, 0x17
mov edx, dword [ecx + edi*4 + 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
jmp case.default.0x584652
mov ecx, edi
shr ecx, 0xe
and ecx, 0x1ff
push ecx
call fcn.005804c0
add esp, 4
push eax
shr edi, 0x17
push edi
call fcn.005804c0
mov esi, dword [ebp + 8]
add esp, 4
push eax
push esi
call fcn.00585c10
mov edx, dword [esp + 0x18]
mov dword [ebx], eax
mov dword [ebx + 8], 5
add esp, 0xc
mov dword [esi + 0x18], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x584b0d
push esi
call fcn.005826a0
add esp, 4
mov esi, dword [esi + 0xc]
jmp case.default.0x584652
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
shr edi, 0xe
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
push ebx
shl edi, 4
add edi, eax
push edi
lea edx, [esp + 0x40]
push edx
push esi
mov dword [esp + 0x50], 5
mov dword [esi + 0x18], ecx
call fcn.00583c20
mov esi, dword [esi + 0xc]
add esp, 0x10
jmp case.default.0x584652
fld qword [ebx + 0x20]
fst qword [esp + 0x28]
fadd qword [ebx]
fld qword [ebx + 0x10]
fld qword [0x5ec6b8]
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 5
jp 0x584b85
fld st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jnp 0x584b92
jmp 0x5845f5
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x5845f5
mov eax, dword [esp + 0xc]
fst qword [ebx]
shr edi, 0xe
lea ecx, [eax + edi*4 - 0x7fffc]
mov eax, 3
mov dword [ebx + 8], eax
fstp qword [ebx + 0x30]
mov dword [esp + 0xc], ecx
mov dword [ebx + 0x38], eax
jmp case.default.0x584652
mov esi, dword [ebp + 8]
shr edi, 0x17
test edi, edi
je 0x584bcb
shl edi, 4
add edi, ebx
mov dword [esi + 8], edi
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push ebx
push esi
mov dword [esi + 0x18], edx
call fcn.005813b0
add esp, 0xc
sub eax, 0
je 0x58551d
dec eax
jne 0x585622
mov esi, dword [esi + 0xc]
jmp case.default.0x584652
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
shr edi, 0xe
mov edi, dword [edx + edi*4]
mov dword [esp + 0x1c], edi
movzx edi, byte [edi + 0x48]
push eax
push edi
push ecx
call fcn.00586790
mov edx, dword [esp + 0x28]
add esp, 0xc
test edi, edi
mov dword [esp + 0x20], eax
mov dword [eax + 0x10], edx
jle 0x584c8e
add eax, 0x14
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x18], eax
lea ecx, [ecx]
mov eax, dword [edi]
mov ecx, eax
and cl, 0x3f
shr eax, 0x17
cmp cl, 1
jne 0x584c59
mov edx, dword [esp + 0x14]
mov eax, dword [edx + eax*4 + 0x14]
jmp 0x584c6b
mov edx, dword [ebp + 8]
shl eax, 4
add eax, esi
push eax
push edx
call fcn.00586830
add esp, 8
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov edx, ecx
add edx, 4
add edi, 4
dec eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jne 0x584c40
mov dword [esp + 0xc], edi
jmp 0x584c92
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov esi, dword [ebp + 8]
mov dword [ebx], edx
mov dword [ebx + 8], 6
mov dword [esi + 0x18], edi
jmp 0x584af9
mov eax, edi
shr eax, 0x17
shl eax, 4
mov ecx, dword [eax + esi + 8]
add eax, esi
test ecx, ecx
je 0x584cca
cmp ecx, 1
jne 0x584cc6
cmp dword [eax], 0
je 0x584cca
xor ecx, ecx
jmp 0x584ccf
mov ecx, 1
shr edi, 0xe
and edi, 0x1ff
cmp ecx, edi
je 0x584d00
mov edx, dword [eax]
mov dword [ebx], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0xc]
mov dword [ebx + 8], edx
mov ecx, dword [eax]
shr ecx, 0xe
lea edx, [eax + ecx*4 - 0x7fffc]
mov dword [esp + 0xc], edx
add dword [esp + 0xc], 4
jmp case.default.0x584652
mov eax, edi
shr eax, 0x17
test ah, 1
je 0x584d24
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x584d29
shl eax, 4
add eax, esi
shr edi, 0xe
test edi, 0x100
mov ecx, eax
je 0x584d47
mov eax, dword [esp + 0x10]
and edi, 0xff
shl edi, 4
add edi, eax
jmp 0x584d52
and edi, 0x1ff
shl edi, 4
add edi, esi
mov eax, edi
mov edi, dword [ecx + 8]
mov edx, 3
cmp edi, edx
jne 0x584d73
cmp dword [eax + 8], edx
jne 0x584d73
fld qword [eax]
fadd qword [ecx]
mov dword [ebx + 8], edx
fstp qword [ebx]
jmp case.default.0x584652
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0xc]
mov dword [edx + 0x18], esi
push 5
push edx
mov esi, ecx
mov edi, ebx
call fcn.005843e0
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
add esp, 8
jmp case.default.0x584652
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
shr edi, 0x17
dec edi
mov dword [esp + 0x18], edi
mov edi, dword [edx]
sub edi, dword [edx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
movzx edx, byte [edx + 0x49]
sar edi, 4
sub edi, edx
mov edx, dword [esp + 0x18]
dec edi
cmp edx, 0xffffffff
jne 0x584e0a
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + 0x1c]
mov ebx, dword [ecx + 8]
mov dword [ecx + 0x18], edx
mov edx, edi
shl edx, 4
sub esi, ebx
cmp esi, edx
mov dword [esp + 0x1c], edx
jg 0x584dfb
mov eax, ecx
push edi
push eax
call fcn.00580d10
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
add esp, 8
mov esi, dword [ecx + 0xc]
lea ebx, [eax + esi]
add edx, ebx
mov dword [esp + 0x18], edi
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x20], eax
jle case.default.0x584652
mov ecx, edi
neg ecx
shl ecx, 4
add ebx, 8
cmp eax, edi
jge 0x584e49
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov edx, dword [eax + ecx]
add eax, ecx
mov dword [ebx - 8], edx
mov edx, dword [eax + 4]
mov dword [ebx - 4], edx
mov eax, dword [eax + 8]
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
jmp 0x584e4f
mov dword [ebx], 0
mov edx, dword [esp + 0x18]
inc eax
add ecx, 0x10
add ebx, 0x10
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x584e26
jmp case.default.0x584652
mov ecx, dword [ebp + 8]
push ebx
push ecx
call fcn.00586900
add esp, 8
jmp case.default.0x584652
mov eax, edi
shr edi, 0xe
shr eax, 0x17
and edi, 0x1ff
test eax, eax
mov dword [esp + 0x20], eax
jne 0x584ea8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x14]
mov edx, dword [edx + 8]
sub eax, ebx
sar eax, 4
dec eax
mov dword [esp + 0x20], eax
mov dword [ecx + 8], edx
test edi, edi
jne 0x584eb9
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0xc], ecx
cmp dword [ebx + 8], 5
jne case.default.0x584652
mov edx, dword [ebx]
imul edi, edi, 0x32
lea ecx, [edi + eax - 0x32]
cmp ecx, dword [edx + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jle 0x584eef
mov eax, ecx
push eax
mov ecx, edx
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00586200
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jle case.default.0x584652
mov edi, eax
shl edi, 4
add edi, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
call fcn.00585eb0
mov edx, dword [edi]
mov dword [eax], edx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov edx, dword [edi + 8]
add esp, 0xc
mov dword [eax + 8], edx
mov eax, dword [edi + 8]
dec ebx
cmp eax, 4
jl 0x584f52
mov eax, dword [edi]
test byte [eax + 5], 3
je 0x584f52
mov ecx, dword [esp + 0x18]
test byte [ecx + 5], 4
je 0x584f52
mov eax, dword [ebp + 8]
mov edx, ecx
push edx
push eax
call fcn.005827f0
add esp, 8
mov eax, dword [esp + 0x20]
sub edi, 0x10
dec eax
mov dword [esp + 0x20], eax
jne 0x584f06
jmp case.default.0x584652
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x50], ecx
mov edx, dword [ebx + 0x24]
lea eax, [ebx + 0x30]
mov dword [eax + 0x24], edx
mov ecx, dword [ebx + 0x28]
mov dword [eax + 0x28], ecx
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 8]
mov ebx, dword [ebp + 8]
shr edi, 0xe
and edi, 0x1ff
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
push edi
push eax
lea edx, [eax + 0x30]
push ebx
mov dword [ebx + 8], edx
mov dword [ebx + 0x18], ecx
call fcn.00581590
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x24]
add eax, 3
shl eax, 4
mov ecx, dword [eax + esi + 8]
add eax, esi
add esp, 0xc
test ecx, ecx
je 0x5848a2
mov ecx, dword [eax]
mov dword [eax - 0x10], ecx
mov edx, dword [eax + 4]
mov dword [eax - 0xc], edx
mov ecx, dword [eax + 8]
mov dword [eax - 8], ecx
jmp 0x58488e
shr edi, 0x17
shl edi, 4
mov eax, dword [edi + esi + 8]
add edi, esi
sub eax, 4
je 0x585099
dec eax
je 0x585078
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
push 0xc
push edi
push esi
mov dword [esi + 0x18], ecx
call fcn.00583900
mov ecx, dword [eax + 8]
add esp, 0xc
test ecx, ecx
jne 0x585046
push 0xc
push 0x6198c8
push esi
call fcn.00583900
mov ecx, dword [eax + 8]
add esp, 0xc
test ecx, ecx
je 0x585061
push eax
push esi
mov ecx, 0x6198c8
mov edx, edi
mov eax, ebx
call fcn.00583ad0
mov esi, dword [esi + 0xc]
add esp, 8
jmp case.default.0x584652
push 0x619d24
push edi
push esi
call fcn.00583720
mov esi, dword [esi + 0xc]
add esp, 0xc
jmp case.default.0x584652
mov edx, dword [edi]
push edx
call fcn.00585fb0
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
add esp, 4
mov dword [ebx + 8], 3
fstp qword [ebx]
jmp case.default.0x584652
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
fild dword [eax + 0xc]
test ecx, ecx
jge 0x5850ab
fadd qword [0x5edae0]
fstp qword [ebx]
mov dword [ebx + 8], 3
jmp case.default.0x584652
mov eax, edi
shr eax, 0x17
test ah, 1
je 0x5850d3
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x5850d8
shl eax, 4
add eax, esi
shr edi, 0xe
test edi, 0x100
mov ecx, eax
je 0x5850f6
mov eax, dword [esp + 0x10]
and edi, 0xff
shl edi, 4
add edi, eax
jmp 0x585101
and edi, 0x1ff
shl edi, 4
add edi, esi
mov eax, edi
mov edi, dword [ecx + 8]
mov edx, 3
cmp edi, edx
jne 0x585122
cmp dword [eax + 8], edx
jne 0x585122
fld qword [ecx]
fdiv qword [eax]
mov dword [ebx + 8], edx
fstp qword [ebx]
jmp case.default.0x584652
mov esi, dword [esp + 0xc]
mov edx, dword [ebp + 8]
push 8
mov dword [edx + 0x18], esi
push edx
mov esi, ecx
jmp 0x584a12
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov eax, edi
shr eax, 0xe
test ah, 1
je 0x58515a
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x585164
and eax, 0x1ff
shl eax, 4
add eax, esi
shr edi, 0x17
test edi, 0x100
je 0x585195
mov ecx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
and edi, 0xff
push eax
shl edi, 4
add edi, ecx
push edi
push ebx
push esi
call fcn.00583d10
mov esi, dword [esi + 0xc]
add esp, 0x10
jmp case.default.0x584652
push eax
shl edi, 4
add edi, esi
mov esi, dword [ebp + 8]
push edi
push ebx
push esi
call fcn.00583d10
mov esi, dword [esi + 0xc]
add esp, 0x10
jmp case.default.0x584652
mov eax, edi
shr eax, 0x17
test ah, 1
je 0x5851cb
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x5851d0
shl eax, 4
add eax, esi
shr edi, 0xe
test edi, 0x100
mov ecx, eax
je 0x5851ee
mov eax, dword [esp + 0x10]
and edi, 0xff
shl edi, 4
add edi, eax
jmp 0x5851f9
and edi, 0x1ff
shl edi, 4
add edi, esi
mov edx, dword [ecx + 8]
mov eax, edi
mov edi, 3
cmp edx, edi
jne 0x585241
cmp dword [eax + 8], edi
jne 0x585241
fld qword [ecx]
sub esp, 8
fstp qword [esp + 0x28]
fld qword [eax]
fstp qword [esp + 0x30]
fld qword [esp + 0x28]
fdiv qword [esp + 0x30]
fstp qword [esp]
call dword [sym.imp.msvcr71.dll_floor]
fmul qword [esp + 0x30]
add esp, 8
mov dword [ebx + 8], edi
fsubr qword [esp + 0x20]
fstp qword [ebx]
jmp case.default.0x584652
mov esi, dword [esp + 0xc]
mov edx, dword [ebp + 8]
push 9
mov dword [edx + 0x18], esi
push edx
mov esi, ecx
jmp 0x584a12
mov eax, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov eax, edi
shr eax, 0xe
test ah, 1
je 0x585279
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x585283
and eax, 0x1ff
shl eax, 4
add eax, esi
shr edi, 0x17
test edi, 0x100
je 0x5852ad
mov ecx, dword [esp + 0x10]
and edi, 0xff
shl edi, 4
push eax
add edi, ecx
push edi
push ebx
call fcn.00583fc0
add esp, 0xc
jmp 0x5854f0
shl edi, 4
push eax
add edi, esi
push edi
push ebx
call fcn.00583fc0
add esp, 0xc
jmp 0x5854f0
mov eax, edi
shr eax, 0x17
shl eax, 4
mov ecx, dword [eax + esi]
add eax, esi
mov dword [ebx + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x14], edx
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xc]
mov dword [ebx + 0x18], ecx
mov ecx, dword [ebp + 8]
shr edi, 0xe
test edi, 0x100
mov dword [ecx + 0x18], edx
je 0x585319
mov ecx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
and edi, 0xff
shl edi, 4
push ebx
add edi, ecx
push edi
push eax
push esi
call fcn.00583c20
mov esi, dword [esi + 0xc]
add esp, 0x10
jmp case.default.0x584652
and edi, 0x1ff
shl edi, 4
push ebx
add edi, esi
mov esi, dword [ebp + 8]
push edi
push eax
push esi
call fcn.00583c20
mov esi, dword [esi + 0xc]
add esp, 0x10
jmp case.default.0x584652
mov esi, dword [ebp + 8]
mov eax, edi
shr edi, 0xe
and edi, 0x1ff
shr eax, 0x17
dec edi
test eax, eax
je 0x585359
shl eax, 4
add eax, ebx
mov dword [esi + 8], eax
mov edx, dword [esp + 0xc]
push edi
push ebx
push esi
mov dword [esi + 0x18], edx
call fcn.005813b0
add esp, 0xc
sub eax, 0
je 0x585610
dec eax
jne 0x585622
test edi, edi
jl 0x584b0d
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov esi, dword [esi + 0xc]
jmp case.default.0x584652
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
shr edi, 0xe
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
push ebx
shl edi, 4
add edi, eax
push edi
lea edx, [esp + 0x50]
push edx
push esi
mov dword [esp + 0x60], 5
mov dword [esi + 0x18], ecx
call fcn.00583d10
mov esi, dword [esi + 0xc]
add esp, 0x10
jmp case.default.0x584652
shr edi, 0x17
shl edi, 4
add edi, esi
jmp 0x584a33
shr edi, 0x17
shl edi, 4
add edi, esi
xor eax, eax
lea esp, [esp]
mov dword [edi + 8], eax
sub edi, 0x10
cmp edi, ebx
jae 0x5853f0
jmp case.default.0x584652
mov eax, edi
shr eax, 0x17
test edi, 0x7fc000
mov dword [ebx], eax
mov dword [ebx + 8], 1
je case.default.0x584652
add dword [esp + 0xc], 4
jmp case.default.0x584652
mov eax, edi
shr eax, 0x17
test ah, 1
je 0x58543d
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x585442
shl eax, 4
add eax, esi
shr edi, 0xe
test edi, 0x100
mov ecx, eax
je 0x585460
mov eax, dword [esp + 0x10]
and edi, 0xff
shl edi, 4
add edi, eax
jmp 0x58546b
and edi, 0x1ff
shl edi, 4
add edi, esi
mov eax, edi
mov edi, dword [ecx + 8]
mov edx, 3
cmp edi, edx
jne 0x58548c
cmp dword [eax + 8], edx
jne 0x58548c
fld qword [ecx]
fsub qword [eax]
mov dword [ebx + 8], edx
fstp qword [ebx]
jmp case.default.0x584652
push 6
jmp 0x584702
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov dword [eax + 0x18], edx
mov eax, edi
shr eax, 0xe
test ah, 1
je 0x5854b7
mov ecx, dword [esp + 0x10]
and eax, 0xff
shl eax, 4
add eax, ecx
jmp 0x5854c1
and eax, 0x1ff
shl eax, 4
add eax, esi
shr edi, 0x17
test edi, 0x100
je 0x5854dd
mov ecx, dword [esp + 0x10]
and edi, 0xff
shl edi, 4
add edi, ecx
jmp 0x5854e2
shl edi, 4
add edi, esi
mov ebx, dword [ebp + 8]
push ebx
mov esi, eax
call fcn.00584050
add esp, 4
cmp eax, dword [esp + 0x18]
jne 0x58550a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
shr ecx, 0xe
lea edx, [eax + ecx*4 - 0x7fffc]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov esi, dword [ebx + 0xc]
add eax, 4
mov dword [esp + 0xc], eax
jmp case.default.0x584652
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [edi + 4]
mov ebx, dword [edi - 0x14]
sub edi, 0x18
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x585544
mov eax, dword [edi]
push eax
push esi
call fcn.00586900
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 4]
sub edx, ecx
sar edx, 4
shl edx, 4
add eax, edx
mov dword [edi], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
xor edx, edx
cmp ecx, eax
mov dword [esp + 0x20], edx
jae 0x585594
xor eax, eax
mov edx, dword [ecx]
mov dword [eax + ebx], edx
mov edx, dword [ecx + 4]
mov dword [eax + ebx + 4], edx
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x20]
mov dword [eax + ebx + 8], ecx
mov ecx, dword [esp + 0x1c]
inc edx
mov eax, edx
shl eax, 4
add ecx, eax
cmp ecx, dword [esi + 8]
mov dword [esp + 0x20], edx
jb 0x585568
shl edx, 4
lea eax, [edx + ebx]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x14]
mov dword [edi + 8], eax
mov edx, dword [esi + 0x18]
inc ecx
mov dword [edi + 0xc], edx
mov dword [edi + 0x14], ecx
add dword [esi + 0x14], 0xffffffe8
jmp 0x5845d0
shr edi, 0x17
test edi, edi
je 0x5855cc
shl edi, 4
lea eax, [edi + ebx - 0x10]
mov edi, dword [ebp + 8]
mov dword [edi + 8], eax
jmp 0x5855cf
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x68]
test eax, eax
je 0x5855e0
push esi
push edi
call fcn.00586900
add esp, 8
mov ecx, dword [esp + 0xc]
push ebx
push edi
mov dword [edi + 0x18], ecx
call fcn.00581090
mov ecx, dword [ebp + 0xc]
add esp, 8
dec ecx
mov dword [ebp + 0xc], ecx
je 0x585622
test eax, eax
je 0x5845d0
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
jmp 0x5845d0
inc dword [ebp + 0xc]
jmp 0x5845d0
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffffc
mov dword [ebx + 0x18], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret